2024.03.27 21:28:04.207529 [ 628 ] {} Context: Server was built in debug mode. It will work slowly. 2024.03.27 21:28:04.207799 [ 628 ] {} Context: Server logging level is set to 'test' and performance is degraded. This cannot be used in production. 2024.03.27 21:28:04.209698 [ 628 ] {} Context: The setting 'allow_remote_fs_zero_copy_replication' is enabled for MergeTree tables. But the feature of 'zero-copy replication' is under development and is not ready for production. The usage of this feature can lead to data corruption and loss. The setting should be disabled in production. 2024.03.27 21:28:06.470549 [ 628 ] {} KeeperLogStore: No logs exists in /var/lib/clickhouse/coordination/logs. It's Ok if it's the first run of clickhouse-keeper. 2024.03.27 21:28:06.471187 [ 628 ] {} KeeperLogStore: Removing all changelogs 2024.03.27 21:28:06.472477 [ 628 ] {} KeeperServer: Got 1000000000000000 value for setting 'reserved_log_items' which is bigger than int32_t max value, lowering value to 2147483647. 2024.03.27 21:28:06.472569 [ 628 ] {} KeeperServer: Can't start NON-SECURE keeper server in FIPS mode, please check the config. 2024.03.27 21:28:06.475949 [ 628 ] {} KeeperStateManager: No state was read 2024.03.27 21:28:06.476031 [ 628 ] {} RaftInstance: invalid election timeout lower bound detected, adjusted to 0 2024.03.27 21:28:06.476134 [ 628 ] {} RaftInstance: invalid election timeout upper bound detected, adjusted to 0 2024.03.27 21:28:06.527198 [ 843 ] {} RaftInstance: Election timeout, initiate leader election 2024.03.27 21:28:06.602912 [ 628 ] {} Access(local directory): File /var/lib/clickhouse/access/users.list doesn't exist 2024.03.27 21:28:06.603054 [ 628 ] {} Access(local directory): Recovering lists in directory /var/lib/clickhouse/access/ 2024.03.27 21:28:06.780308 [ 628 ] {} Context: Table system.session_log is enabled. It's unreliable and may contain garbage. Do not use it for any kind of security monitoring. 2024.03.27 21:28:11.768080 [ 1013 ] {8c182337-6be0-4a3c-8a40-c3b6ed37cef0} DynamicQueryHandler: Code: 271. DB::Exception: Cannot decompress Gorilla-encoded data. File has wrong header. (CANNOT_DECOMPRESS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [62]) @ 0x1a13985e in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecGorilla.cpp:429: DB::CompressionCodecGorilla::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x2989bed2 in /usr/bin/clickhouse 7. /build/src/Compression/ICompressionCodec.cpp:112: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x298a869a in /usr/bin/clickhouse 8. /build/src/Compression/CompressedReadBufferBase.cpp:299: DB::CompressedReadBufferBase::decompress(DB::BufferBase::Buffer&, unsigned long, unsigned long) @ 0x2985bda7 in /usr/bin/clickhouse 9. /build/src/Compression/CompressedReadBuffer.cpp:26: DB::CompressedReadBuffer::nextImpl() @ 0x2985a1ba in /usr/bin/clickhouse 10. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 11. /build/src/IO/ReadBuffer.cpp:25: DB::(anonymous namespace)::ReadBufferWrapper::nextImpl() @ 0x294ca52f in /usr/bin/clickhouse 12. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 13. /build/src/IO/ReadBuffer.h:100: DB::ConcatReadBuffer::nextImpl() @ 0x29e38d86 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:86: DB::ReadBuffer::nextIfAtEnd() @ 0x2220c378 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1201: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b355e9f in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 19. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:28:12.242917 [ 1011 ] {c9a5bb27-e663-4c5f-808c-9fb2fbf55de3} executeQuery: Code: 36. DB::Exception: DELETE query is not supported for table test_ch00u7su.t_projections_lwd. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38000) (comment: 02792_drop_projection_lwd.sql) (in query: -- LWD does not work, as expected DELETE FROM t_projections_lwd WHERE a = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:108: DB::InterpreterDeleteQuery::execute() @ 0x2ad56fce in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 16. ? @ 0x7f2098f50609 in ? 17. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:12.243831 [ 1011 ] {c9a5bb27-e663-4c5f-808c-9fb2fbf55de3} TCPHandler: Code: 36. DB::Exception: DELETE query is not supported for table test_ch00u7su.t_projections_lwd. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:108: DB::InterpreterDeleteQuery::execute() @ 0x2ad56fce in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 16. ? @ 0x7f2098f50609 in ? 17. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:14.840129 [ 1016 ] {fb553708-4dbe-4e84-b9ce-3c6beab1edbf} executeQuery: Code: 131. DB::Exception: Too long name of aggregate function, maximum: 1000: While processing minOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNull(1). (TOO_LARGE_STRING_SIZE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38078) (comment: 02688_long_aggregate_function_names.sql) (in query: SELECT minOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNull(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x19e233d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:269: DB::AggregateFunctionFactory::isAggregateFunctionName(String) const @ 0x290b4409 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:198: DB::(anonymous namespace)::CustomizeAggregateFunctionsMoveSuffixData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b23ecc4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::(anonymous namespace)::CustomizeAggregateFunctionsMoveSuffixData&) @ 0x2b23ec41 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b23ea40 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b23f361 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b23e9ca in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b23f406 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b23f36e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b23e9ca in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b23f406 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b23f36e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b23e9ca in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b235905 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1416: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b232038 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22ff29 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:28:14.842458 [ 1016 ] {fb553708-4dbe-4e84-b9ce-3c6beab1edbf} TCPHandler: Code: 131. DB::Exception: Too long name of aggregate function, maximum: 1000: While processing minOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNull(1). (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x19e233d3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:269: DB::AggregateFunctionFactory::isAggregateFunctionName(String) const @ 0x290b4409 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:198: DB::(anonymous namespace)::CustomizeAggregateFunctionsMoveSuffixData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b23ecc4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::(anonymous namespace)::CustomizeAggregateFunctionsMoveSuffixData&) @ 0x2b23ec41 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b23ea40 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b23f361 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b23e9ca in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b23f406 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b23f36e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b23e9ca in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b23f406 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b23f36e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b23e9ca in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b235905 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1416: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b232038 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22ff29 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:28:15.420011 [ 1015 ] {8ba2c4a5-0b97-4f59-b76a-3e55ae6a585c} executeQuery: Code: 117. DB::Exception: Incorrect size of a string (zero) in BSON: (at row 6) : While executing BSONEachRowRowInputFormat. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40254) (comment: 02686_bson3.sql) (in query: -- It correctly throws exception about incorrect data: SELECT * FROM format(BSONEachRow, 'WatchID Int64, JavaEnable Int16, Title String, GoodEvent Int16, EventTime DateTime, EventDate Date, CounterID Int32, ClientIP Int32, RegionID Int32, UserID Int64, CounterClass Int16, OS Int16, UserAgent Int16, URL String, Referer String, IsRefresh Int16, RefererCategoryID Int16, RefererRegionID Int32, URLCategoryID Int16, URLRegionID Int32, ResolutionWidth Int16, ResolutionHeight Int16, ResolutionDepth Int16, FlashMajor Int16, FlashMinor Int16, FlashMinor2 String, NetMajor Int16, NetMinor Int16, UserAgentMajor Int16, UserAgentMinor String, CookieEnable Int16, JavascriptEnable Int16, IsMobile Int16, MobilePhone Int16, MobilePhoneModel String, Params String, IPNetworkID Int32, TraficSourceID Int16, SearchEngineID Int16, SearchPhrase String, AdvEngineID Int16, IsArtifical Int16, WindowClientWidth Int16, WindowClientHeight Int16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 Int16, SilverlightVersion2 Int16, SilverlightVersion3 Int32, SilverlightVersion4 Int16, PageCharset String, CodeVersion Int32, IsLink Int16, IsDownload Int16, IsNotBounce Int16, FUniqID Int64, OriginalURL String, HID Int32, IsOldCounter Int16, IsEvent Int16, IsParameter Int16, DontCountHits Int16, WithHash Int16, HitColor String, LocalEventTime DateTime, Age Int16, Sex Int16, Income Int16, Interests Int16, Robotness Int16, RemoteIP Int32, WindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage String, BrowserCountry String, SocialNetwork String, SocialAction String, HTTPError Int16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32, FetchTiming Int32, SocialSourceNetworkID Int16, SocialSourcePage String, ParamPrice Int64, ParamOrderID String, ParamCurrency String, ParamCurrencyID Int16, OpenstatServiceName String, OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String, UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID Int16, RefererHash Int64, URLHash Int64, CLID Int32', $$^WatchIDc*5/ !p~JavaEnableTitleGoodEventEventTime7QEventDate>CounterIDClientIPzRegionIDGUserID :6CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnablsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneClientEventTimeSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime&QAgeSexIncomeInterestsRobotnessRemoteIP^DIWindowNameOpenerNameHistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHash|3b.CLID^WatchIDFӓ2qJavaEnableTitleGoodEventEventTimen$QEventDate>CounterIDClientIPzRegionIDGUserID :6CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneClientEventTimeSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeǘQAgeSexIncomeInterestsRobotnessRemoteIP^DIWindowNameOpenerNameHistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePagePamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHash|3b.CLID^WatchIDl!|@HJavaEnableTitleGoodEventEventTime)QEventDate>CounterIDClientIPzRegionIDGUserID :6CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneClientEventTimeSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime}QAgeSexIncomeInterestsRobotnessRemoteIP^DIWindowNameOpenerNameHistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHash|3b.CLID^WatchIDǐ=ЌWJavaEnableTitleGoodEventEventTime8*QEventDate>CounterIDClientIPzRegionIDGUserID :6CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneClientEventTimeSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeݞQAgeSexIncomeInterestsRobotnessRemoteIP^DIWindowNameOpenerNameHistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHash|3b.CLIDWatchIDE&LyJavaEnableTitleGoodEventEventTimeJQEventDate>CounterIDClientIPI`RegionID'UserIDqJd8CounterClassOSUserAgentURL-http://holodilnik.ru/russia/05jul2013&model=0RefererIsRefreshRefererCategoryIDRefererRegionIDURLCateParams String, IPNetworkID Int32, TraficSourceID Int16, SearchEngineID Int16, SearchPhrase String, AdvEngineID Int16, IsArtifical Int16, WindowClientWidth Int16, WindowClientHeight Int16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 Int16, SilverlightVersion2 Int16, SilverlightVersion3 Int32, SilverlightVersion4 Int16, PageCharset String, CodeVersion Int32, IsLink Int16, IsDownload Int16, IsNotBounce Int16, FUniqID Int64, OriginalURL String, HID Int32, IsOldCounter Int16, IsEvent Int16, IsParameter Int16, DontCountHits Int16, WithHash Int16, HitColor String, LocalEventTime DateTime, Age Int16, Sex Int16, Income Int16, Interests Int16, Robotness Int16, RemoteIP Int32, WindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage String, BrowserCountry String, SocialNetwork String, SocialAction String, HTTPError Int16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32,HistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHash oeCLIDWatchIDk=pJavaEnableTitleGoodEventEventTime QEventDate>CounterIDClienQ9HRegionIDGUserID Ks}CounterClassOSUserAgentURLHhttp://afisha.mail.ru/catalog/314/women.ru/ency=1&page3/?errovat-pinnikiRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryID0=URLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneClientEventTimeSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4 PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqID:WmOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeAQAgeSexIncomeInterestsRobotnessRemoteIP^DIWindowNameOpenerNameHistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHash #\CLIDWatchID1 oCJavaEnableTitleGoodEventEventTime0QEventDate>CounterIDClientIP^{]RegionIDUserID&n%t"6CounterClassOS'UserAgentURL>http://bonprix.ru/index.ru/cinema/art/0 986 424 233 сезонRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID#(TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneClientEventTimeSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeQAgeSexIncomeInterestsRobotnessRemoteIPUWindowNameOpenerNameHistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHashX-hX CLIDWatchID»-C_JavaEnableTitleGoodEventEventTime83QEventDate>CounterIDClientIP^{]RegionIDUserID&n%t"6CounterClassOS'UserAgentURL:http://bonprix.ru/index.ru/cinema/art/A00387,3797); ru)&bLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID#(TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneClientEventTimeSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime QAgeSexIncomeInterestsRobotnessRemoteIPUWindowNameOpenerNameHistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHashvvCLIDWatchID\JavaEnableTitleGoodEventEventTime QEventDate>CounterIDClientIPgURegionIDUserIDsyyfCounterClassOS,UserAgentURL1http://tours/Ekategoriya%2F&sr=http://slovareniyeRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDesRolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajor UserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkIDTraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneClientEventTimeSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeYQAgeSexIncomeInterestsRobotnessRemoteIP=kWindowNameOpenerNameHistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHashh9DCLID^WatchID/EJ{JavaEnableTitleGoodEventEventTime1QEventDate>CounterIDClientIPzRegionIDGUserID :6CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhkneModelParamsIPNetworkID9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneClientEventTimeSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeQAgeSexIncomeInterestsRobotnessRemoteIP^DIWindowNameOpenerNameHistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHash|3b.CLID$$);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19ee1dfe in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:286: void DB::readAndInsertString(DB::ReadBuffer&, DB::IColumn&, DB::BSONType) @ 0x2c92b63e in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:620: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x2c926eff in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:795: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c92c8ce in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x2c85b721 in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionFormat.cpp:79: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x28d143f7 in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionFormat.cpp:93: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d14695 in /usr/bin/clickhouse 20. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 22. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:28:15.421902 [ 1015 ] {8ba2c4a5-0b97-4f59-b76a-3e55ae6a585c} TCPHandler: Code: 117. DB::Exception: Incorrect size of a string (zero) in BSON: (at row 6) : While executing BSONEachRowRowInputFormat. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19ee1dfe in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:286: void DB::readAndInsertString(DB::ReadBuffer&, DB::IColumn&, DB::BSONType) @ 0x2c92b63e in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:620: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x2c926eff in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:795: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c92c8ce in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x2c85b721 in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionFormat.cpp:79: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x28d143f7 in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionFormat.cpp:93: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d14695 in /usr/bin/clickhouse 20. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 22. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:28:15.617807 [ 1015 ] {311a3258-72e6-4ac0-92bc-761a3abd20e4} executeQuery: Code: 50. DB::Exception: Unknown BSON type: 0x00: While executing BSONEachRowRowInputFormat. (UNKNOWN_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40270) (comment: 02684_bson.sql) (in query: -- It correctly throws exception about incorrect data: SELECT * FROM format('BSONEachRow', 'WatchID Int64, JavaEnable Int16, Title String, GoodEvent Int16, EventTime DateTime, EventDate Date, CounterID Int32, ClientIP Int32, RegionID Int32, UserID Int64, CounterClass Int16, OS Int16, UserAgent Int16, URL String, Referer String, IsRefresh Int16, RefererCategoryID Int16, RefererRegionID Int32, URLCategoryID Int16, URLRegionID Int32, ResolutionWidth Int16, ResolutionHeight Int16, ResolutionDepth Int16, FlashMajor Int16, FlashMinor Int16, FlashMinor2 String, NetMajor Int16, NetMinor Int16, UserAgentMajor Int16, UserAgentMinor String, CookieEnable Int16, JavascriptEnable Int16, IsMobile Int16, MobilePhone Int16, MobilePhoneModel String, Params String, IPNetworkID Int32, TraficSourceID Int16, SearchEngineID Int16, SearchPhrase String, AdvEngineID Int16, IsArtifical Int16, WindowClientWidth Int16, WindowClientHeight Int16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 Int16, SilverlightVersion2 Int16, SilverlightVersion3 Int32, SilverlightVersion4 Int16, PageCharset String, CodeVersion Int32, IsLink Int16, IsDownload Int16, IsNotBounce Int16, FUniqID Int64, OriginalURL String, HID Int32, IsOldCounter Int16, IsEvent Int16, IsParameter Int16, DontCountHits Int16, WithHash Int16, HitColor String, LocalEventTime DateTime, Age Int16, Sex Int16, Income Int16, Interests Int16, Robotness Int16, RemoteIP Int32, WindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage String, BrowserCountry String, SocialNetwork String, SocialAction String, HTTPError Int16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32, FetchTiming Int32, SocialSourceNetworkID Int16, SocialSourcePage String, ParamPrice Int64, ParamOrderID String, ParamCurrency String, ParamCurrencyID Int16, OpenstatServiceName String, OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String, UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID Int16, RefererHash Int64, URLHash Int64, CLID Int32', $$^WatchIDc*5/ !p~JavaEnableTitleGoodEventEventTime7��QEventDate>CounterIDClientIP��z�RegionIDGUserID� ��:6��CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID��9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZone����ClientEventTime��SilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime&��QAgeSexIncomeInterestsRobotnessRemoteIP^DI�WindowName����OpenerName����HistoryLength����BrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHash�|3��b.�CLID^WatchID��F�ӓ2qJavaEnableTitleGoodEventEventTimen$�QEventDate>CounterIDClientIP��z�RegionIDGUserID� ��:6��CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthmingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHashv�v����CLID�WatchID���\JavaEnableTitleGoodEventEventTime� �QEventDate>CounterIDClientIP�gURegionID�UserID�s�yy��fCounterClassOS,UserAgentURL1http://tours/Ekategoriya%2F&sr=http://slovareniyeRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionID�ResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajor UserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID��TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZone����ClientEventTime��SilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeY��QAgeSexIncomeInterestsRobotnessRemoteIP�=kWindowName����OpenerName����HistoryLength����BrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHashh��9�DCLID^WatchID�/E��J�{JavaEnableTitleGoodEventEventTime�1�QEventDate>CounterIDClientIP��z�RegionIDGUserID� ��:6��CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID��9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZone����ClientEventTime��SilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime���QAgeSexIncomeInterestsRobotnessRemoteIP^DI�WindowName����OpenerName����HistoryLength����BrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHash�|3��b.�CLID$$);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Formats/BSONTypes.cpp:23: DB::getBSONType(unsigned char) @ 0x2c933707 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:780: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c92c724 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 9. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x2c85b721 in /usr/bin/clickhouse 17. /build/src/TableFunctions/TableFunctionFormat.cpp:79: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x28d143f7 in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionFormat.cpp:93: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d14695 in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:28:15.619089 [ 1015 ] {311a3258-72e6-4ac0-92bc-761a3abd20e4} TCPHandler: Code: 50. DB::Exception: Unknown BSON type: 0x00: While executing BSONEachRowRowInputFormat. (UNKNOWN_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Formats/BSONTypes.cpp:23: DB::getBSONType(unsigned char) @ 0x2c933707 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:780: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c92c724 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 9. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x2c85b721 in /usr/bin/clickhouse 17. /build/src/TableFunctions/TableFunctionFormat.cpp:79: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x28d143f7 in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionFormat.cpp:93: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d14695 in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:28:16.947026 [ 635 ] {4596718f-7749-4b4d-992d-5028ea6e6e36} executeQuery: Code: 44. DB::Exception: Sorting key cannot contain constants. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40308) (comment: 02679_query_parameters_dangling_pointer.sql) (in query: CREATE TABLE test.xxx (`a` Int64) ENGINE = MergeTree ORDER BY _CAST('a', 'String') SETTINGS index_granularity = 1037, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.5799959897994995, merge_max_block_size = 6902, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 8904566499, index_granularity_bytes = 13460213), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:434: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c0bdcfd in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd829 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:28:16.948750 [ 635 ] {4596718f-7749-4b4d-992d-5028ea6e6e36} TCPHandler: Code: 44. DB::Exception: Sorting key cannot contain constants. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:434: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c0bdcfd in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd829 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:28:18.406943 [ 635 ] {54e5dc3c-2322-497b-ac48-6a4ce0fd4f74} executeQuery: Code: 1. DB::Exception: Qualified matcher arr.* find non compound expression [1, 2, 3] AS arr with type Array(UInt8). Expected tuple or array of tuples. In scope WITH [1, 2, 3] AS arr SELECT arr.*. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40330) (comment: 02677_analyzer_compound_expressions.sql) (in query: WITH [1, 2, 3] AS arr SELECT arr.*;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x19ef1c44 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3706: DB::(anonymous namespace)::QueryAnalyzer::resolveQualifiedMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac983eb in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3995: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac963f4 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5394: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68760 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:18.408080 [ 635 ] {54e5dc3c-2322-497b-ac48-6a4ce0fd4f74} TCPHandler: Code: 1. DB::Exception: Qualified matcher arr.* find non compound expression [1, 2, 3] AS arr with type Array(UInt8). Expected tuple or array of tuples. In scope WITH [1, 2, 3] AS arr SELECT arr.*. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x19ef1c44 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3706: DB::(anonymous namespace)::QueryAnalyzer::resolveQualifiedMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac983eb in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3995: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac963f4 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5394: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68760 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:18.554891 [ 635 ] {935a64a8-f873-411d-83dd-53ec9f200431} executeQuery: Code: 44. DB::Exception: The second argument of function getSubcolumn should be a constant string with the name of a subcolumn: In scope SELECT getSubcolumn([1, 2, 3], materialize('size0')). (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40330) (comment: 02677_analyzer_compound_expressions.sql) (in query: SELECT getSubcolumn([1, 2, 3], materialize('size0'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/getSubcolumn.cpp:45: DB::(anonymous namespace)::FunctionGetSubcolumn::getSubcolumnName(std::vector> const&) @ 0x1cb513c8 in /usr/bin/clickhouse 7. /build/src/Functions/getSubcolumn.cpp:30: DB::(anonymous namespace)::FunctionGetSubcolumn::getReturnTypeImpl(std::vector> const&) const @ 0x1cb51299 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5131: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7ee94 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:28:18.556019 [ 635 ] {935a64a8-f873-411d-83dd-53ec9f200431} TCPHandler: Code: 44. DB::Exception: The second argument of function getSubcolumn should be a constant string with the name of a subcolumn: In scope SELECT getSubcolumn([1, 2, 3], materialize('size0')). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/getSubcolumn.cpp:45: DB::(anonymous namespace)::FunctionGetSubcolumn::getSubcolumnName(std::vector> const&) @ 0x1cb513c8 in /usr/bin/clickhouse 7. /build/src/Functions/getSubcolumn.cpp:30: DB::(anonymous namespace)::FunctionGetSubcolumn::getReturnTypeImpl(std::vector> const&) const @ 0x1cb51299 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5131: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7ee94 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:28:18.675130 [ 635 ] {4429ff65-5737-4db6-929f-961c3599d3d3} executeQuery: Code: 44. DB::Exception: There is no subcolumn aaa in type Array(UInt8): In scope SELECT getSubcolumn([1, 2, 3], 'aaa'). (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40330) (comment: 02677_analyzer_compound_expressions.sql) (in query: SELECT getSubcolumn([1, 2, 3], 'aaa');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type>, std::basic_string_view>&, String&&) @ 0x1c914fac in /usr/bin/clickhouse 6. /build/src/DataTypes/IDataType.cpp:118: std::shared_ptr DB::IDataType::getForSubcolumn>(std::basic_string_view>, DB::ISerialization::SubstreamData const&, std::shared_ptr DB::ISerialization::SubstreamData::*, bool) const @ 0x29a4787a in /usr/bin/clickhouse 7. /build/src/DataTypes/IDataType.cpp:137: DB::IDataType::getSubcolumnType(std::basic_string_view>) const @ 0x29a46166 in /usr/bin/clickhouse 8. /build/src/Functions/getSubcolumn.cpp:31: DB::(anonymous namespace)::FunctionGetSubcolumn::getReturnTypeImpl(std::vector> const&) const @ 0x1cb512d2 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5131: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7ee94 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 20. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 2024.03.27 21:28:18.676306 [ 635 ] {4429ff65-5737-4db6-929f-961c3599d3d3} TCPHandler: Code: 44. DB::Exception: There is no subcolumn aaa in type Array(UInt8): In scope SELECT getSubcolumn([1, 2, 3], 'aaa'). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type>, std::basic_string_view>&, String&&) @ 0x1c914fac in /usr/bin/clickhouse 6. /build/src/DataTypes/IDataType.cpp:118: std::shared_ptr DB::IDataType::getForSubcolumn>(std::basic_string_view>, DB::ISerialization::SubstreamData const&, std::shared_ptr DB::ISerialization::SubstreamData::*, bool) const @ 0x29a4787a in /usr/bin/clickhouse 7. /build/src/DataTypes/IDataType.cpp:137: DB::IDataType::getSubcolumnType(std::basic_string_view>) const @ 0x29a46166 in /usr/bin/clickhouse 8. /build/src/Functions/getSubcolumn.cpp:31: DB::(anonymous namespace)::FunctionGetSubcolumn::getReturnTypeImpl(std::vector> const&) const @ 0x1cb512d2 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5131: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7ee94 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 20. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 2024.03.27 21:28:20.242616 [ 1016 ] {b581bec8-3549-42f7-ad08-0d8529e9b312} executeQuery: Code: 41. DB::Exception: Value 1 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('AD 1999', 'G Y'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('AD 1999', 'G Y');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x20193028 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x20156d8b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172388 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:20.244033 [ 1016 ] {b581bec8-3549-42f7-ad08-0d8529e9b312} TCPHandler: Code: 41. DB::Exception: Value 1 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('AD 1999', 'G Y'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x20193028 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x20156d8b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172388 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:20.370740 [ 1016 ] {a8855664-ed9e-4993-9d36-59af4f72af92} executeQuery: Code: 41. DB::Exception: Invalid format input AD 1999 is malformed at 99: While processing parseDateTimeInJodaSyntax('AD 1999', 'G YY'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('AD 1999', 'G YY');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:20.372617 [ 1016 ] {a8855664-ed9e-4993-9d36-59af4f72af92} TCPHandler: Code: 41. DB::Exception: Invalid format input AD 1999 is malformed at 99: While processing parseDateTimeInJodaSyntax('AD 1999', 'G YY'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:20.383572 [ 1016 ] {a91c77a7-a94b-4ad8-9cd3-c87e95e9a0a7} executeQuery: Code: 41. DB::Exception: Value 199 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('AD 1999', 'G YYY'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('AD 1999', 'G YYY');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x20193028 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x20156d8b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172388 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:20.384907 [ 1016 ] {a91c77a7-a94b-4ad8-9cd3-c87e95e9a0a7} TCPHandler: Code: 41. DB::Exception: Value 199 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('AD 1999', 'G YYY'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x20193028 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x20156d8b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172388 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:20.459078 [ 1016 ] {cf191402-1f01-40e9-8f45-4651cee7ed39} executeQuery: Code: 41. DB::Exception: Era BC exceeds the range of DateTime: While processing parseDateTimeInJodaSyntax('BC', 'G'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('BC', 'G');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1a9e957e in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:153: DB::(anonymous namespace)::DateTime::setEra(String const&) @ 0x20176436 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1198: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaEra(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201720c7 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176088 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017601d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20175f81 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20175f3a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175ed5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175e95 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175e55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175ddd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:20.460467 [ 1016 ] {cf191402-1f01-40e9-8f45-4651cee7ed39} TCPHandler: Code: 41. DB::Exception: Era BC exceeds the range of DateTime: While processing parseDateTimeInJodaSyntax('BC', 'G'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1a9e957e in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:153: DB::(anonymous namespace)::DateTime::setEra(String const&) @ 0x20176436 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1198: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaEra(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201720c7 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176088 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017601d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20175f81 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20175f3a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175ed5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175e95 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175e55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175ddd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:20.562128 [ 1016 ] {fc2229d5-8f66-4a27-a394-77d2e8092109} executeQuery: Code: 41. DB::Exception: Unknown era ab: While processing parseDateTimeInJodaSyntax('AB', 'G'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('AB', 'G');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:155: DB::(anonymous namespace)::DateTime::setEra(String const&) @ 0x201764e4 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1198: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaEra(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201720c7 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176088 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017601d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20175f81 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20175f3a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175ed5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175e95 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175e55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175ddd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:20.563524 [ 1016 ] {fc2229d5-8f66-4a27-a394-77d2e8092109} TCPHandler: Code: 41. DB::Exception: Unknown era ab: While processing parseDateTimeInJodaSyntax('AB', 'G'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:155: DB::(anonymous namespace)::DateTime::setEra(String const&) @ 0x201764e4 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1198: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaEra(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201720c7 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176088 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017601d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20175f81 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20175f3a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175ed5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175e95 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175e55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175ddd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:20.605655 [ 1016 ] {a49c1037-caf6-4414-8be2-cd8db01130b2} executeQuery: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1969', 'YYYY', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x20193028 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x20156d8b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172388 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:20.606974 [ 1016 ] {a49c1037-caf6-4414-8be2-cd8db01130b2} TCPHandler: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x20193028 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x20156d8b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172388 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:20.617214 [ 1016 ] {24695d66-4e05-434f-818e-e392ed6343c5} executeQuery: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2107', 'YYYY', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x20193028 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x20156d8b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172388 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:20.618676 [ 1016 ] {24695d66-4e05-434f-818e-e392ed6343c5} TCPHandler: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x20193028 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x20156d8b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172388 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:20.696796 [ 1016 ] {a9601101-a7b2-4403-9dcc-063062103647} executeQuery: Code: 41. DB::Exception: Unable to parse fragment YYYY from +1999 because read number failed: While processing parseDateTimeInJodaSyntax('+1999', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('+1999', 'YYYY', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x20195c2c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201772e8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1214: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172371 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:20.698276 [ 1016 ] {a9601101-a7b2-4403-9dcc-063062103647} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment YYYY from +1999 because read number failed: While processing parseDateTimeInJodaSyntax('+1999', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x20195c2c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201772e8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1214: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172371 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:20.786601 [ 1016 ] {cc0d5659-b670-489f-89be-fbeb2789b86e} executeQuery: Code: 41. DB::Exception: Value 1 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1', 'YY', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1', 'YY', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x20193028 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x20156d8b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172388 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:20.787893 [ 1016 ] {cc0d5659-b670-489f-89be-fbeb2789b86e} TCPHandler: Code: 41. DB::Exception: Value 1 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1', 'YY', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x20193028 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x20156d8b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172388 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:21.056252 [ 1016 ] {8fa5764a-c84b-4cff-ac4d-6f03b5da7475} executeQuery: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'yyyy', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1969', 'yyyy', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x20193028 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x20156d8b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1280: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172c87 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:21.057642 [ 1016 ] {8fa5764a-c84b-4cff-ac4d-6f03b5da7475} TCPHandler: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'yyyy', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x20193028 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x20156d8b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1280: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172c87 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:21.067823 [ 1016 ] {16df038c-08f8-4e30-b87d-f4e2b8265344} executeQuery: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'yyyy', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2107', 'yyyy', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x20193028 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x20156d8b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1280: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172c87 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:21.069161 [ 1016 ] {16df038c-08f8-4e30-b87d-f4e2b8265344} TCPHandler: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'yyyy', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x20193028 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x20156d8b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1280: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172c87 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:21.384851 [ 1016 ] {95337d35-ceed-4c14-b07f-c991be46494c} executeQuery: Code: 321. DB::Exception: Seconds since epoch is negative: While processing parseDateTimeInJodaSyntax('1970', 'xxxx', 'UTC'). (VALUE_IS_OUT_OF_RANGE_OF_DATA_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1970', 'xxxx', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x201950be in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:445: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x20150151 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f91a in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:28:21.385957 [ 1016 ] {95337d35-ceed-4c14-b07f-c991be46494c} TCPHandler: Code: 321. DB::Exception: Seconds since epoch is negative: While processing parseDateTimeInJodaSyntax('1970', 'xxxx', 'UTC'). (VALUE_IS_OUT_OF_RANGE_OF_DATA_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x201950be in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:445: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x20150151 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f91a in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:28:21.459712 [ 1016 ] {e16571e1-d6a5-4720-9138-296044cb0607} executeQuery: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'xxxx', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1969', 'xxxx', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x20193028 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x20156d8b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1224: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaWeekYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017248a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:21.461176 [ 1016 ] {e16571e1-d6a5-4720-9138-296044cb0607} TCPHandler: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'xxxx', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x20193028 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x20156d8b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1224: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaWeekYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017248a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:21.471049 [ 1016 ] {f40eb3b7-0f0a-4ae3-bbc4-a48d8785ede8} executeQuery: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'xxxx', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2107', 'xxxx', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x20193028 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x20156d8b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1224: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaWeekYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017248a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:21.472360 [ 1016 ] {f40eb3b7-0f0a-4ae3-bbc4-a48d8785ede8} TCPHandler: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'xxxx', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x20193028 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x20156d8b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1224: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaWeekYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017248a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:21.606059 [ 1016 ] {819f898c-88c9-4984-b1b8-9f6aa36e379c} executeQuery: Code: 41. DB::Exception: Invalid date, year:1900 month:1 day:1: While processing parseDateTimeInJodaSyntax('19', 'CC', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('19', 'CC', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x20195688 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:413: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x201591a7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:433: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x2015009d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f91a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:21.607146 [ 1016 ] {819f898c-88c9-4984-b1b8-9f6aa36e379c} TCPHandler: Code: 41. DB::Exception: Invalid date, year:1900 month:1 day:1: While processing parseDateTimeInJodaSyntax('19', 'CC', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x20195688 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:413: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x201591a7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:433: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x2015009d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f91a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:21.622693 [ 1161 ] {} MergeTreeDataWriter: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 'string1').). 2024.03.27 21:28:21.681810 [ 1016 ] {abb2a57e-29d6-447c-b674-b0a31744a34b} executeQuery: Code: 41. DB::Exception: Value 22 for century must be in the range [19, 21]: While processing parseDateTimeInJodaSyntax('22', 'CC', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('22', 'CC', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x201924b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:161: DB::(anonymous namespace)::DateTime::setCentury(int) @ 0x201564a7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1208: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaCenturyOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172280 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:21.683247 [ 1016 ] {abb2a57e-29d6-447c-b674-b0a31744a34b} TCPHandler: Code: 41. DB::Exception: Value 22 for century must be in the range [19, 21]: While processing parseDateTimeInJodaSyntax('22', 'CC', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x201924b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:161: DB::(anonymous namespace)::DateTime::setCentury(int) @ 0x201564a7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1208: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaCenturyOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172280 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:21.829440 [ 1016 ] {db6114f6-8991-4764-9aee-b42b108c409e} executeQuery: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTimeInJodaSyntax('0', 'M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x201924b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:197: DB::(anonymous namespace)::DateTime::setMonth(int) @ 0x20155e07 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1296: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172e20 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:21.830982 [ 1016 ] {db6114f6-8991-4764-9aee-b42b108c409e} TCPHandler: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTimeInJodaSyntax('0', 'M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x201924b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:197: DB::(anonymous namespace)::DateTime::setMonth(int) @ 0x20155e07 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1296: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172e20 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:21.840583 [ 1016 ] {d7f7ebe0-1140-455c-a3b1-13e443f589f7} executeQuery: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTimeInJodaSyntax('13', 'M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('13', 'M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x201924b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:197: DB::(anonymous namespace)::DateTime::setMonth(int) @ 0x20155e07 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1296: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172e20 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:21.841877 [ 1016 ] {d7f7ebe0-1140-455c-a3b1-13e443f589f7} TCPHandler: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTimeInJodaSyntax('13', 'M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x201924b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:197: DB::(anonymous namespace)::DateTime::setMonth(int) @ 0x20155e07 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1296: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172e20 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:21.850859 [ 1016 ] {7fdda1ee-7b11-4846-ac34-7303d7c2f72a} executeQuery: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTimeInJodaSyntax('12345', 'M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('12345', 'M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:21.852144 [ 1016 ] {7fdda1ee-7b11-4846-ac34-7303d7c2f72a} TCPHandler: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTimeInJodaSyntax('12345', 'M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:21.942734 [ 1016 ] {58c0c06c-5f6c-4f47-88ac-2149afb22927} executeQuery: Code: 41. DB::Exception: Invalid format input Decembr is malformed at embr: While processing parseDateTimeInJodaSyntax('Decembr', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: --- invalid month names select parseDateTimeInJodaSyntax('Decembr', 'MMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:21.944065 [ 1016 ] {58c0c06c-5f6c-4f47-88ac-2149afb22927} TCPHandler: Code: 41. DB::Exception: Invalid format input Decembr is malformed at embr: While processing parseDateTimeInJodaSyntax('Decembr', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:21.952575 [ 1016 ] {5fa844f8-8a95-4523-9232-55b9b7c45a52} executeQuery: Code: 41. DB::Exception: Invalid format input Decembr is malformed at embr: While processing parseDateTimeInJodaSyntax('Decembr', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('Decembr', 'MMMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:21.953837 [ 1016 ] {5fa844f8-8a95-4523-9232-55b9b7c45a52} TCPHandler: Code: 41. DB::Exception: Invalid format input Decembr is malformed at embr: While processing parseDateTimeInJodaSyntax('Decembr', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:21.962559 [ 1016 ] {0abcee11-12d1-41f7-8e41-5009fa0b9ee8} executeQuery: Code: 41. DB::Exception: Invalid format input Decemberary is malformed at ary: While processing parseDateTimeInJodaSyntax('Decemberary', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('Decemberary', 'MMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:21.963904 [ 1016 ] {0abcee11-12d1-41f7-8e41-5009fa0b9ee8} TCPHandler: Code: 41. DB::Exception: Invalid format input Decemberary is malformed at ary: While processing parseDateTimeInJodaSyntax('Decemberary', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:21.972676 [ 1016 ] {9af32e3c-7408-4f6e-b252-2f3487c8d770} executeQuery: Code: 41. DB::Exception: Invalid format input Decemberary is malformed at ary: While processing parseDateTimeInJodaSyntax('Decemberary', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('Decemberary', 'MMMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:21.974021 [ 1016 ] {9af32e3c-7408-4f6e-b252-2f3487c8d770} TCPHandler: Code: 41. DB::Exception: Invalid format input Decemberary is malformed at ary: While processing parseDateTimeInJodaSyntax('Decemberary', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:22.051149 [ 1016 ] {af146969-6fcc-4222-b726-cea7afd93494} executeQuery: Code: 41. DB::Exception: Unable to parse fragment MMM from asdf because of unknown month of year text: asd: While processing parseDateTimeInJodaSyntax('asdf', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('asdf', 'MMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x20190de8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1306: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYearText(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201730a8 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176088 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017601d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20175f81 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20175f3a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175ed5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175e95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175e55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175ddd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 17. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 2024.03.27 21:28:22.052481 [ 1016 ] {af146969-6fcc-4222-b726-cea7afd93494} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment MMM from asdf because of unknown month of year text: asd: While processing parseDateTimeInJodaSyntax('asdf', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x20190de8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1306: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYearText(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201730a8 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176088 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017601d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20175f81 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20175f3a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175ed5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175e95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175e55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175ddd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 17. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 2024.03.27 21:28:22.063880 [ 1016 ] {f5c5f184-85f2-4ead-b1cb-3addefe0b342} executeQuery: Code: 41. DB::Exception: Unable to parse fragment MMMM from asdf because of unknown month of year text: asd: While processing parseDateTimeInJodaSyntax('asdf', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('asdf', 'MMMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x20190de8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1306: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYearText(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201730a8 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176088 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017601d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20175f81 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20175f3a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175ed5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175e95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175e55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175ddd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 17. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 2024.03.27 21:28:22.065140 [ 1016 ] {f5c5f184-85f2-4ead-b1cb-3addefe0b342} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment MMMM from asdf because of unknown month of year text: asd: While processing parseDateTimeInJodaSyntax('asdf', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x20190de8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1306: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYearText(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201730a8 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176088 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017601d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20175f81 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20175f3a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175ed5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175e95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175e55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20175ddd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 17. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 2024.03.27 21:28:22.195027 [ 1016 ] {c4dd7eb4-a022-45b2-81fa-183214eb15d1} executeQuery: Code: 41. DB::Exception: Value 0 for day of month must be in the range [1, 31]: While processing parseDateTimeInJodaSyntax('0', 'd', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'd', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x201924b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:242: DB::(anonymous namespace)::DateTime::setDayOfMonth(int) @ 0x201567e7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1335: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfMonth(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017342c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:22.197084 [ 1016 ] {c4dd7eb4-a022-45b2-81fa-183214eb15d1} TCPHandler: Code: 41. DB::Exception: Value 0 for day of month must be in the range [1, 31]: While processing parseDateTimeInJodaSyntax('0', 'd', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x201924b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:242: DB::(anonymous namespace)::DateTime::setDayOfMonth(int) @ 0x201567e7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1335: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfMonth(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017342c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:22.208783 [ 1016 ] {bddcba70-ed19-4d7d-9688-1473ee4fbc6b} executeQuery: Code: 41. DB::Exception: Value 32 for day of month must be in the range [1, 31]: While processing parseDateTimeInJodaSyntax('32', 'd', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('32', 'd', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x201924b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:242: DB::(anonymous namespace)::DateTime::setDayOfMonth(int) @ 0x201567e7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1335: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfMonth(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017342c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:22.210655 [ 1016 ] {bddcba70-ed19-4d7d-9688-1473ee4fbc6b} TCPHandler: Code: 41. DB::Exception: Value 32 for day of month must be in the range [1, 31]: While processing parseDateTimeInJodaSyntax('32', 'd', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x201924b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:242: DB::(anonymous namespace)::DateTime::setDayOfMonth(int) @ 0x201567e7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1335: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfMonth(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017342c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:22.220832 [ 1016 ] {8ab442ab-be95-4ec9-bc06-bfdba7bc3f56} executeQuery: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTimeInJodaSyntax('12345', 'd', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('12345', 'd', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:22.222241 [ 1016 ] {8ab442ab-be95-4ec9-bc06-bfdba7bc3f56} TCPHandler: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTimeInJodaSyntax('12345', 'd', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:22.231193 [ 1016 ] {fc9f2811-3249-484b-a7ab-6ff2d9f994fd} executeQuery: Code: 41. DB::Exception: Invalid date, year:2000 month:2 day:31: While processing parseDateTimeInJodaSyntax('02-31', 'M-d', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('02-31', 'M-d', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x20195688 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:413: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x201591a7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:433: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x2015009d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f91a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:22.232155 [ 1016 ] {fc9f2811-3249-484b-a7ab-6ff2d9f994fd} TCPHandler: Code: 41. DB::Exception: Invalid date, year:2000 month:2 day:31: While processing parseDateTimeInJodaSyntax('02-31', 'M-d', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x20195688 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:413: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x201591a7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:433: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x2015009d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f91a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:22.240217 [ 1016 ] {ab6dc5f5-3251-4952-b391-24f9f4d0d140} executeQuery: Code: 41. DB::Exception: Invalid date, year:2000 month:4 day:31: While processing parseDateTimeInJodaSyntax('04-31', 'M-d', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('04-31', 'M-d', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x20195688 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:413: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x201591a7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:433: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x2015009d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f91a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:22.241111 [ 1016 ] {ab6dc5f5-3251-4952-b391-24f9f4d0d140} TCPHandler: Code: 41. DB::Exception: Invalid date, year:2000 month:4 day:31: While processing parseDateTimeInJodaSyntax('04-31', 'M-d', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x20195688 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:413: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x201591a7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:433: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x2015009d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f91a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:22.306492 [ 1016 ] {c5021629-9da5-4c77-bbb7-31a6852844b3} executeQuery: Code: 41. DB::Exception: Invalid date, year:2001 month:2 day:29: While processing parseDateTimeInJodaSyntax('2001-02-29', 'YYYY-M-d', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2001-02-29', 'YYYY-M-d', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x20195688 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:413: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x201591a7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:433: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x2015009d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f91a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:22.307473 [ 1016 ] {c5021629-9da5-4c77-bbb7-31a6852844b3} TCPHandler: Code: 41. DB::Exception: Invalid date, year:2001 month:2 day:29: While processing parseDateTimeInJodaSyntax('2001-02-29', 'YYYY-M-d', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x20195688 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:413: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x201591a7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:433: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x2015009d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f91a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:22.625543 [ 1016 ] {776b4903-4fe2-4237-8702-ebd4d0f667c1} executeQuery: Code: 41. DB::Exception: Invalid day of year, year:1999 day of year:366: While processing parseDateTimeInJodaSyntax('1999 366', 'yyyy D', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1999 366', 'yyyy D', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x201952ac in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:403: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDayOfYear(int, int) @ 0x201590a3 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x20150084 in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f91a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:22.626757 [ 1016 ] {776b4903-4fe2-4237-8702-ebd4d0f667c1} TCPHandler: Code: 41. DB::Exception: Invalid day of year, year:1999 day of year:366: While processing parseDateTimeInJodaSyntax('1999 366', 'yyyy D', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x201952ac in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:403: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDayOfYear(int, int) @ 0x201590a3 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x20150084 in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f91a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:22.651147 [ 1016 ] {58826b5e-3a9d-4ca0-a2aa-174dc1136987} executeQuery: Code: 41. DB::Exception: Invalid day of year, year:2001 day of year:366: While processing parseDateTimeInJodaSyntax('2000 366 2001', 'yyyy D yyyy', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2000 366 2001', 'yyyy D yyyy', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x201952ac in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:403: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDayOfYear(int, int) @ 0x201590a3 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x20150084 in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f91a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:22.652116 [ 1016 ] {58826b5e-3a9d-4ca0-a2aa-174dc1136987} TCPHandler: Code: 41. DB::Exception: Invalid day of year, year:2001 day of year:366: While processing parseDateTimeInJodaSyntax('2000 366 2001', 'yyyy D yyyy', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x201952ac in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:403: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDayOfYear(int, int) @ 0x201590a3 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x20150084 in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f91a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:22.727487 [ 1016 ] {b4006ea5-81c5-422e-8519-60d0672fe870} executeQuery: Code: 41. DB::Exception: Value 0 for day of year must be in the range [1, 366]: While processing parseDateTimeInJodaSyntax('0', 'D', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'D', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x201924b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:227: DB::(anonymous namespace)::DateTime::setDayOfYear(int) @ 0x201579ca in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1288: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172d2c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:22.728930 [ 1016 ] {b4006ea5-81c5-422e-8519-60d0672fe870} TCPHandler: Code: 41. DB::Exception: Value 0 for day of year must be in the range [1, 366]: While processing parseDateTimeInJodaSyntax('0', 'D', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x201924b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:227: DB::(anonymous namespace)::DateTime::setDayOfYear(int) @ 0x201579ca in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1288: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172d2c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:22.738002 [ 1016 ] {a6a034b9-ccfa-4488-9231-faf3cc5cb46f} executeQuery: Code: 41. DB::Exception: Value 367 for day of year must be in the range [1, 366]: While processing parseDateTimeInJodaSyntax('367', 'D', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('367', 'D', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x201924b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:227: DB::(anonymous namespace)::DateTime::setDayOfYear(int) @ 0x201579ca in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1288: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172d2c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:22.739272 [ 1016 ] {a6a034b9-ccfa-4488-9231-faf3cc5cb46f} TCPHandler: Code: 41. DB::Exception: Value 367 for day of year must be in the range [1, 366]: While processing parseDateTimeInJodaSyntax('367', 'D', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x201924b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:227: DB::(anonymous namespace)::DateTime::setDayOfYear(int) @ 0x201579ca in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1288: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172d2c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:22.870833 [ 1016 ] {43802690-7f5d-4c21-af99-09a3e382915f} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('24', 'H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: --- invalid hour od day select parseDateTimeInJodaSyntax('24', 'H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x20193eba in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x20158aa6 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1370: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20173870 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:22.872290 [ 1016 ] {43802690-7f5d-4c21-af99-09a3e382915f} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('24', 'H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x20193eba in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x20158aa6 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1370: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20173870 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:22.947446 [ 1016 ] {82fee80d-fd7c-41c8-9a62-2d33415f3fcb} executeQuery: Code: 41. DB::Exception: Unable to parse fragment H from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('-1', 'H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x20195c2c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201772e8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1368: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017385c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:22.948851 [ 1016 ] {82fee80d-fd7c-41c8-9a62-2d33415f3fcb} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment H from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x20195c2c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201772e8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1368: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017385c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:22.958176 [ 1016 ] {7afd9d9f-ff63-451f-9458-5315b5ebae03} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:22.959630 [ 1016 ] {7afd9d9f-ff63-451f-9458-5315b5ebae03} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:23.094727 [ 1016 ] {9e973c18-dcad-4598-9f93-ca6d2a08b324} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [24, 1] if_hour_of_half_day=false and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('25', 'k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: -- invalid clock hour of day select parseDateTimeInJodaSyntax('25', 'k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x20193eba in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x20158aa6 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1378: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20173913 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:23.096207 [ 1016 ] {9e973c18-dcad-4598-9f93-ca6d2a08b324} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [24, 1] if_hour_of_half_day=false and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('25', 'k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x20193eba in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x20158aa6 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1378: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20173913 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:23.105467 [ 1016 ] {892fc873-1df4-481c-bea2-913c6e9a216e} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [24, 1] if_hour_of_half_day=false and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('0', 'k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x20193eba in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x20158aa6 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1378: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20173913 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:23.106791 [ 1016 ] {892fc873-1df4-481c-bea2-913c6e9a216e} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [24, 1] if_hour_of_half_day=false and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('0', 'k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x20193eba in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x20158aa6 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1378: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20173913 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:23.115478 [ 1016 ] {f15f0203-5a58-4cfc-bb0c-71220c29e6bd} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:23.117237 [ 1016 ] {f15f0203-5a58-4cfc-bb0c-71220c29e6bd} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:23.259609 [ 1016 ] {e820cb50-2c31-4056-a1f1-19a01ec7124d} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [11, 0] if_hour_of_half_day=true and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('12', 'K', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: -- invalid hour of half day select parseDateTimeInJodaSyntax('12', 'K', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x20193eba in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x20158aa6 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1354: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201736b3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:23.260978 [ 1016 ] {e820cb50-2c31-4056-a1f1-19a01ec7124d} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [11, 0] if_hour_of_half_day=true and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('12', 'K', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x20193eba in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x20158aa6 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1354: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201736b3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:23.338421 [ 1016 ] {46805c82-bf59-47f0-9c84-d75923c0445f} executeQuery: Code: 41. DB::Exception: Unable to parse fragment K from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'K', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('-1', 'K', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x20195c2c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201772e8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1352: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017369c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:23.339916 [ 1016 ] {46805c82-bf59-47f0-9c84-d75923c0445f} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment K from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'K', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x20195c2c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201772e8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1352: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017369c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:23.349252 [ 1016 ] {90aa3a23-963d-493d-8b2a-88157b9c376e} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [11, 0] if_hour_of_half_day=true and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('123456789', 'K', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'K', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x20193eba in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x20158aa6 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1354: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201736b3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:23.350601 [ 1016 ] {90aa3a23-963d-493d-8b2a-88157b9c376e} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [11, 0] if_hour_of_half_day=true and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('123456789', 'K', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x20193eba in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x20158aa6 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1354: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201736b3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:23.487504 [ 1016 ] {90062c38-6278-413d-b539-2017a8e91da0} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('13', 'h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: -- invalid clock hour of half day select parseDateTimeInJodaSyntax('13', 'h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x20193eba in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x20158aa6 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1362: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201737d3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:23.488832 [ 1016 ] {90062c38-6278-413d-b539-2017a8e91da0} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('13', 'h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x20193eba in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x20158aa6 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1362: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201737d3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:23.497572 [ 1016 ] {fdb92b9f-1177-4e64-a975-cf596660ca7d} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('0', 'h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x20193eba in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x20158aa6 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1362: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201737d3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:23.499057 [ 1016 ] {fdb92b9f-1177-4e64-a975-cf596660ca7d} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('0', 'h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x20193eba in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x20158aa6 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1362: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201737d3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:23.507198 [ 1016 ] {9ccd9623-3cb1-4dd7-bed1-67c75d6335e0} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:23.508555 [ 1016 ] {9ccd9623-3cb1-4dd7-bed1-67c75d6335e0} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:24.042975 [ 1016 ] {b74eadb6-6c0a-45be-ac2d-073c0de5d173} executeQuery: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTimeInJodaSyntax('60', 'm', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('60', 'm', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x201924b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:326: DB::(anonymous namespace)::DateTime::setMinute(int) @ 0x20158567 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1386: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMinuteOfHour(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201739ac in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:24.044980 [ 1016 ] {b74eadb6-6c0a-45be-ac2d-073c0de5d173} TCPHandler: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTimeInJodaSyntax('60', 'm', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x201924b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:326: DB::(anonymous namespace)::DateTime::setMinute(int) @ 0x20158567 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1386: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMinuteOfHour(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201739ac in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:24.125137 [ 1016 ] {a9f1a189-c4d4-4144-9d40-5cd687e919d3} executeQuery: Code: 41. DB::Exception: Unable to parse fragment m from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'm', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('-1', 'm', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x20195c2c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201772e8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1384: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMinuteOfHour(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017399c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:24.126620 [ 1016 ] {a9f1a189-c4d4-4144-9d40-5cd687e919d3} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment m from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'm', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x20195c2c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201772e8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1384: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMinuteOfHour(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x2017399c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:24.134684 [ 1016 ] {f091feb6-4eae-4baa-8b78-03cad5404b0b} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'm', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'm', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:24.136074 [ 1016 ] {f091feb6-4eae-4baa-8b78-03cad5404b0b} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'm', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:24.244885 [ 1016 ] {bf23b34c-7398-440d-8c57-1fdd1e594af0} executeQuery: Code: 41. DB::Exception: Value 60 for second must be in the range [0, 59]: While processing parseDateTimeInJodaSyntax('60', 's', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('60', 's', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x201924b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:334: DB::(anonymous namespace)::DateTime::setSecond(int) @ 0x20158ba7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1394: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaSecondOfMinute(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20173a4c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:24.246294 [ 1016 ] {bf23b34c-7398-440d-8c57-1fdd1e594af0} TCPHandler: Code: 41. DB::Exception: Value 60 for second must be in the range [0, 59]: While processing parseDateTimeInJodaSyntax('60', 's', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x201924b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:334: DB::(anonymous namespace)::DateTime::setSecond(int) @ 0x20158ba7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1394: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaSecondOfMinute(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20173a4c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:24.319766 [ 1016 ] {69319b94-79ad-4f88-a53c-019020b55cf4} executeQuery: Code: 41. DB::Exception: Unable to parse fragment s from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 's', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('-1', 's', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x20195c2c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201772e8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1392: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaSecondOfMinute(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20173a3c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:24.321163 [ 1016 ] {69319b94-79ad-4f88-a53c-019020b55cf4} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment s from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 's', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x20195c2c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201772e8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1392: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaSecondOfMinute(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20173a3c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:24.329112 [ 1016 ] {64390da5-caf1-4558-905b-b264d3b75630} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 's', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 's', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:24.330428 [ 1016 ] {64390da5-caf1-4558-905b-b264d3b75630} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 's', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20190aec in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f895 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:28:24.403078 [ 1016 ] {2d3287e3-99cb-42ae-9569-4c402ff7c617} executeQuery: Code: 41. DB::Exception: Unable to parse fragment CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC from because max_digits_to_read is too big: While processing parseDateTimeInJodaSyntax('19191919191919191919191919191919', 'CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40372) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: -- integer overflow in AST Fuzzer select parseDateTimeInJodaSyntax('19191919191919191919191919191919', 'CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x20195c2c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1122: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x20176f57 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1206: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaCenturyOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172270 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:24.404572 [ 1016 ] {2d3287e3-99cb-42ae-9569-4c402ff7c617} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC from because max_digits_to_read is too big: While processing parseDateTimeInJodaSyntax('19191919191919191919191919191919', 'CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x20195c2c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1122: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x20176f57 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1206: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaCenturyOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20172270 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176c66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176bfd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20176b61 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x20176b1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176ab5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x20176a35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201769dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201793fc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20179395 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201708f7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2016f6c9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:28:25.577578 [ 635 ] {4882e64c-8737-4ff4-ac60-974b55947dd6} executeQuery: Code: 36. DB::Exception: Primary key cannot be updated. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40454) (comment: 02577_keepermap_delete_update.sql) (in query: ALTER TABLE 02661_keepermap_delete_update UPDATE key = key * 10 WHERE 1 = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [30]) @ 0x19ef49de in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:830: DB::StorageKeeperMap::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x2befb05a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:150: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2ba3d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:25.578558 [ 635 ] {4882e64c-8737-4ff4-ac60-974b55947dd6} TCPHandler: Code: 36. DB::Exception: Primary key cannot be updated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [30]) @ 0x19ef49de in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:830: DB::StorageKeeperMap::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x2befb05a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:150: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2ba3d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:27.961147 [ 634 ] {1d653203-c2c4-4a07-8b02-73c322d50d23} executeQuery: Code: 60. DB::Exception: The drop task of table test_29qstkdp.`02681_undrop_uuid` (dbac5672-12e9-4822-9b76-929c20d3e58f) is in progress, has been dropped or the database engine doesn't support it. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33816) (comment: 02681_undrop_query_uuid.sh) (in query: undrop table 02681_undrop_uuid UUID 'dbac5672-12e9-4822-9b76-929c20d3e58f' settings allow_experimental_undrop_table_query = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:993: DB::DatabaseCatalog::dequeueDroppedTableCleanup(DB::StorageID) @ 0x29f84e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterUndropQuery.cpp:68: DB::InterpreterUndropQuery::executeToTable(DB::ASTUndropQuery&) @ 0x2aea6e7f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterUndropQuery.cpp:41: DB::InterpreterUndropQuery::execute() @ 0x2aea6824 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:27.962819 [ 634 ] {1d653203-c2c4-4a07-8b02-73c322d50d23} TCPHandler: Code: 60. DB::Exception: The drop task of table test_29qstkdp.`02681_undrop_uuid` (dbac5672-12e9-4822-9b76-929c20d3e58f) is in progress, has been dropped or the database engine doesn't support it. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:993: DB::DatabaseCatalog::dequeueDroppedTableCleanup(DB::StorageID) @ 0x29f84e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterUndropQuery.cpp:68: DB::InterpreterUndropQuery::executeToTable(DB::ASTUndropQuery&) @ 0x2aea6e7f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterUndropQuery.cpp:41: DB::InterpreterUndropQuery::execute() @ 0x2aea6824 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:29.153224 [ 1016 ] {769ef2c6-a6b4-47ab-b225-008c2cce9c3d} executeQuery: Code: 36. DB::Exception: ntile's argument type must be an unsigned integer (not larger then 64-bit), but got Float64. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33818) (comment: 02560_window_ntile.sql) (in query: -- Bad arguments select a, b, ntile(3.0) over (partition by a order by b rows between unbounded preceding and unbounded following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1986: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd68123 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd67e14 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd67bd1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd678b7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd6772a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd676b6 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2484: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2cd59d4d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd59cf8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd59c75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd59c15 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2cd59bbd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:872: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x2a038602 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2076: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044b08 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 2024.03.27 21:28:29.154792 [ 1016 ] {769ef2c6-a6b4-47ab-b225-008c2cce9c3d} TCPHandler: Code: 36. DB::Exception: ntile's argument type must be an unsigned integer (not larger then 64-bit), but got Float64. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1986: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd68123 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd67e14 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd67bd1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd678b7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd6772a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd676b6 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2484: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2cd59d4d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd59cf8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd59c75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd59c15 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2cd59bbd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:872: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x2a038602 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2076: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044b08 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 2024.03.27 21:28:29.175703 [ 1016 ] {73264ddc-5519-4df5-9769-22e1602871d6} executeQuery: Code: 36. DB::Exception: ntile's argument type must be an unsigned integer (not larger then 64-bit), but got String. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33818) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile('2') over (partition by a order by b rows between unbounded preceding and unbounded following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1986: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd68123 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd67e14 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd67bd1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd678b7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd6772a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd676b6 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2484: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2cd59d4d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd59cf8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd59c75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd59c15 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2cd59bbd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:872: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x2a038602 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2076: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044b08 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 2024.03.27 21:28:29.177290 [ 1016 ] {73264ddc-5519-4df5-9769-22e1602871d6} TCPHandler: Code: 36. DB::Exception: ntile's argument type must be an unsigned integer (not larger then 64-bit), but got String. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1986: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd68123 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd67e14 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd67bd1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd678b7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd6772a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd676b6 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2484: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2cd59d4d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd59cf8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd59c75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd59c15 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2cd59bbd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:872: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x2a038602 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2076: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044b08 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 2024.03.27 21:28:29.341111 [ 1016 ] {0526f76b-a234-45c9-89aa-3501eb2c9363} executeQuery: Code: 36. DB::Exception: ntile's argument must > 0. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33818) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(0) over (partition by a order by b rows between unbounded preceding and unbounded following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [26]) @ 0x197814fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2015: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cd685f5 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd531fc in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 2024.03.27 21:28:29.343151 [ 1016 ] {0526f76b-a234-45c9-89aa-3501eb2c9363} TCPHandler: Code: 36. DB::Exception: ntile's argument must > 0. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [26]) @ 0x197814fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2015: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cd685f5 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd531fc in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 2024.03.27 21:28:29.361719 [ 1016 ] {87f6f086-7cab-41c8-af74-c0297ab3c489} executeQuery: Code: 36. DB::Exception: ntile's argument type must be an unsigned integer (not larger then 64-bit), but got Int8. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33818) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(-2) over (partition by a order by b rows between unbounded preceding and unbounded following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1986: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd68123 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd67e14 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd67bd1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd678b7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd6772a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd676b6 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2484: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2cd59d4d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd59cf8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd59c75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd59c15 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2cd59bbd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:872: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x2a038602 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2076: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044b08 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 2024.03.27 21:28:29.363134 [ 1016 ] {87f6f086-7cab-41c8-af74-c0297ab3c489} TCPHandler: Code: 36. DB::Exception: ntile's argument type must be an unsigned integer (not larger then 64-bit), but got Int8. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1986: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd68123 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd67e14 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd67bd1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd678b7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd6772a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd676b6 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2484: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2cd59d4d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd59cf8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd59c75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd59c15 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2cd59bbd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:872: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x2a038602 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2076: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044b08 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 2024.03.27 21:28:29.537158 [ 1016 ] {aeeeab64-9ca4-40e3-b54c-2bb315af0ac5} executeQuery: Code: 36. DB::Exception: ntile's argument must be a constant. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33818) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(b + 1) over (partition by a order by b rows between unbounded preceding and unbounded following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b3f351e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2002: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cd6831a in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd531fc in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 2024.03.27 21:28:29.665197 [ 1799 ] {74bb8e4a-51e5-447c-95d5-2dae35b5ea32} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: -- test that the check which rejects hyperscan regexes with too big bounded repeats works -- {n} SELECT multiMatchAny('test', ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:29.665535 [ 1016 ] {aeeeab64-9ca4-40e3-b54c-2bb315af0ac5} TCPHandler: Code: 36. DB::Exception: ntile's argument must be a constant. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b3f351e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2002: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cd6831a in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd531fc in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 2024.03.27 21:28:29.666743 [ 1799 ] {74bb8e4a-51e5-447c-95d5-2dae35b5ea32} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:29.676624 [ 1799 ] {6ebf7f71-be64-4365-b208-64b6553ca8e3} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{ 51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:29.677981 [ 1799 ] {6ebf7f71-be64-4365-b208-64b6553ca8e3} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:29.686827 [ 1799 ] {07adf422-ec26-4479-ab84-2292c7abec20} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 }']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51 }']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:29.688114 [ 1799 ] {07adf422-ec26-4479-ab84-2292c7abec20} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 }']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:29.696775 [ 1799 ] {09b80445-6bbb-4af2-9174-32d1ebbd16c8} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['prefix.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:29.698285 [ 1799 ] {09b80445-6bbb-4af2-9174-32d1ebbd16c8} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:29.707065 [ 1799 ] {a245332e-6cce-4327-abf4-02c5efa76860} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51}.suffix']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:29.708305 [ 1799 ] {a245332e-6cce-4327-abf4-02c5efa76860} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:29.716918 [ 1799 ] {eb2b60e1-7942-465b-8463-6776f8d80bad} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{4,4}midfix{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:29.718344 [ 1799 ] {eb2b60e1-7942-465b-8463-6776f8d80bad} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:29.871361 [ 1016 ] {bb11d53f-0639-4f74-9367-4b2bc9cf44da} executeQuery: Code: 36. DB::Exception: ntile's window frame must have order by clause. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33818) (comment: 02560_window_ntile.sql) (in query: -- Bad window type select a, b, ntile(2) over (partition by a) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x1973971e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2093: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cd68ad6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cd68276 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd531fc in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:28:29.871696 [ 1799 ] {f4dfc5fc-5a08-41c2-829a-359d5957e17b} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: -- {n,} SELECT multiMatchAny('test', ['.{51,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:29.873391 [ 1016 ] {bb11d53f-0639-4f74-9367-4b2bc9cf44da} TCPHandler: Code: 36. DB::Exception: ntile's window frame must have order by clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x1973971e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2093: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cd68ad6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cd68276 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd531fc in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:28:29.874579 [ 1799 ] {f4dfc5fc-5a08-41c2-829a-359d5957e17b} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:29.892163 [ 1799 ] {a5c93360-bcfc-40bd-85dd-47eebc1dd21c} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{ 51,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:29.894749 [ 1799 ] {a5c93360-bcfc-40bd-85dd-47eebc1dd21c} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.032429 [ 1016 ] {0bb15d9a-03de-4f2f-824b-71f564599228} executeQuery: Code: 36. DB::Exception: ntile's frame start type must be UNBOUNDED PRECEDING. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33818) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b rows between 4 preceding and unbounded following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [53]) @ 0x1cb42cde in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2100: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cd68bb6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cd68276 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd531fc in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:28:30.032742 [ 1799 ] {651072bc-5cf3-46b1-ad65-5e140219ea11} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 ,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51 ,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.034254 [ 1016 ] {0bb15d9a-03de-4f2f-824b-71f564599228} TCPHandler: Code: 36. DB::Exception: ntile's frame start type must be UNBOUNDED PRECEDING. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [53]) @ 0x1cb42cde in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2100: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cd68bb6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cd68276 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd531fc in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:28:30.035512 [ 1799 ] {651072bc-5cf3-46b1-ad65-5e140219ea11} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 ,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.055483 [ 1799 ] {bdce6d64-8bf5-491b-b410-0b53b23fc626} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51, }']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51, }']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.058137 [ 1799 ] {bdce6d64-8bf5-491b-b410-0b53b23fc626} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51, }']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.199185 [ 1016 ] {a01a51bf-b002-48b9-9bbf-9786e5de9b15} executeQuery: Code: 36. DB::Exception: ntile's frame end type must be UNBOUNDED FOLLOWING. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33818) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b rows between unbounded preceding and 4 following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [51]) @ 0x196b84fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2108: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cd68c26 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cd68276 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd531fc in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:28:30.199427 [ 1799 ] {a24ae0f4-7886-4a44-962d-51c785115618} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['prefix.{51,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.201191 [ 1016 ] {a01a51bf-b002-48b9-9bbf-9786e5de9b15} TCPHandler: Code: 36. DB::Exception: ntile's frame end type must be UNBOUNDED FOLLOWING. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [51]) @ 0x196b84fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2108: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cd68c26 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cd68276 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd531fc in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:28:30.202225 [ 1799 ] {a24ae0f4-7886-4a44-962d-51c785115618} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.221093 [ 1799 ] {9c033aae-814f-480a-9471-d6d0d029fe2b} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51,}.suffix']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.224185 [ 1799 ] {9c033aae-814f-480a-9471-d6d0d029fe2b} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.233083 [ 1016 ] {c70e1c27-fdc5-4228-b038-9886286f6d68} executeQuery: Code: 36. DB::Exception: ntile's frame start type must be UNBOUNDED PRECEDING. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33818) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b rows between 4 preceding and 4 following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [53]) @ 0x1cb42cde in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2100: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cd68bb6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cd68276 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd531fc in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:28:30.234801 [ 1016 ] {c70e1c27-fdc5-4228-b038-9886286f6d68} TCPHandler: Code: 36. DB::Exception: ntile's frame start type must be UNBOUNDED PRECEDING. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [53]) @ 0x1cb42cde in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2100: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cd68bb6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cd68276 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd531fc in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:28:30.242948 [ 1799 ] {64809478-e71b-40a5-8351-1afb8e2d8a1a} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{4,4}midfix{51,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.245875 [ 1799 ] {64809478-e71b-40a5-8351-1afb8e2d8a1a} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.264104 [ 1799 ] {7be74e75-1c86-4337-93d9-a22afcdf2db7} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: -- {n,m} SELECT multiMatchAny('test', ['.{1,51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.266347 [ 1799 ] {7be74e75-1c86-4337-93d9-a22afcdf2db7} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.271446 [ 1016 ] {3884ed36-7124-473e-b849-e22befd2af9d} executeQuery: Code: 36. DB::Exception: ntile's frame start type must be UNBOUNDED PRECEDING. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33818) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b rows between current row and 4 following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [53]) @ 0x1cb42cde in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2100: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cd68bb6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cd68276 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd531fc in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:28:30.273764 [ 1016 ] {3884ed36-7124-473e-b849-e22befd2af9d} TCPHandler: Code: 36. DB::Exception: ntile's frame start type must be UNBOUNDED PRECEDING. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [53]) @ 0x1cb42cde in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2100: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cd68bb6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cd68276 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd531fc in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:28:30.281599 [ 1799 ] {cf756985-df35-449a-a6e8-f69375dee3ca} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51,52}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.284200 [ 1799 ] {cf756985-df35-449a-a6e8-f69375dee3ca} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.299041 [ 1799 ] {4ee620ac-5cb3-4f58-a466-ae82a422ae0b} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{ 51,52}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.300306 [ 1799 ] {4ee620ac-5cb3-4f58-a466-ae82a422ae0b} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.440476 [ 1016 ] {08240072-916d-4e78-a8c2-2268011e2eb9} executeQuery: Code: 36. DB::Exception: ntile's frame type must be ROWS. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33818) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b range unbounded preceding) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x201950be in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2096: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cd68b46 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cd68276 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd531fc in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:28:30.440785 [ 1799 ] {b1e44c0e-70bc-46f1-8b85-b3bebf905eaa} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 ,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51 ,52}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.442492 [ 1016 ] {08240072-916d-4e78-a8c2-2268011e2eb9} TCPHandler: Code: 36. DB::Exception: ntile's frame type must be ROWS. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x201950be in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2096: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cd68b46 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cd68276 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd531fc in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:28:30.443165 [ 1799 ] {b1e44c0e-70bc-46f1-8b85-b3bebf905eaa} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 ,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.456808 [ 1799 ] {0d64bec3-ec47-4749-881b-b32599127ba5} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51, 52}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51, 52}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.458755 [ 1799 ] {0d64bec3-ec47-4749-881b-b32599127ba5} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51, 52}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.471839 [ 1799 ] {7f70c5cb-35ea-4d14-893d-fbb413382bc0} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,52 }']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51,52 }']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.473833 [ 1799 ] {7f70c5cb-35ea-4d14-893d-fbb413382bc0} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,52 }']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.488278 [ 1799 ] {96a1e990-526f-47f4-95fb-d85cc26536b2} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['prefix.{1,51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.490595 [ 1799 ] {96a1e990-526f-47f4-95fb-d85cc26536b2} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.506065 [ 1799 ] {b65061e6-005d-4c87-811e-6a83efa18c0e} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{1,51}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{1,51}.suffix']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.507411 [ 1799 ] {b65061e6-005d-4c87-811e-6a83efa18c0e} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{1,51}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.516532 [ 1799 ] {7249eaf2-362d-4e0e-9d8b-853fe2cdb3c2} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{4,4}midfix{1,51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.517937 [ 1799 ] {7249eaf2-362d-4e0e-9d8b-853fe2cdb3c2} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.565664 [ 1799 ] {4322add0-a591-4c28-98f2-73d901cb52e3} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('Hallo Welt', ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.566944 [ 1799 ] {4322add0-a591-4c28-98f2-73d901cb52e3} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9414fe in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f940721 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f940097 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.691892 [ 1799 ] {db92c96f-7954-47bf-8111-7a26f1a9b42e} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny(c, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9409f9 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:72: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9405fa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f93ff48 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:28:30.693084 [ 1799 ] {db92c96f-7954-47bf-8111-7a26f1a9b42e} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9409f9 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:72: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9405fa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f93ff48 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:28:30.798771 [ 1799 ] {e8271e1b-b370-4c2e-9cbe-3f2c7e44b381} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAnyIndex('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAnyIndex('Hallo Welt', ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9460e4 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f945301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f944c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.800249 [ 1799 ] {e8271e1b-b370-4c2e-9cbe-3f2c7e44b381} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAnyIndex('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9460e4 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f945301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f944c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:30.928354 [ 1799 ] {34b94487-9f37-4b78-92e4-b8648e31d9c1} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAnyIndex(c, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9455d9 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:72: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9451da in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f944b28 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:28:30.929512 [ 1799 ] {34b94487-9f37-4b78-92e4-b8648e31d9c1} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9455d9 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:72: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9451da in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f944b28 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:28:31.038167 [ 1799 ] {1e476190-97e3-41b2-a4b8-89fdbb3297f5} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAllIndices('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAllIndices('Hallo Welt', ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:216: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f93c83e in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAllIndicesImpl.h:166: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f93ba21 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f93b357 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:31.039732 [ 1799 ] {1e476190-97e3-41b2-a4b8-89fdbb3297f5} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAllIndices('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:216: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f93c83e in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAllIndicesImpl.h:166: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f93ba21 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f93b357 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:28:31.178944 [ 1799 ] {3f75be2c-c167-464b-9277-47611181e8c6} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAllIndices(c, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:87: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f93bcf9 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAllIndicesImpl.h:58: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f93b8fa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f93b208 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:28:31.180168 [ 1799 ] {3f75be2c-c167-464b-9277-47611181e8c6} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:87: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f93bcf9 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAllIndicesImpl.h:58: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f93b8fa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f93b208 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:28:31.296185 [ 1799 ] {d5c18b88-3650-4e28-8094-6246b79ca7a8} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAny('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAny('Hallo Welt', 1, ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f92691e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9255ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:28:31.297606 [ 1799 ] {d5c18b88-3650-4e28-8094-6246b79ca7a8} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAny('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f92691e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9255ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:28:31.424411 [ 1799 ] {c4da453c-0358-4d68-90da-9e94b6727c28} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAny(c, 1, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f925eb9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f925415 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:28:31.425517 [ 1799 ] {c4da453c-0358-4d68-90da-9e94b6727c28} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f925eb9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f925415 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:28:31.537125 [ 1799 ] {cfbd0760-5f03-47ac-9882-6b9274bec3c8} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAnyIndex('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAnyIndex('Hallo Welt', 1, ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f92b944 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f92a5cc in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:28:31.538817 [ 1799 ] {cfbd0760-5f03-47ac-9882-6b9274bec3c8} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAnyIndex('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f92b944 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f92a5cc in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:28:31.622784 [ 1161 ] {} MergeTreeDataWriter: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 'string1').). 2024.03.27 21:28:31.681556 [ 1799 ] {92fbb346-1122-4c49-a476-304a12492af6} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAnyIndex(c, 1, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f92aed9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f92a435 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:28:31.682693 [ 1799 ] {92fbb346-1122-4c49-a476-304a12492af6} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f92aed9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f92a435 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:28:31.787309 [ 1799 ] {5332fd21-b31f-4032-a32d-b6a776ddabb3} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAllIndices('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAllIndices('Hallo Welt', 1, ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:216: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f917a1e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f91660c in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:28:31.788683 [ 1799 ] {5332fd21-b31f-4032-a32d-b6a776ddabb3} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAllIndices('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:216: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f917a1e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f91660c in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:28:31.915026 [ 1799 ] {f03213f2-83eb-4224-b710-8bbf72b108a7} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAllIndices(c, 1, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:87: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f916f79 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f916475 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:28:31.916131 [ 1799 ] {f03213f2-83eb-4224-b710-8bbf72b108a7} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f9186be in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:87: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f916f79 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f916475 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:28:33.524937 [ 634 ] {4423550f-508f-4f72-ab44-bb4724fe1aaf} executeQuery: Code: 184. DB::Exception: Window function count(NULL) OVER (ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) is found in GROUP BY in query. (ILLEGAL_AGGREGATION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33912) (comment: 02552_analyzer_optimize_group_by_function_keys_crash.sql) (in query: SELECT NULL GROUP BY tuple('0.0000000007'), count(NULL) OVER (ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) -- { serverError 184 }; ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0476ec in /usr/bin/clickhouse 6. /build/src/Analyzer/WindowFunctionsUtils.cpp:43: DB::(anonymous namespace)::CollectWindowFunctionNodeVisitor::visitImpl(std::shared_ptr const&) @ 0x2ace4101 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:60: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ace3c56 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:77: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2ace3fe2 in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ace3c73 in /usr/bin/clickhouse 10. /build/src/Analyzer/WindowFunctionsUtils.cpp:102: DB::assertNoWindowFunctionNodes(std::shared_ptr const&, String const&) @ 0x2ace3e49 in /usr/bin/clickhouse 11. /build/src/Analyzer/ValidationUtils.cpp:196: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x2acdcbda in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6859: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac64cbc in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:33.526187 [ 634 ] {4423550f-508f-4f72-ab44-bb4724fe1aaf} TCPHandler: Code: 184. DB::Exception: Window function count(NULL) OVER (ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) is found in GROUP BY in query. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0476ec in /usr/bin/clickhouse 6. /build/src/Analyzer/WindowFunctionsUtils.cpp:43: DB::(anonymous namespace)::CollectWindowFunctionNodeVisitor::visitImpl(std::shared_ptr const&) @ 0x2ace4101 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:60: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ace3c56 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:77: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2ace3fe2 in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ace3c73 in /usr/bin/clickhouse 10. /build/src/Analyzer/WindowFunctionsUtils.cpp:102: DB::assertNoWindowFunctionNodes(std::shared_ptr const&, String const&) @ 0x2ace3e49 in /usr/bin/clickhouse 11. /build/src/Analyzer/ValidationUtils.cpp:196: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x2acdcbda in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6859: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac64cbc in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:41.625088 [ 1161 ] {} MergeTreeDataWriter: Incorrect data: number of rows with sign = 1 (3) differs with number of rows with sign = -1 (0) by more than one (for key: 'string2').). 2024.03.27 21:28:41.632520 [ 1161 ] {} MergeTreeDataWriter: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 'string2').). 2024.03.27 21:28:46.249988 [ 1011 ] {} ServerErrorHandler: Code: 101. DB::NetException: Unexpected packet from client. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:13: DB::NetException::NetException(int, char const (&) [30]) @ 0x2c7c097e in /usr/bin/clickhouse 6. /build/src/Server/TCPHandler.cpp:1227: DB::TCPHandler::receiveHello() @ 0x2c7af531 in /usr/bin/clickhouse 7. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c7a6944 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 9. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 11. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 14. ? @ 0x7f2098f50609 in ? 15. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:28:46.251192 [ 1799 ] {} ServerErrorHandler: Code: 101. DB::NetException: Unexpected packet from client. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:13: DB::NetException::NetException(int, char const (&) [30]) @ 0x2c7c097e in /usr/bin/clickhouse 6. /build/src/Server/TCPHandler.cpp:1227: DB::TCPHandler::receiveHello() @ 0x2c7af531 in /usr/bin/clickhouse 7. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c7a6944 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 9. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 11. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 14. ? @ 0x7f2098f50609 in ? 15. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:28:48.626652 [ 635 ] {3195777f-c876-4544-9cc4-4cfc41acdf52} executeQuery: Code: 36. DB::Exception: groupArrayLast make sense only with max_elems (groupArrayLast(max_elems)()). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48354) (comment: 02520_group_array_last.sql) (in query: -- { echo } -- BAD_ARGUMENTS select groupArrayLast(number+1) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [76]) @ 0x221c733e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:80: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionGroupArray(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x22ca9872 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:28:48.715913 [ 634 ] {99b8d44c-4124-4fd1-8bc7-579b2f81eb50} executeQuery: Code: 44. DB::Exception: Illegal column Const(Array(UInt32)) of argument of function concat: while executing 'FUNCTION concat(x :: 0, [1048577]_Array(UInt32) :: 1, ''_String :: 2) -> concat(x, [1048577]_Array(UInt32), ''_String) String : 3'. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48346) (comment: 02521_analyzer_array_join_crash.sql) (in query: SELECT arrayFilter(x -> notEmpty(concat(x)), [NULL, NULL]) FROM system.one ARRAY JOIN [1048577] AS elem, arrayMap(x -> concat(x, elem, ''), ['']) AS unused;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:149: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x1bf9474f in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:0: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1bf93afa in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a00d66e in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsMiscellaneous.h:48: DB::ExecutableFunctionExpression::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x29dc1fc6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 20. /build/src/Columns/ColumnFunction.cpp:309: DB::ColumnFunction::reduce() const @ 0x2b5a09e8 in /usr/bin/clickhouse 21. /build/src/Functions/array/FunctionArrayMapped.h:396: DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b0692d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 30. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&>(DB::DataStream const&, std::shared_ptr&) @ 0x290c29f1 in /usr/bin/clickhouse 2024.03.27 21:28:48.719048 [ 635 ] {3195777f-c876-4544-9cc4-4cfc41acdf52} TCPHandler: Code: 36. DB::Exception: groupArrayLast make sense only with max_elems (groupArrayLast(max_elems)()). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [76]) @ 0x221c733e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:80: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionGroupArray(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x22ca9872 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:28:48.721242 [ 634 ] {99b8d44c-4124-4fd1-8bc7-579b2f81eb50} TCPHandler: Code: 44. DB::Exception: Illegal column Const(Array(UInt32)) of argument of function concat: while executing 'FUNCTION concat(x :: 0, [1048577]_Array(UInt32) :: 1, ''_String :: 2) -> concat(x, [1048577]_Array(UInt32), ''_String) String : 3'. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:149: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x1bf9474f in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:0: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1bf93afa in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a00d66e in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsMiscellaneous.h:48: DB::ExecutableFunctionExpression::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x29dc1fc6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 20. /build/src/Columns/ColumnFunction.cpp:309: DB::ColumnFunction::reduce() const @ 0x2b5a09e8 in /usr/bin/clickhouse 21. /build/src/Functions/array/FunctionArrayMapped.h:396: DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b0692d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 30. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&>(DB::DataStream const&, std::shared_ptr&) @ 0x290c29f1 in /usr/bin/clickhouse 2024.03.27 21:28:48.843674 [ 635 ] {f294eaad-ce3a-4a85-9350-fb518d841cc6} executeQuery: Code: 36. DB::Exception: groupArrayLast make sense only with max_elems (groupArrayLast(max_elems)()). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48354) (comment: 02520_group_array_last.sql) (in query: select groupArrayLastArray([number+1]) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [76]) @ 0x221c733e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:80: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionGroupArray(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x22ca9872 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:199: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b3dbe in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:28:48.845392 [ 635 ] {f294eaad-ce3a-4a85-9350-fb518d841cc6} TCPHandler: Code: 36. DB::Exception: groupArrayLast make sense only with max_elems (groupArrayLast(max_elems)()). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [76]) @ 0x221c733e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:80: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionGroupArray(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x22ca9872 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:199: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b3dbe in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:28:49.037817 [ 634 ] {} Access(user directories): from: ::1, user: MySQL: Authentication failed: Code: 192. DB::Exception: There is no user `MySQL` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x2921f479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922209d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b0906a9 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c7b0f75 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c7a6944 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:28:49.121155 [ 634 ] {} ServerErrorHandler: Code: 516. DB::Exception: MySQL: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b0906a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c7b0f75 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c7a6944 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:28:50.101323 [ 634 ] {44d0fa79-8d0d-49b4-b4f2-04dd1de9921d} executeQuery: Code: 36. DB::Exception: DELETE query is not supported for table test_e5zjxebp.kekv. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48374) (comment: 02518_delete_on_materialized_view.sql) (in query: DELETE FROM kekv WHERE a = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:108: DB::InterpreterDeleteQuery::execute() @ 0x2ad56fce in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 16. ? @ 0x7f2098f50609 in ? 17. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:50.102241 [ 634 ] {44d0fa79-8d0d-49b4-b4f2-04dd1de9921d} TCPHandler: Code: 36. DB::Exception: DELETE query is not supported for table test_e5zjxebp.kekv. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:108: DB::InterpreterDeleteQuery::execute() @ 0x2ad56fce in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 16. ? @ 0x7f2098f50609 in ? 17. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:50.107692 [ 634 ] {11364839-5267-475e-a7e8-d501a4d80cdb} executeQuery: Code: 36. DB::Exception: DELETE query is not supported for table test_e5zjxebp.kekv. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48374) (comment: 02518_delete_on_materialized_view.sql) (in query: DELETE FROM kekv WHERE a = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:108: DB::InterpreterDeleteQuery::execute() @ 0x2ad56fce in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 16. ? @ 0x7f2098f50609 in ? 17. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:50.108489 [ 634 ] {11364839-5267-475e-a7e8-d501a4d80cdb} TCPHandler: Code: 36. DB::Exception: DELETE query is not supported for table test_e5zjxebp.kekv. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:108: DB::InterpreterDeleteQuery::execute() @ 0x2ad56fce in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 16. ? @ 0x7f2098f50609 in ? 17. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:51.831495 [ 1799 ] {} Access(user directories): from: ::1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:711: DB::IAccessStorage::throwInvalidCredentials() @ 0x29222311 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:494: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922203d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b0906a9 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c7b0f75 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c7a6944 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:28:51.833702 [ 1799 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b0906a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c7b0f75 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c7a6944 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:28:53.206513 [ 1799 ] {a12157dc-f582-4936-91a9-af7ba71e7f81} executeQuery: Code: 36. DB::Exception: index_granularity: value 0 makes no sense. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48474) (comment: 02514_bad_index_granularity.sql) (in query: CREATE TABLE t (`id` Int64, `d` String, `p` Map(String, String)) ENGINE = ReplacingMergeTree ORDER BY id SETTINGS index_granularity = 0, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0.35378098487854004, merge_max_block_size = 8421, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 23815407), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29e98093 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeSettings.cpp:147: DB::MergeTreeSettings::sanityCheck(unsigned long) const @ 0x2c37becb in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:326: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b9384 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 21. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 2024.03.27 21:28:53.208502 [ 1799 ] {a12157dc-f582-4936-91a9-af7ba71e7f81} TCPHandler: Code: 36. DB::Exception: index_granularity: value 0 makes no sense. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29e98093 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeSettings.cpp:147: DB::MergeTreeSettings::sanityCheck(unsigned long) const @ 0x2c37becb in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:326: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b9384 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 21. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 2024.03.27 21:28:54.754238 [ 635 ] {08085839-29d6-424a-b936-4522b29810c7} executeQuery: Code: 48. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48548) (comment: 02497_having_without_actual_aggregation_bug.sql) (in query: select queryID() as t from numbers(10) with totals having t = initialQueryID();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [81]) @ 0x21126dde in /usr/bin/clickhouse 6. /build/src/Analyzer/ValidationUtils.cpp:276: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x2acdd8a6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6859: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac64cbc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 10. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:54.755352 [ 635 ] {08085839-29d6-424a-b936-4522b29810c7} TCPHandler: Code: 48. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [81]) @ 0x21126dde in /usr/bin/clickhouse 6. /build/src/Analyzer/ValidationUtils.cpp:276: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x2acdd8a6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6859: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac64cbc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 10. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:54.874531 [ 635 ] {913fe72e-fa43-42cc-815f-1adc8c192aaf} executeQuery: Code: 48. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48548) (comment: 02497_having_without_actual_aggregation_bug.sql) (in query: select count() from (select queryID() as t from remote('127.0.0.{1..3}', numbers(10)) with totals having t = initialQueryID()) settings prefer_localhost_replica = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [81]) @ 0x21126dde in /usr/bin/clickhouse 6. /build/src/Analyzer/ValidationUtils.cpp:276: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x2acdd8a6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6859: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac64cbc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5463: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68c9d in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6438: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea2f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:54.875730 [ 635 ] {913fe72e-fa43-42cc-815f-1adc8c192aaf} TCPHandler: Code: 48. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [81]) @ 0x21126dde in /usr/bin/clickhouse 6. /build/src/Analyzer/ValidationUtils.cpp:276: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x2acdd8a6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6859: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac64cbc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5463: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68c9d in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6438: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea2f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:58.170666 [ 635 ] {a9545527-9ce9-43f9-9303-a3e1ce9e8432} executeQuery: Code: 47. DB::Exception: There's no column 'a.column2' in table 'a': While processing SELECT `--a.column1` AS `a.column1`, `--b.column1` AS `b.column1`, column2 AS `b.column2`, `--b.column3` AS `b.column3`, c.column3 AS `c.column3` FROM (SELECT column1 FROM table1 GROUP BY column1) AS a ANY LEFT JOIN (SELECT * FROM table2) AS b ON (`--b.column1` = `--a.column1`) AND (column2 = a.column2) ANY LEFT JOIN (SELECT * FROM table3) AS c ON c.column3 = b.column3. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52334) (comment: 02493_do_not_assume_that_the_original_query_was_valid_when_transforming_joins.sql) (in query: SELECT * FROM ( SELECT column1 FROM table1 GROUP BY column1 ) AS a ANY LEFT JOIN ( SELECT * FROM table2 ) AS b ON (b.column1 = a.column1) AND (b.column2 = a.column2) ANY LEFT JOIN ( SELECT * FROM table3 ) AS c ON c.column3 = b.column3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:616: DB::(anonymous namespace)::normalizeColumnNamesExtractNeeded(std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::vector> const&, std::unordered_set, std::equal_to, std::allocator> const&, DB::(anonymous namespace)::UniqueShortNames&) @ 0x2aeae5a9 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:782: DB::JoinToSubqueryTransformMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::JoinToSubqueryTransformMatcher::Data&) @ 0x2aeacca5 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:673: DB::JoinToSubqueryTransformMatcher::visit(std::shared_ptr&, DB::JoinToSubqueryTransformMatcher::Data&) @ 0x2aeabd01 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2adb2680 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2adb2861 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2adb260a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2adb1c65 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:268: DB::(anonymous namespace)::rewriteMultipleJoins(std::shared_ptr&, std::vector> const&, String const&, DB::Settings const&) @ 0x2ad91da4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:467: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8e8bd in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:58.172235 [ 635 ] {a9545527-9ce9-43f9-9303-a3e1ce9e8432} TCPHandler: Code: 47. DB::Exception: There's no column 'a.column2' in table 'a': While processing SELECT `--a.column1` AS `a.column1`, `--b.column1` AS `b.column1`, column2 AS `b.column2`, `--b.column3` AS `b.column3`, c.column3 AS `c.column3` FROM (SELECT column1 FROM table1 GROUP BY column1) AS a ANY LEFT JOIN (SELECT * FROM table2) AS b ON (`--b.column1` = `--a.column1`) AND (column2 = a.column2) ANY LEFT JOIN (SELECT * FROM table3) AS c ON c.column3 = b.column3. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:616: DB::(anonymous namespace)::normalizeColumnNamesExtractNeeded(std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::vector> const&, std::unordered_set, std::equal_to, std::allocator> const&, DB::(anonymous namespace)::UniqueShortNames&) @ 0x2aeae5a9 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:782: DB::JoinToSubqueryTransformMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::JoinToSubqueryTransformMatcher::Data&) @ 0x2aeacca5 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:673: DB::JoinToSubqueryTransformMatcher::visit(std::shared_ptr&, DB::JoinToSubqueryTransformMatcher::Data&) @ 0x2aeabd01 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2adb2680 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2adb2861 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2adb260a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2adb1c65 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:268: DB::(anonymous namespace)::rewriteMultipleJoins(std::shared_ptr&, std::vector> const&, String const&, DB::Settings const&) @ 0x2ad91da4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:467: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8e8bd in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.695555 [ 1015 ] {bfe82775-e143-4b11-88eb-791d0c648958} executeQuery: Code: 47. DB::Exception: Missing columns: '_1000' while processing query: 'SELECT _1000', required columns: '_1000'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: -- Things that are not a number select _1000;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.697042 [ 1015 ] {bfe82775-e143-4b11-88eb-791d0c648958} TCPHandler: Code: 47. DB::Exception: Missing columns: '_1000' while processing query: 'SELECT _1000', required columns: '_1000'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.723826 [ 1015 ] {c886f360-ceaa-409c-91ce-fba4db469d42} executeQuery: Code: 47. DB::Exception: Missing columns: '_1' while processing query: 'SELECT -_1', required columns: '_1'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select -_1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.724747 [ 1015 ] {c886f360-ceaa-409c-91ce-fba4db469d42} TCPHandler: Code: 47. DB::Exception: Missing columns: '_1' while processing query: 'SELECT -_1', required columns: '_1'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.746790 [ 1015 ] {a31f07d3-4bcf-4e1f-be46-5d7278c258ba} executeQuery: Code: 47. DB::Exception: Missing columns: '1__0' while processing query: 'SELECT `1__0`', required columns: '1__0'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1__0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.747807 [ 1015 ] {a31f07d3-4bcf-4e1f-be46-5d7278c258ba} TCPHandler: Code: 47. DB::Exception: Missing columns: '1__0' while processing query: 'SELECT `1__0`', required columns: '1__0'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.754104 [ 1015 ] {809cf273-a5df-4cf4-884a-c0f07e10e82e} executeQuery: Code: 47. DB::Exception: Missing columns: '1_' while processing query: 'SELECT `1_`', required columns: '1_'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.755415 [ 1015 ] {809cf273-a5df-4cf4-884a-c0f07e10e82e} TCPHandler: Code: 47. DB::Exception: Missing columns: '1_' while processing query: 'SELECT `1_`', required columns: '1_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.761146 [ 1015 ] {7ed2111c-2b77-4b9e-a7c4-9f18ea238434} executeQuery: Code: 47. DB::Exception: Missing columns: '1_' while processing query: 'SELECT `1_`', required columns: '1_'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1_ ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.762257 [ 1015 ] {7ed2111c-2b77-4b9e-a7c4-9f18ea238434} TCPHandler: Code: 47. DB::Exception: Missing columns: '1_' while processing query: 'SELECT `1_`', required columns: '1_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.767769 [ 1015 ] {05529959-d729-455f-a114-c916cec1589a} executeQuery: Code: 47. DB::Exception: Missing columns: '10_' while processing query: 'SELECT `10_`', required columns: '10_'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 10_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.768974 [ 1015 ] {05529959-d729-455f-a114-c916cec1589a} TCPHandler: Code: 47. DB::Exception: Missing columns: '10_' while processing query: 'SELECT `10_`', required columns: '10_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.774522 [ 1015 ] {e663399b-4975-421b-ba4a-0fbb366d621f} executeQuery: Code: 47. DB::Exception: Missing columns: '1_e5' while processing query: 'SELECT `1_e5`', required columns: '1_e5'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1_e5;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.775514 [ 1015 ] {e663399b-4975-421b-ba4a-0fbb366d621f} TCPHandler: Code: 47. DB::Exception: Missing columns: '1_e5' while processing query: 'SELECT `1_e5`', required columns: '1_e5'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.780772 [ 1015 ] {ccf1c0e2-7d5f-42bc-b87e-08d2bb865cfa} executeQuery: Code: 47. DB::Exception: Missing columns: '1e_5' while processing query: 'SELECT `1e_5`', required columns: '1e_5'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1e_5;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.781908 [ 1015 ] {ccf1c0e2-7d5f-42bc-b87e-08d2bb865cfa} TCPHandler: Code: 47. DB::Exception: Missing columns: '1e_5' while processing query: 'SELECT `1e_5`', required columns: '1e_5'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.787319 [ 1015 ] {475d688f-0301-47c7-bedc-8ef06383c547} executeQuery: Code: 47. DB::Exception: Missing columns: '1e5_' while processing query: 'SELECT `1e5_`', required columns: '1e5_'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1e5_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.788293 [ 1015 ] {475d688f-0301-47c7-bedc-8ef06383c547} TCPHandler: Code: 47. DB::Exception: Missing columns: '1e5_' while processing query: 'SELECT `1e5_`', required columns: '1e5_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.794030 [ 1015 ] {70734c33-1d6c-4bb8-8317-f527956cdf1b} executeQuery: Code: 47. DB::Exception: Missing columns: '1e_' while processing query: 'SELECT `1e_`', required columns: '1e_'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1e_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.794996 [ 1015 ] {70734c33-1d6c-4bb8-8317-f527956cdf1b} TCPHandler: Code: 47. DB::Exception: Missing columns: '1e_' while processing query: 'SELECT `1e_`', required columns: '1e_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.802134 [ 1015 ] {3927f135-eb3a-4131-9c92-be738f7842f9} executeQuery: Code: 47. DB::Exception: Missing columns: '1e_1' while processing query: 'SELECT `1e_1`', required columns: '1e_1'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1e_1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.803895 [ 1015 ] {3927f135-eb3a-4131-9c92-be738f7842f9} TCPHandler: Code: 47. DB::Exception: Missing columns: '1e_1' while processing query: 'SELECT `1e_1`', required columns: '1e_1'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.811000 [ 1015 ] {35519ebc-a664-4e21-b1d5-c77b9abd89c9} executeQuery: Code: 47. DB::Exception: Missing columns: '0_x2' while processing query: 'SELECT `0_x2`', required columns: '0_x2'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0_x2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.812361 [ 1015 ] {35519ebc-a664-4e21-b1d5-c77b9abd89c9} TCPHandler: Code: 47. DB::Exception: Missing columns: '0_x2' while processing query: 'SELECT `0_x2`', required columns: '0_x2'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.819627 [ 1015 ] {505cb441-c853-4923-b4c2-fd5e57579f05} executeQuery: Code: 47. DB::Exception: Missing columns: '0x2_p2' while processing query: 'SELECT `0x2_p2`', required columns: '0x2_p2'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x2_p2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.820641 [ 1015 ] {505cb441-c853-4923-b4c2-fd5e57579f05} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x2_p2' while processing query: 'SELECT `0x2_p2`', required columns: '0x2_p2'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.826835 [ 1015 ] {ce8678b5-91ed-4ce8-8a28-5ac9338afba7} executeQuery: Code: 47. DB::Exception: Missing columns: '0x2p_2' while processing query: 'SELECT `0x2p_2`', required columns: '0x2p_2'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x2p_2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.827835 [ 1015 ] {ce8678b5-91ed-4ce8-8a28-5ac9338afba7} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x2p_2' while processing query: 'SELECT `0x2p_2`', required columns: '0x2p_2'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.833418 [ 1015 ] {326579b9-39df-478e-b98b-1a4fc1febc8d} executeQuery: Code: 47. DB::Exception: Missing columns: '0x2p2_' while processing query: 'SELECT `0x2p2_`', required columns: '0x2p2_'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x2p2_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.834458 [ 1015 ] {326579b9-39df-478e-b98b-1a4fc1febc8d} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x2p2_' while processing query: 'SELECT `0x2p2_`', required columns: '0x2p2_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.840961 [ 1015 ] {9029be79-f6dd-443f-a757-6fbc629a5bf3} executeQuery: Code: 47. DB::Exception: Missing columns: '0b' while processing query: 'SELECT `0b`', required columns: '0b'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0b;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.842028 [ 1015 ] {9029be79-f6dd-443f-a757-6fbc629a5bf3} TCPHandler: Code: 47. DB::Exception: Missing columns: '0b' while processing query: 'SELECT `0b`', required columns: '0b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.847404 [ 1015 ] {1f60a3b3-f35b-4d57-9c9d-ec63ddbff174} executeQuery: Code: 47. DB::Exception: Missing columns: '0b' while processing query: 'SELECT `0b`', required columns: '0b'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0b ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.848452 [ 1015 ] {1f60a3b3-f35b-4d57-9c9d-ec63ddbff174} TCPHandler: Code: 47. DB::Exception: Missing columns: '0b' while processing query: 'SELECT `0b`', required columns: '0b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.854355 [ 1015 ] {8ac6c8b8-f98a-4b55-998b-4efd9c6336ca} executeQuery: Code: 47. DB::Exception: Missing columns: '0x' while processing query: 'SELECT `0x`', required columns: '0x'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.855644 [ 1015 ] {8ac6c8b8-f98a-4b55-998b-4efd9c6336ca} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x' while processing query: 'SELECT `0x`', required columns: '0x'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.861595 [ 1015 ] {9c0d8244-3fcd-4b90-9a58-496d0452f9d8} executeQuery: Code: 47. DB::Exception: Missing columns: '0x' while processing query: 'SELECT `0x`', required columns: '0x'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.862861 [ 1015 ] {9c0d8244-3fcd-4b90-9a58-496d0452f9d8} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x' while processing query: 'SELECT `0x`', required columns: '0x'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.868604 [ 1015 ] {72d819e4-42a7-4e1c-9785-4c0615f8eed0} executeQuery: Code: 47. DB::Exception: Missing columns: '0x_' while processing query: 'SELECT `0x_`', required columns: '0x_'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.869510 [ 1015 ] {72d819e4-42a7-4e1c-9785-4c0615f8eed0} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x_' while processing query: 'SELECT `0x_`', required columns: '0x_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.875079 [ 1015 ] {d431d06a-4a29-4e7c-b44d-d0f362e00883} executeQuery: Code: 47. DB::Exception: Missing columns: '0x_1' while processing query: 'SELECT `0x_1`', required columns: '0x_1'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52344) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x_1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:28:59.876083 [ 1015 ] {d431d06a-4a29-4e7c-b44d-d0f362e00883} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x_1' while processing query: 'SELECT `0x_1`', required columns: '0x_1'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:00.809609 [ 635 ] {f96e45b1-3d50-4d2c-b14c-6b99dc8d549c} executeQuery: Code: 117. DB::Exception: Incorrect data: is_deleted = 2 (must be 1 or 0). (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52360) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: -- is_deleted == 0/1 INSERT INTO test (*) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Processors/Merges/Algorithms/ReplacingSortedAlgorithm.cpp:97: DB::ReplacingSortedAlgorithm::merge() @ 0x2ce594f6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:319: DB::MergeTreeDataWriter::mergeBlock(DB::Block const&, DB::SortDescription, std::vector> const&, DB::PODArray, 63ul, 64ul>*&, DB::MergeTreeData::MergingParams const&) @ 0x2c3fd699 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:431: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x2c3fec97 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:340: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x2c3fde5d in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeSink.cpp:84: DB::MergeTreeSink::consume(DB::Chunk) @ 0x2c5af640 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 2024.03.27 21:29:00.811172 [ 635 ] {f96e45b1-3d50-4d2c-b14c-6b99dc8d549c} TCPHandler: Code: 117. DB::Exception: Incorrect data: is_deleted = 2 (must be 1 or 0). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Processors/Merges/Algorithms/ReplacingSortedAlgorithm.cpp:97: DB::ReplacingSortedAlgorithm::merge() @ 0x2ce594f6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:319: DB::MergeTreeDataWriter::mergeBlock(DB::Block const&, DB::SortDescription, std::vector> const&, DB::PODArray, 63ul, 64ul>*&, DB::MergeTreeData::MergingParams const&) @ 0x2c3fd699 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:431: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x2c3fec97 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:340: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x2c3fde5d in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeSink.cpp:84: DB::MergeTreeSink::consume(DB::Chunk) @ 0x2c5af640 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 2024.03.27 21:29:00.988532 [ 635 ] {d31c8d7f-cf88-4141-b640-d8715af12119} executeQuery: Code: 169. DB::Exception: is_deleted column (is_deleted) for storage ReplacingMergeTree must have type UInt8. Provided column of type String. (BAD_TYPE_OF_FIELD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52360) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: CREATE TABLE test (`uid` String, `version` UInt32, `is_deleted` String) ENGINE = ReplacingMergeTree(version, is_deleted) ORDER BY uid SETTINGS index_granularity = 42984, min_bytes_for_wide_part = 906219334, ratio_of_defaults_for_sparse_serialization = 0.8709906339645386, merge_max_block_size = 20183, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 181219, vertical_merge_algorithm_min_columns_to_activate = 42, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 19581215), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String&&) @ 0x2aba92a8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:826: DB::MergeTreeData::MergingParams::check(DB::StorageInMemoryMetadata const&) const::$_20::operator()(bool, String const&) const @ 0x2c0bf046 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:875: DB::MergeTreeData::MergingParams::check(DB::StorageInMemoryMetadata const&) const @ 0x2c0badd3 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:352: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b9939 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 2024.03.27 21:29:00.990101 [ 635 ] {d31c8d7f-cf88-4141-b640-d8715af12119} TCPHandler: Code: 169. DB::Exception: is_deleted column (is_deleted) for storage ReplacingMergeTree must have type UInt8. Provided column of type String. (BAD_TYPE_OF_FIELD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String&&) @ 0x2aba92a8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:826: DB::MergeTreeData::MergingParams::check(DB::StorageInMemoryMetadata const&) const::$_20::operator()(bool, String const&) const @ 0x2c0bf046 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:875: DB::MergeTreeData::MergingParams::check(DB::StorageInMemoryMetadata const&) const @ 0x2c0badd3 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:352: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b9939 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 2024.03.27 21:29:01.138785 [ 635 ] {b0109d31-798c-44b9-8437-0c0eb0799704} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52360) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c57bf5c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ad79265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:01.139719 [ 635 ] {b0109d31-798c-44b9-8437-0c0eb0799704} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c57bf5c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ad79265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:01.226717 [ 635 ] {7b0aee9e-cade-482c-9582-ae4f724fc318} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52360) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testSummingMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c57bf5c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ad79265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:01.227717 [ 635 ] {7b0aee9e-cade-482c-9582-ae4f724fc318} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c57bf5c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ad79265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:01.313003 [ 635 ] {94d4d0c0-e0ef-43c8-af6c-c199af1fd641} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52360) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testAggregatingMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c57bf5c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ad79265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:01.314125 [ 635 ] {94d4d0c0-e0ef-43c8-af6c-c199af1fd641} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c57bf5c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ad79265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:01.410347 [ 635 ] {f46452c7-a693-4e25-8d74-8eeb90a5b842} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52360) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testCollapsingMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c57bf5c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ad79265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:01.411269 [ 635 ] {f46452c7-a693-4e25-8d74-8eeb90a5b842} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c57bf5c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ad79265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:01.505030 [ 635 ] {e6a6c258-3f84-4c0f-9929-8cfadfa716eb} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52360) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testVersionedCMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c57bf5c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ad79265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:01.506032 [ 635 ] {e6a6c258-3f84-4c0f-9929-8cfadfa716eb} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c57bf5c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ad79265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:02.438558 [ 635 ] {42a394d8-84c8-45f1-bebf-85ee896b8709} executeQuery: Code: 36. DB::Exception: Function reverseDNSQuery requires the input column to be of type String: While processing reverseDNSQuery(1). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52428) (comment: 02483_test_reverse_dns_resolution.sql) (in query: -- Expect error, invalid column type select reverseDNSQuery(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/reverseDNSQuery.cpp:59: DB::ReverseDNSQuery::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d20d14 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:29:02.439951 [ 635 ] {42a394d8-84c8-45f1-bebf-85ee896b8709} TCPHandler: Code: 36. DB::Exception: Function reverseDNSQuery requires the input column to be of type String: While processing reverseDNSQuery(1). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/reverseDNSQuery.cpp:59: DB::ReverseDNSQuery::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d20d14 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:29:02.569396 [ 635 ] {72473aa6-9d72-4127-b88d-51882c945bd0} executeQuery: Code: 42. DB::Exception: Number of arguments for function reverseDNSQuery doesn't match: passed 0, should be 1: While processing reverseDNSQuery(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52428) (comment: 02483_test_reverse_dns_resolution.sql) (in query: -- Expect error, wrong number of arguments select reverseDNSQuery();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:29:02.571099 [ 635 ] {72473aa6-9d72-4127-b88d-51882c945bd0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reverseDNSQuery doesn't match: passed 0, should be 1: While processing reverseDNSQuery(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:29:02.580109 [ 635 ] {050bb360-a80c-48fc-b134-f04d3fb22033} executeQuery: Code: 42. DB::Exception: Number of arguments for function reverseDNSQuery doesn't match: passed 2, should be 1: While processing reverseDNSQuery(1, 2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52428) (comment: 02483_test_reverse_dns_resolution.sql) (in query: select reverseDNSQuery(1, 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:29:02.581602 [ 635 ] {050bb360-a80c-48fc-b134-f04d3fb22033} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reverseDNSQuery doesn't match: passed 2, should be 1: While processing reverseDNSQuery(1, 2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:29:03.710992 [ 939 ] {6fc5beb5-7748-4eb2-8853-0e14f9b86da3} DistributedSink: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 1), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 1, UInt8(size = 1), ColumnUnique(size = 4, String(size = 4)))), implicit conversion will be done. 2024.03.27 21:29:03.714553 [ 1172 ] {6fc5beb5-7748-4eb2-8853-0e14f9b86da3} DistributedSink: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 1), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 1, UInt8(size = 1), ColumnUnique(size = 4, String(size = 4)))), implicit conversion will be done. 2024.03.27 21:29:03.746983 [ 1667 ] {3b3ce070-76b8-4ddd-8d5e-b72a305688ee} DistributedSink: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 500), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 500, UInt16(size = 500), ColumnUnique(size = 1002, String(size = 1002)))), implicit conversion will be done. 2024.03.27 21:29:03.749344 [ 1182 ] {3b3ce070-76b8-4ddd-8d5e-b72a305688ee} DistributedSink: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 500), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 500, UInt16(size = 500), ColumnUnique(size = 1002, String(size = 1002)))), implicit conversion will be done. 2024.03.27 21:29:03.834325 [ 635 ] {690fe97e-0080-4788-b275-419997cf50b5} test_d0wh039e.dist_02482.DirectoryMonitor.default: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 0), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 2, String(size = 2)))), implicit conversion will be done 2024.03.27 21:29:03.849996 [ 635 ] {690fe97e-0080-4788-b275-419997cf50b5} test_d0wh039e.dist_02482.DirectoryMonitor.default: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 0), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 2, String(size = 2)))), implicit conversion will be done 2024.03.27 21:29:03.866368 [ 635 ] {690fe97e-0080-4788-b275-419997cf50b5} test_d0wh039e.dist_02482.DirectoryMonitor.default: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 0), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 2, String(size = 2)))), implicit conversion will be done 2024.03.27 21:29:03.881466 [ 635 ] {690fe97e-0080-4788-b275-419997cf50b5} test_d0wh039e.dist_02482.DirectoryMonitor.default: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 0), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 2, String(size = 2)))), implicit conversion will be done 2024.03.27 21:29:05.634651 [ 1799 ] {42e6d2e4-c40e-4929-be5f-587d7155b12e} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: while executing 'FUNCTION toUInt64(val :: 0) -> toUInt64(val) LowCardinality(UInt64) : 2'. (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:54956) (comment: 02480_suspicious_lowcard_in_key.sql) (in query: select count() from test where toUInt64(val) = -1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [44]) @ 0x1977455e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:283: COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19808b54 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1948: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19805c98 in /usr/bin/clickhouse 8. /build/src/Core/callOnTypeIndex.h:191: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x197f4976 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197f3de8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197f2ffe in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:282: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909e6fa in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/FilterTransform.cpp:135: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x2cc61db3 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/FilterTransform.cpp:120: DB::FilterTransform::transform(DB::Chunk&) @ 0x2cc61c72 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 2024.03.27 21:29:05.769630 [ 1015 ] {ccaeb937-2a8e-49c6-a856-3599bce4dc54} executeQuery: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: -- Bu : While executing ValuesBlockInputFormat. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59612) (comment: 02482_value_block_parsing.sh) (in query: INSERT INTO simple_key_dictionary_source_table__fuzz_48 FORMAT Values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x20ee368c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:187: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x2cbf15a1 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:395: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x2cbf1f25 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:303: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x2cbf05b9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:74: DB::ValuesBlockInputFormat::generate() @ 0x2cbef8fb in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:05.770348 [ 1799 ] {42e6d2e4-c40e-4929-be5f-587d7155b12e} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: while executing 'FUNCTION toUInt64(val :: 0) -> toUInt64(val) LowCardinality(UInt64) : 2'. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [44]) @ 0x1977455e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:283: COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19808b54 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1948: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19805c98 in /usr/bin/clickhouse 8. /build/src/Core/callOnTypeIndex.h:191: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x197f4976 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197f3de8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197f2ffe in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:282: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909e6fa in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/FilterTransform.cpp:135: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x2cc61db3 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/FilterTransform.cpp:120: DB::FilterTransform::transform(DB::Chunk&) @ 0x2cc61c72 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 2024.03.27 21:29:05.771421 [ 1015 ] {ccaeb937-2a8e-49c6-a856-3599bce4dc54} DynamicQueryHandler: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: -- Bu : While executing ValuesBlockInputFormat. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x20ee368c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:187: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x2cbf15a1 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:395: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x2cbf1f25 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:303: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x2cbf05b9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:74: DB::ValuesBlockInputFormat::generate() @ 0x2cbef8fb in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:29:05.797770 [ 1015 ] {6ca81f82-6c53-4e48-9634-fc70604eeafd} executeQuery: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: !Invalid : While executing ValuesBlockInputFormat. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59620) (comment: 02482_value_block_parsing.sh) (in query: INSERT INTO simple_key_dictionary_source_table__fuzz_48 FORMAT Values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x20ee368c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:187: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x2cbf15a1 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:395: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x2cbf1f25 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:303: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x2cbf05b9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:74: DB::ValuesBlockInputFormat::generate() @ 0x2cbef8fb in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:05.799491 [ 1015 ] {6ca81f82-6c53-4e48-9634-fc70604eeafd} DynamicQueryHandler: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: !Invalid : While executing ValuesBlockInputFormat. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x20ee368c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:187: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x2cbf15a1 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:395: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x2cbf1f25 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:303: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x2cbf05b9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:74: DB::ValuesBlockInputFormat::generate() @ 0x2cbef8fb in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:29:05.820450 [ 1015 ] {eb065896-b8dc-4646-8a91-ed82a042fba3} executeQuery: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: !!!!!!3adas ) : While executing ValuesBlockInputFormat. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59632) (comment: 02482_value_block_parsing.sh) (in query: INSERT INTO simple_key_dictionary_source_table__fuzz_48 FORMAT Values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x20ee368c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:187: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x2cbf15a1 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:395: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x2cbf1f25 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:303: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x2cbf05b9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:74: DB::ValuesBlockInputFormat::generate() @ 0x2cbef8fb in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:05.822053 [ 1015 ] {eb065896-b8dc-4646-8a91-ed82a042fba3} DynamicQueryHandler: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: !!!!!!3adas ) : While executing ValuesBlockInputFormat. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x20ee368c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:187: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x2cbf15a1 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:395: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x2cbf1f25 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:303: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x2cbf05b9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:74: DB::ValuesBlockInputFormat::generate() @ 0x2cbef8fb in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:29:07.292094 [ 1799 ] {f7642105-9f6d-47d0-b50b-f9619c180d68} executeQuery: Code: 48. DB::Exception: Window frame 'GROUPS' is not implemented (while processing 'ORDER BY 100 ASC GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'). (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:54982) (comment: 02478_window_frame_type_groups.sql) (in query: SELECT toUInt64(dense_rank(1) OVER (ORDER BY 100 ASC GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING)) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&) @ 0x2a049f6c in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:774: DB::ExpressionAnalyzer::makeWindowDescriptionFromAST(DB::Context const&, std::unordered_map, std::equal_to, std::allocator>> const&, DB::WindowDescription&, DB::IAST const*) @ 0x2a0377f6 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:899: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x2a038933 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2076: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044b08 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:07.293444 [ 1799 ] {f7642105-9f6d-47d0-b50b-f9619c180d68} TCPHandler: Code: 48. DB::Exception: Window frame 'GROUPS' is not implemented (while processing 'ORDER BY 100 ASC GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&) @ 0x2a049f6c in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:774: DB::ExpressionAnalyzer::makeWindowDescriptionFromAST(DB::Context const&, std::unordered_map, std::equal_to, std::allocator>> const&, DB::WindowDescription&, DB::IAST const*) @ 0x2a0377f6 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:899: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x2a038933 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2076: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044b08 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:07.407804 [ 1799 ] {60bc3ff0-e538-4983-8b82-3aa04e1f6fa4} executeQuery: Code: 48. DB::Exception: Window frame 'GROUPS' is not implemented. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:54982) (comment: 02478_window_frame_type_groups.sql) (in query: SELECT toUInt64(dense_rank(1) OVER (ORDER BY 100 ASC GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING)) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::WindowFrame::FrameType&) @ 0x2ae77973 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerWindowFunctions.cpp:77: DB::extractWindowDescriptions(std::vector, std::allocator>> const&, DB::PlannerContext const&) @ 0x2ae73008 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerExpressionAnalysis.cpp:227: DB::(anonymous namespace)::analyzeWindow(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x2ae67aa4 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerExpressionAnalysis.cpp:506: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x2ae6520a in /usr/bin/clickhouse 9. /build/src/Planner/Planner.cpp:1153: DB::Planner::buildPlanForQueryNode() @ 0x2ae270e9 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2ae25108 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2ae2315f in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2ae22f3b in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:07.438365 [ 1799 ] {60bc3ff0-e538-4983-8b82-3aa04e1f6fa4} TCPHandler: Code: 48. DB::Exception: Window frame 'GROUPS' is not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::WindowFrame::FrameType&) @ 0x2ae77973 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerWindowFunctions.cpp:77: DB::extractWindowDescriptions(std::vector, std::allocator>> const&, DB::PlannerContext const&) @ 0x2ae73008 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerExpressionAnalysis.cpp:227: DB::(anonymous namespace)::analyzeWindow(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x2ae67aa4 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerExpressionAnalysis.cpp:506: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x2ae6520a in /usr/bin/clickhouse 9. /build/src/Planner/Planner.cpp:1153: DB::Planner::buildPlanForQueryNode() @ 0x2ae270e9 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2ae25108 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2ae2315f in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2ae22f3b in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:13.188423 [ 2751 ] {9b847ea5-ad4f-4b91-a3cd-5e5254e6e732} executeQuery: Code: 153. DB::Exception: Division by zero: While processing divideDecimal(toDecimal64(123.123, 3), toDecimal64(0, 1)). (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55164) (comment: 02475_precise_decimal_arithmetics.sql) (in query: SELECT divideDecimal(toDecimal64(123.123, 3), toDecimal64(0, 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:25: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute, DB::Decimal>(DB::Decimal, DB::Decimal, unsigned short, unsigned short, unsigned short) @ 0x1c4510a8 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1c450e82 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1c44aa60 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:328: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1c4488d9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c447d54 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 21:29:13.190042 [ 2751 ] {9b847ea5-ad4f-4b91-a3cd-5e5254e6e732} TCPHandler: Code: 153. DB::Exception: Division by zero: While processing divideDecimal(toDecimal64(123.123, 3), toDecimal64(0, 1)). (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:25: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute, DB::Decimal>(DB::Decimal, DB::Decimal, unsigned short, unsigned short, unsigned short) @ 0x1c4510a8 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1c450e82 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1c44aa60 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:328: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1c4488d9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c447d54 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 21:29:13.366874 [ 2751 ] {4ba830fd-02c9-408b-ae5c-690f6ab167e0} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256(1e38, 0), toDecimal256(1e38, 0), 2). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55164) (comment: 02475_precise_decimal_arithmetics.sql) (in query: -- fits Decimal256, but scale is too big to fit SELECT multiplyDecimal(toDecimal256(1e38, 0), toDecimal256(1e38, 0), 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19de705e in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1fd2ae56 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1fd2a8d6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1fd22080 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1fd1ca39 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fd1bc74 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 21:29:13.481306 [ 635 ] {b98aab82-f39d-4f4d-8620-2fb0320a04f8} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope SELECT value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55166) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT value_ FROM test_table SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:13.482074 [ 2751 ] {4ba830fd-02c9-408b-ae5c-690f6ab167e0} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256(1e38, 0), toDecimal256(1e38, 0), 2). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19de705e in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1fd2ae56 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1fd2a8d6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1fd22080 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1fd1ca39 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fd1bc74 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 21:29:13.483347 [ 635 ] {b98aab82-f39d-4f4d-8620-2fb0320a04f8} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope SELECT value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:13.602995 [ 2751 ] {72371472-4e31-4e61-941d-da7b018cf639} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing divideDecimal(toDecimal256(1e72, 0), toDecimal256(0.00001, 5), 2). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55164) (comment: 02475_precise_decimal_arithmetics.sql) (in query: SELECT divideDecimal(toDecimal256(1e72, 0), toDecimal256(1e-5, 5), 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19de705e in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:52: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1c456d2b in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1c4567b6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1c44e160 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1c448b19 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c447d54 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 21:29:13.604602 [ 2751 ] {72371472-4e31-4e61-941d-da7b018cf639} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing divideDecimal(toDecimal256(1e72, 0), toDecimal256(0.00001, 5), 2). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19de705e in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:52: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1c456d2b in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1c4567b6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1c44e160 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1c448b19 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c447d54 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 21:29:13.618477 [ 2751 ] {7153a1e0-5b35-4c77-8c32-e8887657c112} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256('1e38', 0), toDecimal256('1e38', 0)). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55164) (comment: 02475_precise_decimal_arithmetics.sql) (in query: -- does not fit Decimal256 SELECT multiplyDecimal(toDecimal256('1e38', 0), toDecimal256('1e38', 0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19de705e in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1fd2ae56 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1fd2a8d6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1fd22080 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1fd1ca39 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fd1bc74 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 21:29:13.619752 [ 2751 ] {7153a1e0-5b35-4c77-8c32-e8887657c112} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256('1e38', 0), toDecimal256('1e38', 0)). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19de705e in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1fd2ae56 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1fd2a8d6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1fd22080 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1fd1ca39 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fd1bc74 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 21:29:13.632885 [ 2751 ] {2e99819e-0524-4680-b105-fb9bb40bd15c} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256(1e39, 0), toDecimal256(1e39, 0), 0). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55164) (comment: 02475_precise_decimal_arithmetics.sql) (in query: SELECT multiplyDecimal(toDecimal256(1e39, 0), toDecimal256(1e39, 0), 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19de705e in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1fd2ae56 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1fd2a8d6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1fd22080 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1fd1ca39 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fd1bc74 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 21:29:13.634148 [ 2751 ] {2e99819e-0524-4680-b105-fb9bb40bd15c} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256(1e39, 0), toDecimal256(1e39, 0), 0). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19de705e in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1fd2ae56 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1fd2a8d6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1fd22080 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1fd1ca39 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fd1bc74 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 21:29:13.647184 [ 2751 ] {f44c288d-9312-47bb-ac2d-6a266988421d} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing divideDecimal(toDecimal256(1e39, 0), toDecimal256(1e-38, 39)). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55164) (comment: 02475_precise_decimal_arithmetics.sql) (in query: SELECT divideDecimal(toDecimal256(1e39, 0), toDecimal256(1e-38, 39));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19de705e in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:52: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1c456d2b in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1c4567b6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1c44e160 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1c448b19 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c447d54 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 21:29:13.648836 [ 2751 ] {f44c288d-9312-47bb-ac2d-6a266988421d} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing divideDecimal(toDecimal256(1e39, 0), toDecimal256(1e-38, 39)). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19de705e in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:52: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1c456d2b in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1c4567b6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1c44e160 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1c448b19 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c447d54 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 21:29:14.889094 [ 2750 ] {17aa0649-9f34-4e4d-8d46-28faae6ad35a} executeQuery: Code: 36. DB::Exception: Second argument of aggregate function analysisOfVariance should be a native unsigned integer. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55196) (comment: 02475_analysis_of_variance.sql) (in query: SELECT analysisOfVariance(1.11, -20);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.cpp:24: DB::(anonymous namespace)::createAggregateFunctionAnalysisOfVariance(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x25f87a14 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:29:15.039118 [ 1011 ] {cae3918b-755c-43c4-8d63-65d6a9b457e9} executeQuery: Code: 47. DB::Exception: Identifier 'test_table.value_' cannot be resolved from table with name test_joqy7ko7.test_table. In scope SELECT test_table.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55208) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:29:15.039760 [ 2750 ] {17aa0649-9f34-4e4d-8d46-28faae6ad35a} TCPHandler: Code: 36. DB::Exception: Second argument of aggregate function analysisOfVariance should be a native unsigned integer. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.cpp:24: DB::(anonymous namespace)::createAggregateFunctionAnalysisOfVariance(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x25f87a14 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:29:15.041064 [ 1011 ] {cae3918b-755c-43c4-8d63-65d6a9b457e9} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table.value_' cannot be resolved from table with name test_joqy7ko7.test_table. In scope SELECT test_table.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:29:15.047611 [ 2750 ] {6a404ff8-85ec-48e5-800e-d32f7016bf74} executeQuery: Code: 36. DB::Exception: Second argument of aggregate function analysisOfVariance should be a native unsigned integer. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55196) (comment: 02475_analysis_of_variance.sql) (in query: SELECT analysisOfVariance(1.11, 20 :: UInt128);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.cpp:24: DB::(anonymous namespace)::createAggregateFunctionAnalysisOfVariance(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x25f87a14 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:29:15.049014 [ 2750 ] {6a404ff8-85ec-48e5-800e-d32f7016bf74} TCPHandler: Code: 36. DB::Exception: Second argument of aggregate function analysisOfVariance should be a native unsigned integer. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.cpp:24: DB::(anonymous namespace)::createAggregateFunctionAnalysisOfVariance(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x25f87a14 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:29:15.222428 [ 2750 ] {19ded33a-a55b-4953-947e-73b380fcd1a4} executeQuery: Code: 36. DB::Exception: Too many groups for analysis of variance (should be no more than 1048576, got 9000000000000001): While executing AggregatingTransform. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55196) (comment: 02475_analysis_of_variance.sql) (in query: SELECT analysisOfVariance(1.11, 9000000000000000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x1c9577cc in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/Moments.h:452: DB::AnalysisOfVarianceMoments::resizeIfNeeded(unsigned long) @ 0x25f8a4db in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/Moments.h:466: DB::AnalysisOfVarianceMoments::add(double, unsigned long) @ 0x25f8a3a7 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.h:54: DB::AggregateFunctionAnalysisOfVariance::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x25f88ac5 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/IAggregateFunction.h:519: DB::IAggregateFunctionHelper::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x25f892aa in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x2a15224e in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1584: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aae65 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:29:15.227162 [ 2750 ] {19ded33a-a55b-4953-947e-73b380fcd1a4} TCPHandler: Code: 36. DB::Exception: Too many groups for analysis of variance (should be no more than 1048576, got 9000000000000001): While executing AggregatingTransform. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x1c9577cc in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/Moments.h:452: DB::AnalysisOfVarianceMoments::resizeIfNeeded(unsigned long) @ 0x25f8a4db in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/Moments.h:466: DB::AnalysisOfVarianceMoments::add(double, unsigned long) @ 0x25f8a3a7 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.h:54: DB::AggregateFunctionAnalysisOfVariance::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x25f88ac5 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/IAggregateFunction.h:519: DB::IAggregateFunctionHelper::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x25f892aa in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x2a15224e in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1584: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aae65 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:29:15.723329 [ 635 ] {f49f6eb7-67ba-4ca0-b45e-2fcb7c6b09ef} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'Int128'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56246) (comment: 02469_interval_msan.sql) (in query: SELECT now() + 1::Int128;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a8cbeec in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x203f527d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x203f3734 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x203f292c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:29:15.835577 [ 2750 ] {754b7dd3-a07b-49a1-b1a2-2ee74502b038} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56234) (comment: 02470_suspicious_low_cardinality_msan.sql) (in query: SELECT colAlias0, colAlias2, colAlias3 FROM alias_2__fuzz_25;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a8cbeec in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x203f527d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x203f3734 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:200: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909e0bc in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:242: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db8a in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:29:15.835839 [ 635 ] {f49f6eb7-67ba-4ca0-b45e-2fcb7c6b09ef} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'Int128'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a8cbeec in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x203f527d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x203f3734 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x203f292c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:29:15.837231 [ 2750 ] {754b7dd3-a07b-49a1-b1a2-2ee74502b038} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a8cbeec in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x203f527d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x203f3734 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:200: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909e0bc in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:242: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db8a in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:29:15.846587 [ 635 ] {cc6500c8-75cf-4cf0-95cd-2ccc872bd555} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'Int256'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56246) (comment: 02469_interval_msan.sql) (in query: SELECT now() + 1::Int256;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a8cbeec in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x203f527d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x203f3734 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x203f292c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:29:15.848006 [ 635 ] {cc6500c8-75cf-4cf0-95cd-2ccc872bd555} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'Int256'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a8cbeec in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x203f527d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x203f3734 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x203f292c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:29:15.857817 [ 635 ] {7df57e0e-4ebe-4510-a058-911d66c1a45e} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'UInt128'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56246) (comment: 02469_interval_msan.sql) (in query: SELECT now() + 1::UInt128;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a8cbeec in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x203f527d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x203f3734 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x203f292c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:29:15.859508 [ 635 ] {7df57e0e-4ebe-4510-a058-911d66c1a45e} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'UInt128'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a8cbeec in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x203f527d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x203f3734 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x203f292c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:29:15.869296 [ 635 ] {7311d546-f438-4b2b-be73-6b9eb0cec3bb} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'UInt256'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56246) (comment: 02469_interval_msan.sql) (in query: SELECT now() + 1::UInt256;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a8cbeec in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x203f527d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x203f3734 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x203f292c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:29:15.870745 [ 635 ] {7311d546-f438-4b2b-be73-6b9eb0cec3bb} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'UInt256'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a8cbeec in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x203f527d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x203f3734 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x203f292c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:29:15.990987 [ 635 ] {54c3abc3-394d-4cbf-ae01-2a4648d6f53b} executeQuery: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'Int128'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56246) (comment: 02469_interval_msan.sql) (in query: SELECT now() - 1::Int128;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x20e0df0c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x1ef336dd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ef31c14 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ef30e0c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:29:15.992191 [ 635 ] {54c3abc3-394d-4cbf-ae01-2a4648d6f53b} TCPHandler: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'Int128'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x20e0df0c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x1ef336dd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ef31c14 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ef30e0c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:29:16.000182 [ 635 ] {2c39bb15-a496-4749-aa04-23659309647f} executeQuery: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'Int256'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56246) (comment: 02469_interval_msan.sql) (in query: SELECT now() - 1::Int256;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x20e0df0c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x1ef336dd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ef31c14 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ef30e0c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:29:16.001293 [ 635 ] {2c39bb15-a496-4749-aa04-23659309647f} TCPHandler: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'Int256'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x20e0df0c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x1ef336dd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ef31c14 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ef30e0c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:29:16.008417 [ 635 ] {bb1193e3-1716-4a3e-a0b8-1dd4cea547a2} executeQuery: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'UInt128'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56246) (comment: 02469_interval_msan.sql) (in query: SELECT now() - 1::UInt128;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x20e0df0c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x1ef336dd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ef31c14 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ef30e0c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:29:16.009337 [ 635 ] {bb1193e3-1716-4a3e-a0b8-1dd4cea547a2} TCPHandler: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'UInt128'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x20e0df0c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x1ef336dd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ef31c14 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ef30e0c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:29:16.017242 [ 635 ] {671dcccc-a990-4fe6-b717-73cadec04ad6} executeQuery: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'UInt256'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56246) (comment: 02469_interval_msan.sql) (in query: SELECT now() - 1::UInt256;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x20e0df0c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x1ef336dd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ef31c14 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ef30e0c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:29:16.018201 [ 635 ] {671dcccc-a990-4fe6-b717-73cadec04ad6} TCPHandler: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'UInt256'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x20e0df0c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x1ef336dd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ef31c14 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ef30e0c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:29:16.357589 [ 2750 ] {bebfcf25-a873-4bb7-8a36-439ef3391a76} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl.value_' in scope SELECT test_tabl.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56264) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_tabl.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:16.359829 [ 2750 ] {bebfcf25-a873-4bb7-8a36-439ef3391a76} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl.value_' in scope SELECT test_tabl.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:17.652732 [ 3331 ] {58f97edc-3884-407b-90e3-49aafc65ff20} executeQuery: Code: 47. DB::Exception: Identifier 'test_table.value_' cannot be resolved from table with name test_table_alias. In scope SELECT test_table.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56300) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:29:17.654783 [ 3331 ] {58f97edc-3884-407b-90e3-49aafc65ff20} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table.value_' cannot be resolved from table with name test_table_alias. In scope SELECT test_table.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:29:17.884726 [ 2751 ] {c1cc1e54-d260-46a3-9d78-ad2a77c1b277} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56292) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b926793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1f880 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:17.885874 [ 2751 ] {c1cc1e54-d260-46a3-9d78-ad2a77c1b277} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b926793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1f880 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:17.903676 [ 2751 ] {329fcc49-70b4-4fbd-ba71-a9da09f2ad22} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56292) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE '%a' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b926793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1f880 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:17.904761 [ 2751 ] {329fcc49-70b4-4fbd-ba71-a9da09f2ad22} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b926793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1f880 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:17.921581 [ 2751 ] {8b923d9d-8696-49df-9b78-d3e907b841a0} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56292) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a_' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b926793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1f880 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:17.922938 [ 2751 ] {8b923d9d-8696-49df-9b78-d3e907b841a0} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b926793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1f880 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:17.939655 [ 2751 ] {eae948a1-a946-454d-9433-1c72ac569f33} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56292) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a%_' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b926793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1f880 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:17.940626 [ 2751 ] {eae948a1-a946-454d-9433-1c72ac569f33} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b926793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1f880 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:17.956964 [ 2751 ] {2f09164a-6f93-4f10-bbb0-b61adf7fb606} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56292) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE '_a' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b926793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1f880 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:17.957991 [ 2751 ] {2f09164a-6f93-4f10-bbb0-b61adf7fb606} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b926793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1f880 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:17.975369 [ 2751 ] {4436ab70-bfd4-4799-a76e-7151bd04465b} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56292) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a%\_' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b926793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1f880 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:17.976450 [ 2751 ] {4436ab70-bfd4-4799-a76e-7151bd04465b} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b926793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1f880 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:18.945768 [ 2750 ] {9af21721-8a05-48bd-991f-80737c810797} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl.value_' in scope SELECT test_tabl.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56308) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_tabl.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:18.947973 [ 2750 ] {9af21721-8a05-48bd-991f-80737c810797} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl.value_' in scope SELECT test_tabl.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:19.801175 [ 2750 ] {81952aad-5724-42d4-bd6a-6bd3889bd7b7} executeQuery: Code: 43. DB::Exception: Wrong order of arguments for function minus: argument of Tuple type cannot be first: While processing tuple(toIntervalDay(1)) - CAST('2022-10-11', 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56314) (comment: 02457_tuple_of_intervals.sql) (in query: SELECT tuple(INTERVAL 1 DAY) - '2022-10-11'::Date;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:748: DB::FunctionBinaryArithmetic::getFunctionForDateTupleOfIntervalsArithmetic(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1ef33a03 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:1260: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1f021cc7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1ecca10f in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a52a909 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:29:19.802505 [ 2750 ] {81952aad-5724-42d4-bd6a-6bd3889bd7b7} TCPHandler: Code: 43. DB::Exception: Wrong order of arguments for function minus: argument of Tuple type cannot be first: While processing tuple(toIntervalDay(1)) - CAST('2022-10-11', 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:748: DB::FunctionBinaryArithmetic::getFunctionForDateTupleOfIntervalsArithmetic(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1ef33a03 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:1260: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1f021cc7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1ecca10f in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a52a909 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:29:19.954042 [ 2750 ] {ae29f51a-9d5f-4af9-91a0-2a4c6271e40f} executeQuery: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function plus: While processing toIntervalSecond(1) + tuple(toIntervalSecond(1)) AS expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56314) (comment: 02457_tuple_of_intervals.sql) (in query: WITH INTERVAL 1 SECOND + tuple(INTERVAL 1 SECOND) as expr SELECT expr, toTypeName(expr);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1410: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x204e9c69 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x2019f84f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a52a909 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:29:19.955373 [ 2750 ] {ae29f51a-9d5f-4af9-91a0-2a4c6271e40f} TCPHandler: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function plus: While processing toIntervalSecond(1) + tuple(toIntervalSecond(1)) AS expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1410: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x204e9c69 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x2019f84f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a52a909 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:29:20.076043 [ 2750 ] {c2aa2e5d-589c-480a-9fa3-d382717858a6} executeQuery: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function minus: While processing toIntervalSecond(1) - tuple(toIntervalSecond(1)) AS expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56314) (comment: 02457_tuple_of_intervals.sql) (in query: WITH INTERVAL 1 SECOND - tuple(INTERVAL 1 SECOND) as expr SELECT expr, toTypeName(expr);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1410: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1f022629 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1ecca10f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a52a909 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:29:20.077356 [ 2750 ] {c2aa2e5d-589c-480a-9fa3-d382717858a6} TCPHandler: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function minus: While processing toIntervalSecond(1) - tuple(toIntervalSecond(1)) AS expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1410: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1f022629 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1ecca10f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a52a909 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:29:20.277360 [ 1799 ] {6281bd52-b071-46c7-9aad-95e00cec27bc} executeQuery: Code: 47. DB::Exception: Identifier 'test_table_alias.value_' cannot be resolved from table with name test_table_alias. In scope SELECT test_table_alias.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_alias.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56346) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_alias.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:29:20.278312 [ 635 ] {049db261-c264-43d5-aaf6-e142505c3138} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation (Session expired) (Session expired). (KEEPER_EXCEPTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56324) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_max_retries=0 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/ZooKeeper/IKeeper.cpp:25: Coordination::Exception::Exception(String const&, Coordination::Error, int) @ 0x2d247ab2 in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.cpp:36: Coordination::Exception::Exception(String const&, Coordination::Error) @ 0x2d247d26 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:218: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x293b5f7c in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x293b4a24 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x2c52f945 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:676: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c52f306 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c51f7fa in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c52d3b8 in /usr/bin/clickhouse 13. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:29:20.279813 [ 1799 ] {6281bd52-b071-46c7-9aad-95e00cec27bc} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table_alias.value_' cannot be resolved from table with name test_table_alias. In scope SELECT test_table_alias.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_alias.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:29:20.280587 [ 635 ] {049db261-c264-43d5-aaf6-e142505c3138} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation (Session expired) (Session expired). (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/ZooKeeper/IKeeper.cpp:25: Coordination::Exception::Exception(String const&, Coordination::Error, int) @ 0x2d247ab2 in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.cpp:36: Coordination::Exception::Exception(String const&, Coordination::Error) @ 0x2d247d26 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:218: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x293b5f7c in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x293b4a24 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x2c52f945 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:676: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c52f306 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c51f7fa in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c52d3b8 in /usr/bin/clickhouse 13. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:29:20.529459 [ 635 ] {edc1f657-9416-4ccf-ad51-43a1140a95d4} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation (Session expired) (Session expired). (KEEPER_EXCEPTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56324) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_retry_max_backoff_ms=10 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/ZooKeeper/IKeeper.cpp:25: Coordination::Exception::Exception(String const&, Coordination::Error, int) @ 0x2d247ab2 in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.cpp:36: Coordination::Exception::Exception(String const&, Coordination::Error) @ 0x2d247d26 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:218: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x293b5f7c in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x293b4a24 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x2c52f945 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:676: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c52f306 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c51f7fa in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c52d3b8 in /usr/bin/clickhouse 13. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:29:20.532314 [ 635 ] {edc1f657-9416-4ccf-ad51-43a1140a95d4} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation (Session expired) (Session expired). (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/ZooKeeper/IKeeper.cpp:25: Coordination::Exception::Exception(String const&, Coordination::Error, int) @ 0x2d247ab2 in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.cpp:36: Coordination::Exception::Exception(String const&, Coordination::Error) @ 0x2d247d26 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:218: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x293b5f7c in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x293b4a24 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x2c52f945 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:676: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c52f306 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c51f7fa in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c52d3b8 in /usr/bin/clickhouse 13. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:29:20.758315 [ 635 ] {32c6c2f3-65a9-4e7f-8a80-2f4ed1e910dd} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation (Session expired) (Session expired). (KEEPER_EXCEPTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56324) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_max_retries=0 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/ZooKeeper/IKeeper.cpp:25: Coordination::Exception::Exception(String const&, Coordination::Error, int) @ 0x2d247ab2 in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.cpp:36: Coordination::Exception::Exception(String const&, Coordination::Error) @ 0x2d247d26 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:218: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x293b5f7c in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x293b4a24 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x2c54a9a5 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ZooKeeperRetries.h:45: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&) @ 0x2c52d4a1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:401: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c52b934 in /usr/bin/clickhouse 12. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:29:20.759598 [ 635 ] {32c6c2f3-65a9-4e7f-8a80-2f4ed1e910dd} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation (Session expired) (Session expired). (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/ZooKeeper/IKeeper.cpp:25: Coordination::Exception::Exception(String const&, Coordination::Error, int) @ 0x2d247ab2 in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.cpp:36: Coordination::Exception::Exception(String const&, Coordination::Error) @ 0x2d247d26 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:218: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x293b5f7c in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x293b4a24 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x2c54a9a5 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ZooKeeperRetries.h:45: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&) @ 0x2c52d4a1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:401: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c52b934 in /usr/bin/clickhouse 12. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:29:20.804484 [ 635 ] {355bfa00-6090-44da-b501-3074d7bbd72d} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation (Session expired) (Session expired). (KEEPER_EXCEPTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56324) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_retry_max_backoff_ms=1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/ZooKeeper/IKeeper.cpp:25: Coordination::Exception::Exception(String const&, Coordination::Error, int) @ 0x2d247ab2 in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.cpp:36: Coordination::Exception::Exception(String const&, Coordination::Error) @ 0x2d247d26 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:218: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x293b5f7c in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x293b4a24 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x2c54a9a5 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ZooKeeperRetries.h:45: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&) @ 0x2c52d4a1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:401: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c52b934 in /usr/bin/clickhouse 12. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:29:20.805631 [ 635 ] {355bfa00-6090-44da-b501-3074d7bbd72d} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation (Session expired) (Session expired). (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/ZooKeeper/IKeeper.cpp:25: Coordination::Exception::Exception(String const&, Coordination::Error, int) @ 0x2d247ab2 in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.cpp:36: Coordination::Exception::Exception(String const&, Coordination::Error) @ 0x2d247d26 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:218: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x293b5f7c in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x293b4a24 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x2c54a9a5 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ZooKeeperRetries.h:45: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&) @ 0x2c52d4a1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:401: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c52b934 in /usr/bin/clickhouse 12. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:29:21.630265 [ 1011 ] {92b1a5f2-0ebd-4d46-bafd-1dd5bec1d121} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_table_alia.value_' in scope SELECT test_table_alia.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_alias.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56384) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_alia.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:21.632538 [ 1011 ] {92b1a5f2-0ebd-4d46-bafd-1dd5bec1d121} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_table_alia.value_' in scope SELECT test_table_alia.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_alias.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:22.336543 [ 635 ] {8edf39c3-9f14-4d6e-8602-a797fdc6b7f6} executeQuery: Code: 117. DB::Exception: Duplicate column name found while schema inference: "x": Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56408) (comment: 02455_duplicate_column_names_in_schema_inference.sql) (in query: desc format(JSONEachRow, '{"x" : 1, "x" : 2}');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:238: DB::IRowWithNamesSchemaReader::readSchema() @ 0x2c936107 in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c7fb7d0 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c7fc788 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d13efb in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x2ad5a18d in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:22.337425 [ 635 ] {8edf39c3-9f14-4d6e-8602-a797fdc6b7f6} TCPHandler: Code: 117. DB::Exception: Duplicate column name found while schema inference: "x": Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:238: DB::IRowWithNamesSchemaReader::readSchema() @ 0x2c936107 in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c7fb7d0 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c7fc788 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d13efb in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x2ad5a18d in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:22.427140 [ 635 ] {58b647af-18a6-43b7-8cf6-3712fa389fa1} executeQuery: Code: 117. DB::Exception: Duplicate column name found while schema inference: "x": Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56408) (comment: 02455_duplicate_column_names_in_schema_inference.sql) (in query: desc format(JSONEachRow, '{"x" : 1, "y" : 2}\n{"x" : 2, "x" : 3}');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:259: DB::IRowWithNamesSchemaReader::readSchema() @ 0x2c9364a7 in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c7fb7d0 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c7fc788 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d13efb in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x2ad5a18d in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:22.428100 [ 635 ] {58b647af-18a6-43b7-8cf6-3712fa389fa1} TCPHandler: Code: 117. DB::Exception: Duplicate column name found while schema inference: "x": Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:259: DB::IRowWithNamesSchemaReader::readSchema() @ 0x2c9364a7 in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c7fb7d0 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c7fc788 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d13efb in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x2ad5a18d in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:22.523852 [ 635 ] {df9ce8de-84fc-48f7-b88b-341a2989cad5} executeQuery: Code: 117. DB::Exception: Duplicate column name found while schema inference: "a": Cannot extract table structure from CSVWithNames format file. You can specify the structure manually. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56408) (comment: 02455_duplicate_column_names_in_schema_inference.sql) (in query: desc format(CSVWithNames, 'a,b,a\n1,2,3');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:134: DB::IRowSchemaReader::readSchema() @ 0x2c93543c in /usr/bin/clickhouse 7. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:375: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x2c948086 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c7fb7d0 in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c7fc788 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d13efb in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x2ad5a18d in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:22.527447 [ 635 ] {df9ce8de-84fc-48f7-b88b-341a2989cad5} TCPHandler: Code: 117. DB::Exception: Duplicate column name found while schema inference: "a": Cannot extract table structure from CSVWithNames format file. You can specify the structure manually. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:134: DB::IRowSchemaReader::readSchema() @ 0x2c93543c in /usr/bin/clickhouse 7. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:375: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x2c948086 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c7fb7d0 in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c7fc788 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d13efb in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x2ad5a18d in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:22.542091 [ 635 ] {f91a7771-58eb-4c00-9422-ec48e9e36f83} executeQuery: Code: 117. DB::Exception: Duplicate column name found while schema inference: "a": Cannot extract table structure from CSV format file. You can specify the structure manually. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56408) (comment: 02455_duplicate_column_names_in_schema_inference.sql) (in query: desc format(CSV, '1,2,3') settings column_names_for_schema_inference='a, b, a';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:134: DB::IRowSchemaReader::readSchema() @ 0x2c93543c in /usr/bin/clickhouse 7. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:375: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x2c948086 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c7fb7d0 in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c7fc788 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d13efb in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x2ad5a18d in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:22.543317 [ 635 ] {f91a7771-58eb-4c00-9422-ec48e9e36f83} TCPHandler: Code: 117. DB::Exception: Duplicate column name found while schema inference: "a": Cannot extract table structure from CSV format file. You can specify the structure manually. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:134: DB::IRowSchemaReader::readSchema() @ 0x2c93543c in /usr/bin/clickhouse 7. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:375: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x2c948086 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c7fb7d0 in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c7fc788 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d13efb in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x2ad5a18d in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:22.931741 [ 1011 ] {11105733-ff94-4c5b-ae70-739f3cfdddb7} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope SELECT value_ FROM (SELECT 1 AS value) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56422) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT value_ FROM (SELECT 1 AS value) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:22.934278 [ 1011 ] {11105733-ff94-4c5b-ae70-739f3cfdddb7} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope SELECT value_ FROM (SELECT 1 AS value) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:24.152792 [ 1011 ] {d995a812-0c92-4e63-b971-8f8ee46061cf} executeQuery: Code: 36. DB::Exception: Tables have different primary key. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56440) (comment: 02455_improve_feedback_when_replacing_partition_with_different_primary_key.sql) (in query: ALTER TABLE test_b REPLACE PARTITION '0' FROM test_a;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x19725f7e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7051: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11fab1 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:7081: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c12039d in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1842: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c5871e6 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:4881: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c1047fa in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:24.155621 [ 1011 ] {d995a812-0c92-4e63-b971-8f8ee46061cf} TCPHandler: Code: 36. DB::Exception: Tables have different primary key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x19725f7e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7051: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11fab1 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:7081: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c12039d in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1842: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c5871e6 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:4881: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c1047fa in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:24.252293 [ 1011 ] {d5087b53-050f-4d2f-b035-de925f07f71a} executeQuery: Code: 47. DB::Exception: Identifier 'subquery.value_' cannot be resolved from subquery with name subquery. In scope SELECT subquery.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56464) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT subquery.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:29:24.254348 [ 1011 ] {d5087b53-050f-4d2f-b035-de925f07f71a} TCPHandler: Code: 47. DB::Exception: Identifier 'subquery.value_' cannot be resolved from subquery with name subquery. In scope SELECT subquery.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:29:25.542432 [ 635 ] {1efff215-0876-41c4-b8e3-51d1a570437b} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'subquer.value_' in scope SELECT subquer.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53076) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT subquer.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:25.544809 [ 635 ] {1efff215-0876-41c4-b8e3-51d1a570437b} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'subquer.value_' in scope SELECT subquer.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:26.866674 [ 1011 ] {f74b8122-59c2-468a-98cb-6f2eb30bdad7} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53124) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:26.868827 [ 1011 ] {f74b8122-59c2-468a-98cb-6f2eb30bdad7} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:28.282015 [ 1799 ] {9101ba83-645b-4405-b316-ca1bc1673ddd} executeQuery: Code: 47. DB::Exception: Identifier 'cte_subquery.value_' cannot be resolved from subquery. In scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53162) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:29:28.284257 [ 1799 ] {9101ba83-645b-4405-b316-ca1bc1673ddd} TCPHandler: Code: 47. DB::Exception: Identifier 'cte_subquery.value_' cannot be resolved from subquery. In scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:29:29.670883 [ 3331 ] {91ffe37f-000b-414f-853b-a4d4ea3850ce} executeQuery: Code: 128. DB::Exception: Array sizes are too large: 18446744073709551615: Cannot extract table structure from Native format file. You can specify the structure manually. (TOO_LARGE_ARRAY_SIZE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53198) (comment: 02424_pod_array_overflow.sql) (in query: SELECT * FROM format(Native, '\x02\x02\x02\x6b\x30\x1a\x4d\x61\x70\x28\x46\x69\x78\x65\x64\x53\x74\x72\x69\x6e\x67\x28\x31\x29\x2c\x20\x49\x6e\x74\x36\x34\x29\x01\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x7f\x00\x7f\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x64\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xcf\x31\x3f\x56\x69\x11\x89\x25');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a52fed3 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationArray.cpp:380: DB::SerializationArray::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29aa3bc5 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationMap.cpp:326: DB::SerializationMap::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29ad1dc7 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x2c7f4df4 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:203: DB::NativeReader::read() @ 0x2c7f5b8a in /usr/bin/clickhouse 10. /build/src/Processors/Formats/Impl/NativeFormat.cpp:111: DB::NativeSchemaReader::readSchema() @ 0x2ca05e36 in /usr/bin/clickhouse 11. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c7fb7d0 in /usr/bin/clickhouse 12. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c7fc788 in /usr/bin/clickhouse 13. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d13efb in /usr/bin/clickhouse 14. /build/src/TableFunctions/TableFunctionFormat.cpp:92: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d1463f in /usr/bin/clickhouse 15. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 16. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 17. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 2024.03.27 21:29:29.671494 [ 2750 ] {98968e07-f82d-42c5-9f6e-daf126d2ffe6} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquer.value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquer.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53204) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquer.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:29.674344 [ 3331 ] {91ffe37f-000b-414f-853b-a4d4ea3850ce} TCPHandler: Code: 128. DB::Exception: Array sizes are too large: 18446744073709551615: Cannot extract table structure from Native format file. You can specify the structure manually. (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a52fed3 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationArray.cpp:380: DB::SerializationArray::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29aa3bc5 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationMap.cpp:326: DB::SerializationMap::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29ad1dc7 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x2c7f4df4 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:203: DB::NativeReader::read() @ 0x2c7f5b8a in /usr/bin/clickhouse 10. /build/src/Processors/Formats/Impl/NativeFormat.cpp:111: DB::NativeSchemaReader::readSchema() @ 0x2ca05e36 in /usr/bin/clickhouse 11. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c7fb7d0 in /usr/bin/clickhouse 12. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c7fc788 in /usr/bin/clickhouse 13. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d13efb in /usr/bin/clickhouse 14. /build/src/TableFunctions/TableFunctionFormat.cpp:92: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d1463f in /usr/bin/clickhouse 15. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 16. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 17. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 2024.03.27 21:29:29.677683 [ 2750 ] {98968e07-f82d-42c5-9f6e-daf126d2ffe6} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquer.value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquer.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:30.968485 [ 3331 ] {70371664-b880-48e7-b677-114912f01995} executeQuery: Code: 47. DB::Exception: Identifier 'cte_subquery_alias.value_' cannot be resolved from subquery with name cte_subquery_alias. In scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alias.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53226) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alias.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:29:30.971132 [ 3331 ] {70371664-b880-48e7-b677-114912f01995} TCPHandler: Code: 47. DB::Exception: Identifier 'cte_subquery_alias.value_' cannot be resolved from subquery with name cte_subquery_alias. In scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alias.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:29:32.321753 [ 3331 ] {8506ebd6-c3fa-478d-8835-c49fa74911f4} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquery_alia.value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alia.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53260) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alia.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:32.323659 [ 3331 ] {8506ebd6-c3fa-478d-8835-c49fa74911f4} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquery_alia.value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alia.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:32.515182 [ 3331 ] {21590897-7d81-483b-84e0-abdc921b8c27} test_9ikq25wh.table_one (351cbd8d-7b3a-4d7b-964f-fd6a510548ce): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100, min_rows_for_compact_part = 0, min_bytes_for_compact_part = 0. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part', 'min_bytes_for_wide_part', 'min_rows_for_compact_part' and 'min_bytes_for_compact_part' will be ignored. 2024.03.27 21:29:32.763662 [ 3331 ] {3fa506fa-618f-47f5-9375-cda0e315196a} test_9ikq25wh.table_one (a795c04d-e2df-4b2c-af31-98478dbad595): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100, min_rows_for_compact_part = 0, min_bytes_for_compact_part = 0. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part', 'min_bytes_for_wide_part', 'min_rows_for_compact_part' and 'min_bytes_for_compact_part' will be ignored. 2024.03.27 21:29:32.810705 [ 3331 ] {06984811-1754-4534-8321-a6bfaa506f45} test_9ikq25wh.table_two (8644619c-cbb0-46e1-b9d5-1e5c0f342e32): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100, min_rows_for_compact_part = 0, min_bytes_for_compact_part = 0. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part', 'min_bytes_for_wide_part', 'min_rows_for_compact_part' and 'min_bytes_for_compact_part' will be ignored. 2024.03.27 21:29:33.219787 [ 3331 ] {33101a6d-593c-4a7b-bdfa-23cf79f6cdcf} test_9ikq25wh.table_two (d692e881-c4cb-4506-ad5e-1a6dc75938ff): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100, min_rows_for_compact_part = 0, min_bytes_for_compact_part = 0. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part', 'min_bytes_for_wide_part', 'min_rows_for_compact_part' and 'min_bytes_for_compact_part' will be ignored. 2024.03.27 21:29:33.417168 [ 3331 ] {c0b9ac8b-abe6-4438-9d00-435efa9686ce} executeQuery: Code: 36. DB::Exception: Cannot replace partition '0' because part '0_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53272) (comment: 02422_insert_different_granularity.sql) (in query: ALTER TABLE table_two REPLACE PARTITION 0 FROM table_one;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x2229414c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1854: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c587443 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4881: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c1047fa in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:33.418113 [ 3331 ] {c0b9ac8b-abe6-4438-9d00-435efa9686ce} TCPHandler: Code: 36. DB::Exception: Cannot replace partition '0' because part '0_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x2229414c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1854: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c587443 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4881: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c1047fa in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:33.708363 [ 3331 ] {6769106d-1835-47cc-b2b4-7a3dca087ab4} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53318) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:33.710476 [ 3331 ] {6769106d-1835-47cc-b2b4-7a3dca087ab4} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:35.004052 [ 3331 ] {9571e3ab-e0a3-4820-93bb-92256c96c6e5} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53378) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:35.005777 [ 3331 ] {9571e3ab-e0a3-4820-93bb-92256c96c6e5} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:36.453526 [ 3331 ] {8e596b76-ee70-4949-91bd-764f677d306d} executeQuery: Code: 47. DB::Exception: Unknown expression or function identifier 'constant_valu' in scope lambda_argument -> (lambda_argument + constant_valu). Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59572) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT 1 AS constant_value, arrayMap(lambda_argument -> lambda_argument + constant_valu, [1, 2, 3]) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4650: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7a338 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4410: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac80df5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5041: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7e17f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:36.455779 [ 3331 ] {8e596b76-ee70-4949-91bd-764f677d306d} TCPHandler: Code: 47. DB::Exception: Unknown expression or function identifier 'constant_valu' in scope lambda_argument -> (lambda_argument + constant_valu). Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4650: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7a338 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4410: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac80df5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5041: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7e17f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:37.879988 [ 3331 ] {8ebb97cf-2142-46b1-997e-7725b6012575} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope (SELECT constant_valu). Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59632) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH 1 AS constant_value SELECT (SELECT constant_valu) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5463: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68c9d in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 16. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:37.882051 [ 3331 ] {8ebb97cf-2142-46b1-997e-7725b6012575} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope (SELECT constant_valu). Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5463: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68c9d in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 16. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:40.659782 [ 1799 ] {5322d92f-3be4-457a-a247-b388539741f2} executeQuery: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_joqy7ko7.test_table_compound. In scope SELECT value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59746) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac86ef5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2922: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85b63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:40.662304 [ 1799 ] {5322d92f-3be4-457a-a247-b388539741f2} TCPHandler: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_joqy7ko7.test_table_compound. In scope SELECT value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac86ef5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2922: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85b63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:41.518070 [ 1011 ] {02421_truncate_isolation_with_mutations_test_87lrq0ut_tx11_11079} executeQuery: Code: 650. DB::Exception: Part all_1_1_1 intersects part all_1_1_0_2 (state Active). One of them is empty part. That is a race between drop operation under transaction and a merge/mutation. (SERIALIZATION_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58684) (in query: truncate table tt), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0x1c05574c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3642: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&, std::vector, std::allocator>>*) @ 0x2c0f0af7 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3682: DB::MergeTreeData::renameTempPartAndReplace(std::shared_ptr&, DB::MergeTreeData::Transaction&) @ 0x2c0f0fbe in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1597: DB::StorageMergeTree::renameAndCommitEmptyParts(std::vector, std::allocator>>&, DB::MergeTreeData::Transaction&) @ 0x2c57e8c2 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:1650: DB::StorageMergeTree::truncate(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, DB::TableExclusiveLockHolder&) @ 0x2c580336 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:221: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2abf0ad7 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2abeef14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2abee78e in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 17. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:41.519060 [ 1011 ] {02421_truncate_isolation_with_mutations_test_87lrq0ut_tx11_11079} DynamicQueryHandler: Code: 650. DB::Exception: Part all_1_1_1 intersects part all_1_1_0_2 (state Active). One of them is empty part. That is a race between drop operation under transaction and a merge/mutation. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0x1c05574c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3642: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&, std::vector, std::allocator>>*) @ 0x2c0f0af7 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3682: DB::MergeTreeData::renameTempPartAndReplace(std::shared_ptr&, DB::MergeTreeData::Transaction&) @ 0x2c0f0fbe in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1597: DB::StorageMergeTree::renameAndCommitEmptyParts(std::vector, std::allocator>>&, DB::MergeTreeData::Transaction&) @ 0x2c57e8c2 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:1650: DB::StorageMergeTree::truncate(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, DB::TableExclusiveLockHolder&) @ 0x2c580336 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:221: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2abf0ad7 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2abeef14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2abee78e in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 17. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:29:42.095204 [ 635 ] {11d8f226-7fbc-443a-8ca0-88ca346508ff} executeQuery: Code: 47. DB::Exception: Identifier test_table_compound.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_joqy7ko7.test_table_compound. In scope SELECT test_table_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59786) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac86ef5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:42.097090 [ 635 ] {11d8f226-7fbc-443a-8ca0-88ca346508ff} TCPHandler: Code: 47. DB::Exception: Identifier test_table_compound.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_joqy7ko7.test_table_compound. In scope SELECT test_table_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac86ef5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:43.388628 [ 1799 ] {6c5aa472-5cbf-4686-a922-a91a01d209b8} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl_compound.value.value_' in scope SELECT test_tabl_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59840) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_tabl_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:43.390480 [ 1799 ] {6c5aa472-5cbf-4686-a922-a91a01d209b8} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl_compound.value.value_' in scope SELECT test_tabl_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:44.684884 [ 635 ] {9f659fa1-0374-4bf6-b3a8-52f04c44535d} executeQuery: Code: 47. DB::Exception: Identifier test_table_compound.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_table_compound_alias. In scope SELECT test_table_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59860) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac86ef5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:44.688641 [ 635 ] {9f659fa1-0374-4bf6-b3a8-52f04c44535d} TCPHandler: Code: 47. DB::Exception: Identifier test_table_compound.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_table_compound_alias. In scope SELECT test_table_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac86ef5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:45.976964 [ 1799 ] {f0b499ef-5426-4a86-a522-3a4c3f2d76e5} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl_compound.value.value_' in scope SELECT test_tabl_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35244) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_tabl_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:45.980261 [ 1799 ] {f0b499ef-5426-4a86-a522-3a4c3f2d76e5} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl_compound.value.value_' in scope SELECT test_tabl_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:46.620097 [ 1161 ] {} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_v8guy80t.t_json_async_insert FORMAT JSONAsObject' with query id b995c880-3cb1-4893-8d7d-1a03e80d7ec6. DB::Exception: Cannot parse object: (at row 1) 2024.03.27 21:29:46.721443 [ 3331 ] {b995c880-3cb1-4893-8d7d-1a03e80d7ec6} executeQuery: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59708) (comment: 02421_type_json_async_insert.sh) (in query: INSERT INTO t_json_async_insert FORMAT JSONAsObject ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x29afb2f7 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29af08b1 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:208: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x2c9a586b in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9a43fa in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 13. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:62: DB::StreamingFormatExecutor::execute() @ 0x2c861ba1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:40: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x2c861793 in /usr/bin/clickhouse 15. /build/src/Interpreters/AsynchronousInsertQueue.cpp:440: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x29e2cf0a in /usr/bin/clickhouse 16. /build/src/Interpreters/AsynchronousInsertQueue.cpp:183: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1::operator()() @ 0x29e2f3aa in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval>, std::shared_ptr)::$_1&>()()) std::__invoke[abi:v15000]>, std::shared_ptr)::$_1&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1&) @ 0x29e2f315 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call>, std::shared_ptr)::$_1&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1&) @ 0x29e2f2f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, std::shared_ptr)::$_1, void ()>::operator()[abi:v15000]() @ 0x29e2f2d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x29e2f2a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 2024.03.27 21:29:46.723631 [ 3331 ] {b995c880-3cb1-4893-8d7d-1a03e80d7ec6} TCPHandler: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x29afb2f7 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29af08b1 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:208: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x2c9a586b in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9a43fa in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 13. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:62: DB::StreamingFormatExecutor::execute() @ 0x2c861ba1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:40: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x2c861793 in /usr/bin/clickhouse 15. /build/src/Interpreters/AsynchronousInsertQueue.cpp:440: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x29e2cf0a in /usr/bin/clickhouse 16. /build/src/Interpreters/AsynchronousInsertQueue.cpp:183: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1::operator()() @ 0x29e2f3aa in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval>, std::shared_ptr)::$_1&>()()) std::__invoke[abi:v15000]>, std::shared_ptr)::$_1&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1&) @ 0x29e2f315 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call>, std::shared_ptr)::$_1&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1&) @ 0x29e2f2f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, std::shared_ptr)::$_1, void ()>::operator()[abi:v15000]() @ 0x29e2f2d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x29e2f2a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 2024.03.27 21:29:47.265228 [ 3331 ] {e4a49f58-84aa-411f-a72f-cfaaf164a764} executeQuery: Code: 47. DB::Exception: Identifier test_table_compound_alias.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_table_compound_alias. In scope SELECT test_table_compound_alias.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound_alias.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35260) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_compound_alias.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac86ef5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:47.267423 [ 3331 ] {e4a49f58-84aa-411f-a72f-cfaaf164a764} TCPHandler: Code: 47. DB::Exception: Identifier test_table_compound_alias.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_table_compound_alias. In scope SELECT test_table_compound_alias.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound_alias.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac86ef5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:48.561438 [ 1011 ] {02421_truncate_isolation_with_mutations_test_87lrq0ut_tx22_22927} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_2.txt' with part 'all_1_1_0' reason: 'Serialization error: part all_1_1_0 is locked by transaction 8221613526662977871'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51944) (in query: alter table tt delete where n%2=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x2c2f9a04 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x2c2f97b0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageMergeTree.cpp:553: DB::StorageMergeTree::waitForMutation(long, String const&) @ 0x2c570f61 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:523: DB::StorageMergeTree::waitForMutation(long) @ 0x2c56f8fa in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:578: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x2c5727d5 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:150: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2ba3d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:48.562563 [ 1011 ] {02421_truncate_isolation_with_mutations_test_87lrq0ut_tx22_22927} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_2.txt' with part 'all_1_1_0' reason: 'Serialization error: part all_1_1_0 is locked by transaction 8221613526662977871'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x2c2f9a04 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x2c2f97b0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageMergeTree.cpp:553: DB::StorageMergeTree::waitForMutation(long, String const&) @ 0x2c570f61 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:523: DB::StorageMergeTree::waitForMutation(long) @ 0x2c56f8fa in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:578: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x2c5727d5 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:150: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2ba3d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:29:48.578835 [ 3331 ] {074c0c57-0fc2-48cb-96cf-abc56bcba81d} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_table_compound_alia.value.value_' in scope SELECT test_table_compound_alia.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound_alias.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35306) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_compound_alia.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:48.580648 [ 3331 ] {074c0c57-0fc2-48cb-96cf-abc56bcba81d} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_table_compound_alia.value.value_' in scope SELECT test_table_compound_alia.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound_alias.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:49.883192 [ 3331 ] {b010363b-240a-4cdf-a00a-647003ca6729} executeQuery: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope SELECT value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35356) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT value.value_ FROM (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac86ef5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2922: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85b63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:49.885436 [ 3331 ] {b010363b-240a-4cdf-a00a-647003ca6729} TCPHandler: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope SELECT value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac86ef5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2922: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85b63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:51.196188 [ 634 ] {db2c3e85-64c5-47a5-93fa-cf8b11233956} executeQuery: Code: 47. DB::Exception: Identifier subquery.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery with name subquery. In scope SELECT subquery.value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35414) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT subquery.value.value_ FROM (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac86ef5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:51.200072 [ 634 ] {db2c3e85-64c5-47a5-93fa-cf8b11233956} TCPHandler: Code: 47. DB::Exception: Identifier subquery.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery with name subquery. In scope SELECT subquery.value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac86ef5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:51.928625 [ 634 ] {36055293-e064-4561-b3d1-3e479764d890} executeQuery: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35434) (comment: 02416_keeper_map.sql) (in query: CREATE TABLE 02416_test (key String, value UInt32) Engine=KeeperMap('/' || currentDatabase() || '/test2416');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:870: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x2befb88b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:51.932924 [ 634 ] {36055293-e064-4561-b3d1-3e479764d890} TCPHandler: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:870: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x2befb88b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:52.079317 [ 634 ] {758d048f-7a86-47be-8e78-d2fc04700fad} executeQuery: Code: 47. DB::Exception: Missing columns: 'key2' while processing query: 'key2', required columns: 'key2' 'key2'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35434) (comment: 02416_keeper_map.sql) (in query: CREATE TABLE 02416_test (key String, value UInt32) Engine=KeeperMap('/' || currentDatabase() || '/test2416') PRIMARY KEY(key2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1364: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2351b1 in /usr/bin/clickhouse 8. /build/src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x2b869960 in /usr/bin/clickhouse 9. /build/src/Storages/KeyDescription.cpp:90: DB::KeyDescription::getKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x2b86a0ba in /usr/bin/clickhouse 10. /build/src/Storages/StorageKeeperMap.cpp:872: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x2befb9e9 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 17. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:52.080517 [ 634 ] {758d048f-7a86-47be-8e78-d2fc04700fad} TCPHandler: Code: 47. DB::Exception: Missing columns: 'key2' while processing query: 'key2', required columns: 'key2' 'key2'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1364: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2351b1 in /usr/bin/clickhouse 8. /build/src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x2b869960 in /usr/bin/clickhouse 9. /build/src/Storages/KeyDescription.cpp:90: DB::KeyDescription::getKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x2b86a0ba in /usr/bin/clickhouse 10. /build/src/Storages/StorageKeeperMap.cpp:872: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x2befb9e9 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 17. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:52.202787 [ 634 ] {1f57d7bb-e529-414f-b214-d24bcb56f6f3} executeQuery: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35434) (comment: 02416_keeper_map.sql) (in query: CREATE TABLE 02416_test (key String, value UInt32) Engine=KeeperMap('/' || currentDatabase() || '/test2416') PRIMARY KEY(key, value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:875: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x2befba87 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:52.203993 [ 634 ] {1f57d7bb-e529-414f-b214-d24bcb56f6f3} TCPHandler: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:875: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x2befba87 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:52.215768 [ 634 ] {183daa0d-a167-4550-a13b-51a2d309915f} executeQuery: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35434) (comment: 02416_keeper_map.sql) (in query: CREATE TABLE 02416_test (key String, value UInt32) Engine=KeeperMap('/' || currentDatabase() || '/test2416') PRIMARY KEY(concat(key, value));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:875: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x2befba87 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:52.216780 [ 634 ] {183daa0d-a167-4550-a13b-51a2d309915f} TCPHandler: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:875: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x2befba87 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:52.541279 [ 3331 ] {d2abd748-62b5-47dd-8927-027b97968f08} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'subquer.value.value_' in scope SELECT subquer.value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35452) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT subquer.value.value_ FROM (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:52.547822 [ 3331 ] {d2abd748-62b5-47dd-8927-027b97968f08} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'subquer.value.value_' in scope SELECT subquer.value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:53.823063 [ 1015 ] {78cf3379-541d-4fa7-bb2b-b51e0bee2a33} executeQuery: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35490) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac86ef5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2922: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85b63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:53.825092 [ 1015 ] {78cf3379-541d-4fa7-bb2b-b51e0bee2a33} TCPHandler: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac86ef5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2922: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85b63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:55.137869 [ 3331 ] {18b898f3-1570-491d-b4e0-c600c0efcede} executeQuery: Code: 47. DB::Exception: Identifier cte_subquery.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35524) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac86ef5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:55.140150 [ 3331 ] {18b898f3-1570-491d-b4e0-c600c0efcede} TCPHandler: Code: 47. DB::Exception: Identifier cte_subquery.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac86ef5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:56.465075 [ 634 ] {b9cf9a3d-9a0d-4b2a-8c54-aeb9e0f982ec} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquer.value.value_' in scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquer.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36786) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquer.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:56.467627 [ 634 ] {b9cf9a3d-9a0d-4b2a-8c54-aeb9e0f982ec} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquer.value.value_' in scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquer.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:56.620478 [ 1161 ] {} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_v8guy80t.t_json_async_insert FORMAT JSONAsObject' with query id fd161414-0f33-4669-8855-9713170e5840. DB::Exception: Cannot parse object: (at row 1) 2024.03.27 21:29:56.622766 [ 635 ] {fd161414-0f33-4669-8855-9713170e5840} executeQuery: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35388) (comment: 02421_type_json_async_insert.sh) (in query: INSERT INTO t_json_async_insert FORMAT JSONAsObject ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x29afb2f7 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29af08b1 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:208: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x2c9a586b in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9a43fa in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 13. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:62: DB::StreamingFormatExecutor::execute() @ 0x2c861ba1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:40: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x2c861793 in /usr/bin/clickhouse 15. /build/src/Interpreters/AsynchronousInsertQueue.cpp:440: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x29e2cf0a in /usr/bin/clickhouse 16. /build/src/Interpreters/AsynchronousInsertQueue.cpp:183: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1::operator()() @ 0x29e2f3aa in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval>, std::shared_ptr)::$_1&>()()) std::__invoke[abi:v15000]>, std::shared_ptr)::$_1&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1&) @ 0x29e2f315 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call>, std::shared_ptr)::$_1&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1&) @ 0x29e2f2f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, std::shared_ptr)::$_1, void ()>::operator()[abi:v15000]() @ 0x29e2f2d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x29e2f2a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 2024.03.27 21:29:56.625574 [ 635 ] {fd161414-0f33-4669-8855-9713170e5840} TCPHandler: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x29afb2f7 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29af08b1 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:208: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x2c9a586b in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9a43fa in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 13. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:62: DB::StreamingFormatExecutor::execute() @ 0x2c861ba1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:40: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x2c861793 in /usr/bin/clickhouse 15. /build/src/Interpreters/AsynchronousInsertQueue.cpp:440: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x29e2cf0a in /usr/bin/clickhouse 16. /build/src/Interpreters/AsynchronousInsertQueue.cpp:183: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1::operator()() @ 0x29e2f3aa in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval>, std::shared_ptr)::$_1&>()()) std::__invoke[abi:v15000]>, std::shared_ptr)::$_1&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1&) @ 0x29e2f315 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call>, std::shared_ptr)::$_1&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1&) @ 0x29e2f2f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, std::shared_ptr)::$_1, void ()>::operator()[abi:v15000]() @ 0x29e2f2d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x29e2f2a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 2024.03.27 21:29:57.778990 [ 1015 ] {064cc6a8-b541-42b9-b276-aaef2da93f36} executeQuery: Code: 47. DB::Exception: Identifier cte_subquery_alias.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery with name cte_subquery_alias. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alias.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36830) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alias.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac86ef5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:57.781557 [ 1015 ] {064cc6a8-b541-42b9-b276-aaef2da93f36} TCPHandler: Code: 47. DB::Exception: Identifier cte_subquery_alias.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery with name cte_subquery_alias. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alias.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac86ef5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:29:59.085055 [ 634 ] {8b331a97-1acc-4ddf-9a85-65f2fd3d293c} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquery_alia.value.value_' in scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alia.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36868) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alia.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:29:59.087441 [ 634 ] {8b331a97-1acc-4ddf-9a85-65f2fd3d293c} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquery_alia.value.value_' in scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alia.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:00.559049 [ 1015 ] {7744960a-1bfb-42f5-989e-7ab8b5d1b01a} executeQuery: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_value.value_ SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36926) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT cast(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_value.value_ SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac747fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:00.561305 [ 1015 ] {7744960a-1bfb-42f5-989e-7ab8b5d1b01a} TCPHandler: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_value.value_ SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac747fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:01.020144 [ 634 ] {19a3485e-3a50-474b-8edf-0e62b73d6db2} executeQuery: Code: 43. DB::Exception: Illegal types of arguments: Map(String, UInt8), UInt8 for function arrayElement. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36942) (comment: 02407_array_element_from_map_wrong_type.sql) (in query: select m[0], materialize(map('key', 42)) as m;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayElement.cpp:1022: DB::FunctionArrayElement::executeMap(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x219dd124 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayElement.cpp:1084: DB::FunctionArrayElement::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x219ddcd2 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:30:01.022927 [ 634 ] {19a3485e-3a50-474b-8edf-0e62b73d6db2} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments: Map(String, UInt8), UInt8 for function arrayElement. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayElement.cpp:1022: DB::FunctionArrayElement::executeMap(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x219dd124 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayElement.cpp:1084: DB::FunctionArrayElement::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x219ddcd2 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:30:01.858168 [ 3331 ] {fb176d5c-0627-4524-9aa9-fc7248f964e0} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu.value_' in scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_valu.value_ SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36972) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT cast(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_valu.value_ SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:01.866459 [ 3331 ] {fb176d5c-0627-4524-9aa9-fc7248f964e0} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu.value_' in scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_valu.value_ SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2acc915a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:03.396318 [ 1015 ] {053b713b-2508-4151-a7c2-9ab46f974e4c} executeQuery: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, arrayMap(lambda_argument -> (lambda_argument + constant_value.value_), [1, 2, 3]) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37050) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT cast(tuple(1), 'Tuple(value_1 String)') AS constant_value, arrayMap(lambda_argument -> lambda_argument + constant_value.value_, [1, 2, 3]) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac747fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3313: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac74b95 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3503: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac730a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4650: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7a338 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4410: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac80df5 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5041: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7e17f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 23. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:30:03.504549 [ 942 ] {987ea870-7987-4361-8c34-99292402e18d} executeQuery: Code: 60. DB::Exception: Table test_7hql4sc7.ddl_test_for_opentelemetry_non_exist doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 02423_ddl_for_opentelemetry.sh) (in query: /* ddl_entry=query-0000000005 */ DROP TABLE test_7hql4sc7.ddl_test_for_opentelemetry_non_exist), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:805: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f81118 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:121: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2abef881 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2abeef14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2abee78e in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 13. /build/src/Interpreters/DDLWorker.cpp:477: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f636df in /usr/bin/clickhouse 14. /build/src/Interpreters/DDLWorker.cpp:640: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f62464 in /usr/bin/clickhouse 15. /build/src/Interpreters/DDLWorker.cpp:422: DB::DDLWorker::scheduleTasks(bool) @ 0x29f60633 in /usr/bin/clickhouse 16. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x29f57da4 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29f74aa9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29f74a2d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29f7497d in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29f748b2 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29f74815 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29f747f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29f747d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29f747a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 2024.03.27 21:30:03.505388 [ 1015 ] {053b713b-2508-4151-a7c2-9ab46f974e4c} TCPHandler: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, arrayMap(lambda_argument -> (lambda_argument + constant_value.value_), [1, 2, 3]) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac747fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3313: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac74b95 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3503: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac730a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4650: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7a338 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4410: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac80df5 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5041: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7e17f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 23. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:30:03.505794 [ 942 ] {987ea870-7987-4361-8c34-99292402e18d} DDLWorker: Query /* ddl_entry=query-0000000005 */ DROP TABLE test_7hql4sc7.ddl_test_for_opentelemetry_non_exist wasn't finished successfully: Code: 60. DB::Exception: Table test_7hql4sc7.ddl_test_for_opentelemetry_non_exist doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:805: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f81118 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:121: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2abef881 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2abeef14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2abee78e in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 13. /build/src/Interpreters/DDLWorker.cpp:477: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f636df in /usr/bin/clickhouse 14. /build/src/Interpreters/DDLWorker.cpp:640: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f62464 in /usr/bin/clickhouse 15. /build/src/Interpreters/DDLWorker.cpp:422: DB::DDLWorker::scheduleTasks(bool) @ 0x29f60633 in /usr/bin/clickhouse 16. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x29f57da4 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29f74aa9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29f74a2d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29f7497d in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29f748b2 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29f74815 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29f747f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29f747d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29f747a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:30:03.647102 [ 634 ] {a18db1d5-9fcf-49ad-bf6a-c90e526c3571} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_7hql4sc7.ddl_test_for_opentelemetry_non_exist doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48964) (comment: 02423_ddl_for_opentelemetry.sh) (in query: DROP TABLE test_7hql4sc7.ddl_test_for_opentelemetry_non_exist ON CLUSTER test_shard_localhost), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x2b34a1a8 in /usr/bin/clickhouse 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:467: DB::DDLQueryStatusSource::generate() @ 0x2b346a70 in /usr/bin/clickhouse 7. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 8. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 19. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:03.657618 [ 634 ] {a18db1d5-9fcf-49ad-bf6a-c90e526c3571} DynamicQueryHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_7hql4sc7.ddl_test_for_opentelemetry_non_exist doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x2b34a1a8 in /usr/bin/clickhouse 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:467: DB::DDLQueryStatusSource::generate() @ 0x2b346a70 in /usr/bin/clickhouse 7. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 8. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 19. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:30:04.080744 [ 1799 ] {69cb453c-2826-4eab-a930-4dfe0e9fe2c7} executeQuery: Code: 456. DB::Exception: Substitution `price` is not set. (UNKNOWN_QUERY_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37082) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM test_02428_pv1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:71: DB::ReplaceQueryParameterVisitor::getParamValue(String const&) @ 0x2b340163 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:77: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b33f5ea in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f485 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 19. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 21. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 23. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 24. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 25. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 27. /build/src/Storages/StorageView.cpp:216: DB::StorageView::replaceQueryParametersIfParametrizedView(std::shared_ptr&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2bbde2aa in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:582: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92540 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:30:04.082727 [ 1799 ] {69cb453c-2826-4eab-a930-4dfe0e9fe2c7} TCPHandler: Code: 456. DB::Exception: Substitution `price` is not set. (UNKNOWN_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:71: DB::ReplaceQueryParameterVisitor::getParamValue(String const&) @ 0x2b340163 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:77: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b33f5ea in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f485 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 19. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 21. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 23. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 24. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 25. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 27. /build/src/Storages/StorageView.cpp:216: DB::StorageView::replaceQueryParametersIfParametrizedView(std::shared_ptr&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2bbde2aa in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:582: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92540 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:30:04.971991 [ 635 ] {d8a4a2cd-0551-4f92-8ad4-66fe992aeec7} executeQuery: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope WITH CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value SELECT (SELECT constant_value.value_) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37084) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cast(tuple(1), 'Tuple(value_1 String)') AS constant_value SELECT (SELECT constant_value.value_) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac747fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3338: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac74d5e in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3503: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac730a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5463: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68c9d in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 21. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 2024.03.27 21:30:04.975224 [ 635 ] {d8a4a2cd-0551-4f92-8ad4-66fe992aeec7} TCPHandler: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope WITH CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value SELECT (SELECT constant_value.value_) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac747fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3338: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac74d5e in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3503: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac730a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5463: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68c9d in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 21. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 2024.03.27 21:30:05.131286 [ 1799 ] {5b273552-eb11-4d43-8ea6-2eb919b578ee} executeQuery: Code: 36. DB::Exception: Compound identifier 'lambda.nested' cannot be resolved as function. In scope WITH x -> (x + 1) AS lambda SELECT lambda.nested(1). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37092) (comment: 02385_analyzer_aliases_compound_expression.sql) (in query: WITH (x -> x + 1) AS lambda SELECT lambda.nested(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x2acbce48 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2600: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac749a4 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72e1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4478: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78c69 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:05.132491 [ 1799 ] {5b273552-eb11-4d43-8ea6-2eb919b578ee} TCPHandler: Code: 36. DB::Exception: Compound identifier 'lambda.nested' cannot be resolved as function. In scope WITH x -> (x + 1) AS lambda SELECT lambda.nested(1). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x2acbce48 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2600: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac749a4 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72e1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4478: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78c69 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:05.335896 [ 1799 ] {962d28b7-a29e-45ec-9614-0f53317aee99} executeQuery: Code: 36. DB::Exception: Compound identifier 't1.nested' cannot be resolved as table expression. In scope SELECT * FROM (SELECT 1) AS t1, t1.nested AS t2. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37092) (comment: 02385_analyzer_aliases_compound_expression.sql) (in query: SELECT * FROM (SELECT 1) AS t1, t1.nested AS t2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x2acbce48 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2600: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac749a4 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72e1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5816: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6d949 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6678: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63123 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:05.337847 [ 1799 ] {962d28b7-a29e-45ec-9614-0f53317aee99} TCPHandler: Code: 36. DB::Exception: Compound identifier 't1.nested' cannot be resolved as table expression. In scope SELECT * FROM (SELECT 1) AS t1, t1.nested AS t2. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x2acbce48 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2600: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac749a4 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72e1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5816: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6d949 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6678: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63123 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:05.344432 [ 1799 ] {18ae49ab-6270-414a-9457-cf7b28d8a5f0} executeQuery: Code: 36. DB::Exception: Compound identifier 't1.nested' cannot be resolved as table expression. In scope SELECT * FROM t1.nested AS t2, (SELECT 1) AS t1. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37092) (comment: 02385_analyzer_aliases_compound_expression.sql) (in query: SELECT * FROM t1.nested AS t2, (SELECT 1) AS t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x2acbce48 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2600: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac749a4 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72e1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5816: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6d949 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6678: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63123 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:05.345608 [ 1799 ] {18ae49ab-6270-414a-9457-cf7b28d8a5f0} TCPHandler: Code: 36. DB::Exception: Compound identifier 't1.nested' cannot be resolved as table expression. In scope SELECT * FROM t1.nested AS t2, (SELECT 1) AS t1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x2acbce48 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2600: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac749a4 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72e1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5816: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6d949 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6678: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63123 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:05.573985 [ 3331 ] {36cc626b-f198-44e3-93e9-e6499a684a34} executeQuery: Code: 44. DB::Exception: Illegal column Array(String) of argument of function concat. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37066) (comment: 02389_analyzer_nested_lambda.sql) (in query: SELECT arrayMap(x -> concat(toString(id), arrayMap(x -> toString(1), [NULL])), [NULL]) FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:149: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x1bf9474f in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:111: DB::(anonymous namespace)::ConcatImpl::executeBinary(std::vector> const&, unsigned long) const @ 0x1bf942b1 in /usr/bin/clickhouse 8. /build/src/Functions/concat.cpp:82: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1bf93adf in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 19. /build/src/Planner/Planner.cpp:217: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x2ae2a09a in /usr/bin/clickhouse 20. /build/src/Planner/Planner.cpp:1220: DB::Planner::buildPlanForQueryNode() @ 0x2ae2774d in /usr/bin/clickhouse 21. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2ae25108 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2ae2315f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2ae22f3b in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:30:05.575337 [ 3331 ] {36cc626b-f198-44e3-93e9-e6499a684a34} TCPHandler: Code: 44. DB::Exception: Illegal column Array(String) of argument of function concat. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:149: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x1bf9474f in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:111: DB::(anonymous namespace)::ConcatImpl::executeBinary(std::vector> const&, unsigned long) const @ 0x1bf942b1 in /usr/bin/clickhouse 8. /build/src/Functions/concat.cpp:82: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1bf93adf in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 19. /build/src/Planner/Planner.cpp:217: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x2ae2a09a in /usr/bin/clickhouse 20. /build/src/Planner/Planner.cpp:1220: DB::Planner::buildPlanForQueryNode() @ 0x2ae2774d in /usr/bin/clickhouse 21. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2ae25108 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2ae2315f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2ae22f3b in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:30:07.844456 [ 3331 ] {c076c542-01cc-4e6d-a5b4-831443ceb693} executeQuery: Code: 47. DB::Exception: Identifier 'test_table_1.value_' cannot be resolved from table with name test_joqy7ko7.test_table_1. In scope SELECT test_table_1.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_1.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38000) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_1.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2946: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83b09 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:30:07.846596 [ 3331 ] {c076c542-01cc-4e6d-a5b4-831443ceb693} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table_1.value_' cannot be resolved from table with name test_joqy7ko7.test_table_1. In scope SELECT test_table_1.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_1.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2946: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83b09 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:30:08.294909 [ 635 ] {f8753454-5938-4b16-bc6f-994fe71c4b75} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38036) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:08.295916 [ 635 ] {f8753454-5938-4b16-bc6f-994fe71c4b75} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:09.308338 [ 635 ] {f9257cd2-b9ec-40fb-b84b-ec890fb6b77a} executeQuery: Code: 47. DB::Exception: Identifier 'test_table_2.value_' cannot be resolved from table with name test_joqy7ko7.test_table_2. In scope SELECT test_table_2.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_2.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38052) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_2.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83b3f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:30:09.312974 [ 635 ] {f9257cd2-b9ec-40fb-b84b-ec890fb6b77a} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table_2.value_' cannot be resolved from table with name test_joqy7ko7.test_table_2. In scope SELECT test_table_2.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_2.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83b3f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:30:10.606317 [ 3331 ] {77168aba-0fc5-4586-a6fa-9a6b80ab5dde} executeQuery: Code: 47. DB::Exception: Identifier 't1.value_' cannot be resolved from table with name t1. In scope SELECT t1.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t1.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38106) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT t1.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2946: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83b09 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:30:10.608387 [ 3331 ] {77168aba-0fc5-4586-a6fa-9a6b80ab5dde} TCPHandler: Code: 47. DB::Exception: Identifier 't1.value_' cannot be resolved from table with name t1. In scope SELECT t1.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t1.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2946: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83b09 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:30:10.927511 [ 1011 ] {02421_truncate_isolation_with_mutations_test_87lrq0ut_tx43_3461} executeQuery: Code: 650. DB::Exception: Part all_1_1_1 intersects part all_1_2_1 (state Active). One of them is empty part. That is a race between drop operation under transaction and a merge/mutation. (SERIALIZATION_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44328) (in query: alter table tt drop partition id 'all'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0x1c05574c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3642: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&, std::vector, std::allocator>>*) @ 0x2c0f0af7 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3682: DB::MergeTreeData::renameTempPartAndReplace(std::shared_ptr&, DB::MergeTreeData::Transaction&) @ 0x2c0f0fbe in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1597: DB::StorageMergeTree::renameAndCommitEmptyParts(std::vector, std::allocator>>&, DB::MergeTreeData::Transaction&) @ 0x2c57e8c2 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:1770: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c5851d6 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeData.cpp:4813: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103b6a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 17. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:10.928686 [ 1011 ] {02421_truncate_isolation_with_mutations_test_87lrq0ut_tx43_3461} DynamicQueryHandler: Code: 650. DB::Exception: Part all_1_1_1 intersects part all_1_2_1 (state Active). One of them is empty part. That is a race between drop operation under transaction and a merge/mutation. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0x1c05574c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3642: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&, std::vector, std::allocator>>*) @ 0x2c0f0af7 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3682: DB::MergeTreeData::renameTempPartAndReplace(std::shared_ptr&, DB::MergeTreeData::Transaction&) @ 0x2c0f0fbe in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1597: DB::StorageMergeTree::renameAndCommitEmptyParts(std::vector, std::allocator>>&, DB::MergeTreeData::Transaction&) @ 0x2c57e8c2 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:1770: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c5851d6 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeData.cpp:4813: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103b6a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 17. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:30:11.066600 [ 1011 ] {02421_truncate_isolation_with_mutations_test_87lrq0ut_tx43_31649} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44348) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b3f351e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:56: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x2aea3ff5 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:29: DB::InterpreterTransactionControlQuery::execute() @ 0x2aea3b6d in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:11.071156 [ 1011 ] {02421_truncate_isolation_with_mutations_test_87lrq0ut_tx43_31649} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b3f351e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:56: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x2aea3ff5 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:29: DB::InterpreterTransactionControlQuery::execute() @ 0x2aea3b6d in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:30:11.899247 [ 635 ] {157d9f2c-653c-481f-89b7-1fe3e549899e} executeQuery: Code: 47. DB::Exception: Identifier 't2.value_' cannot be resolved from table with name t2. In scope SELECT t2.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t2.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38148) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT t2.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83b3f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:30:11.901634 [ 635 ] {157d9f2c-653c-481f-89b7-1fe3e549899e} TCPHandler: Code: 47. DB::Exception: Identifier 't2.value_' cannot be resolved from table with name t2. In scope SELECT t2.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t2.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2acb9a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ac87a03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac85c43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac83b3f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac73c67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72ebb in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:30:12.097067 [ 635 ] {577a3e2a-2f5a-4d84-9a62-a667e0496f00} executeQuery: Code: 48. DB::Exception: Method write is not supported by storage View. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38160) (comment: 02428_parameterized_view.sh) (in query: INSERT INTO test_02428_pv1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.h:398: DB::IStorage::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x28d2b5e7 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:12.098678 [ 635 ] {577a3e2a-2f5a-4d84-9a62-a667e0496f00} TCPHandler: Code: 48. DB::Exception: Method write is not supported by storage View. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.h:398: DB::IStorage::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x28d2b5e7 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:13.224912 [ 1799 ] {0d5c474a-e1d5-40ee-9a78-ef10ab5f37b6} executeQuery: Code: 47. DB::Exception: Identifier a.size1 nested path size1 cannot be resolved from type Array(UInt8). In scope SELECT [1] AS a, a.size1 SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['a.size0']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38210) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT [1] AS a, a.size1 SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac747fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:13.229020 [ 1799 ] {0d5c474a-e1d5-40ee-9a78-ef10ab5f37b6} TCPHandler: Code: 47. DB::Exception: Identifier a.size1 nested path size1 cannot be resolved from type Array(UInt8). In scope SELECT [1] AS a, a.size1 SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['a.size0']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac747fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:13.526906 [ 1799 ] {a9a6a076-0684-4451-97e3-d22c77f518a1} executeQuery: Code: 46. DB::Exception: Unknown table function pv123: or incorrect parameterized view. (UNKNOWN_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38216) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM pv123(price=20)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5498 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:13.529151 [ 1799 ] {a9a6a076-0684-4451-97e3-d22c77f518a1} TCPHandler: Code: 46. DB::Exception: Unknown table function pv123: or incorrect parameterized view. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5498 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:14.533607 [ 2751 ] {926666f7-f0c7-44c3-a9e4-42c895d8a015} executeQuery: Code: 47. DB::Exception: Identifier t.c nested path c cannot be resolved from type Tuple(a Tuple(b UInt32)). In scope SELECT CAST('((1))', 'Tuple(a Tuple(b UInt32))') AS t, t.c SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t.a']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38268) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT ((1))::Tuple(a Tuple(b UInt32)) AS t, t.c SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac747fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:14.536333 [ 2751 ] {926666f7-f0c7-44c3-a9e4-42c895d8a015} TCPHandler: Code: 47. DB::Exception: Identifier t.c nested path c cannot be resolved from type Tuple(a Tuple(b UInt32)). In scope SELECT CAST('((1))', 'Tuple(a Tuple(b UInt32))') AS t, t.c SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t.a']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac747fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:15.821147 [ 1799 ] {1e415067-66ac-4f11-9820-189bd5d37f21} executeQuery: Code: 47. DB::Exception: Identifier t.a.c nested path a.c cannot be resolved from type Tuple(a Tuple(b UInt32)). In scope SELECT CAST('((1))', 'Tuple(a Tuple(b UInt32))') AS t, t.a.c SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t.a.b']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48170) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT ((1))::Tuple(a Tuple(b UInt32)) AS t, t.a.c SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac747fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:15.823334 [ 1799 ] {1e415067-66ac-4f11-9820-189bd5d37f21} TCPHandler: Code: 47. DB::Exception: Identifier t.a.c nested path a.c cannot be resolved from type Tuple(a Tuple(b UInt32)). In scope SELECT CAST('((1))', 'Tuple(a Tuple(b UInt32))') AS t, t.a.c SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t.a.b']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2acaa816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac78126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac747fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2ac72e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac6793b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:16.158050 [ 1799 ] {838bc79f-ac84-4f0f-9d92-a654fc23aba7} executeQuery: Code: 46. DB::Exception: Unknown table function test_02428_v1: or incorrect parameterized view. (UNKNOWN_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48192) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM test_02428_v1(price=10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5498 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:16.164601 [ 1799 ] {838bc79f-ac84-4f0f-9d92-a654fc23aba7} TCPHandler: Code: 46. DB::Exception: Unknown table function test_02428_v1: or incorrect parameterized view. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5498 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:17.946327 [ 1011 ] {02421_truncate_isolation_with_mutations_test_87lrq0ut_tx52_21860} executeQuery: Code: 384. DB::Exception: Part all_1_1_1 (state Outdated) already exists, but it will be deleted soon. (PART_IS_TEMPORARILY_LOCKED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33748) (in query: alter table tt drop partition id 'all'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3523: DB::MergeTreeData::checkPartDuplicate(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&) const @ 0x2c0edb15 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3630: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&, std::vector, std::allocator>>*) @ 0x2c0f0943 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:3682: DB::MergeTreeData::renameTempPartAndReplace(std::shared_ptr&, DB::MergeTreeData::Transaction&) @ 0x2c0f0fbe in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:1597: DB::StorageMergeTree::renameAndCommitEmptyParts(std::vector, std::allocator>>&, DB::MergeTreeData::Transaction&) @ 0x2c57e8c2 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1770: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c5851d6 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:4813: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103b6a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:17.947352 [ 1011 ] {02421_truncate_isolation_with_mutations_test_87lrq0ut_tx52_21860} DynamicQueryHandler: Code: 384. DB::Exception: Part all_1_1_1 (state Outdated) already exists, but it will be deleted soon. (PART_IS_TEMPORARILY_LOCKED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3523: DB::MergeTreeData::checkPartDuplicate(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&) const @ 0x2c0edb15 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3630: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&, std::vector, std::allocator>>*) @ 0x2c0f0943 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:3682: DB::MergeTreeData::renameTempPartAndReplace(std::shared_ptr&, DB::MergeTreeData::Transaction&) @ 0x2c0f0fbe in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:1597: DB::StorageMergeTree::renameAndCommitEmptyParts(std::vector, std::allocator>>&, DB::MergeTreeData::Transaction&) @ 0x2c57e8c2 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1770: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c5851d6 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:4813: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103b6a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:30:18.819191 [ 1799 ] {dddd525c-da89-4995-8630-84da8f3e5940} executeQuery: Code: 117. DB::Exception: Index 2 in Dictionary column is out of bounds, dictionary size is 2: While executing ArrowBlockInputFormat: While executing File. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48302) (comment: 02383_arrow_dict_special_cases.sh) (in query: select * from file('test_02383/corrupted.arrow')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&&, unsigned long&&) @ 0x2c8a5ecc in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:413: DB::ColumnWithTypeAndName DB::readColumnWithIndexesDataImpl>(std::shared_ptr&, String const&, long, char8_t, bool) @ 0x2c89b1c2 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:498: DB::readColumnWithIndexesData(std::shared_ptr&, long, unsigned long, bool) @ 0x2c8968c3 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:760: DB::readColumnFromArrowColumn(std::shared_ptr&, String const&, String const&, bool, std::unordered_map, std::equal_to, std::allocator>>&, bool, bool, bool&, std::shared_ptr) @ 0x2c890679 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:968: DB::ArrowColumnToCHColumn::arrowColumnsToCHChunk(DB::Chunk&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, unsigned long, DB::BlockMissingValues*) @ 0x2c892095 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:892: DB::ArrowColumnToCHColumn::arrowTableToCHChunk(DB::Chunk&, std::shared_ptr&, unsigned long, DB::BlockMissingValues*) @ 0x2c891271 in /usr/bin/clickhouse 11. /build/src/Processors/Formats/Impl/ArrowBlockInputFormat.cpp:77: DB::ArrowBlockInputFormat::generate() @ 0x2c86c7f0 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 13. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 19. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 20. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 21. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 2024.03.27 21:30:18.821885 [ 1799 ] {dddd525c-da89-4995-8630-84da8f3e5940} TCPHandler: Code: 117. DB::Exception: Index 2 in Dictionary column is out of bounds, dictionary size is 2: While executing ArrowBlockInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&&, unsigned long&&) @ 0x2c8a5ecc in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:413: DB::ColumnWithTypeAndName DB::readColumnWithIndexesDataImpl>(std::shared_ptr&, String const&, long, char8_t, bool) @ 0x2c89b1c2 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:498: DB::readColumnWithIndexesData(std::shared_ptr&, long, unsigned long, bool) @ 0x2c8968c3 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:760: DB::readColumnFromArrowColumn(std::shared_ptr&, String const&, String const&, bool, std::unordered_map, std::equal_to, std::allocator>>&, bool, bool, bool&, std::shared_ptr) @ 0x2c890679 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:968: DB::ArrowColumnToCHColumn::arrowColumnsToCHChunk(DB::Chunk&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, unsigned long, DB::BlockMissingValues*) @ 0x2c892095 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:892: DB::ArrowColumnToCHColumn::arrowTableToCHChunk(DB::Chunk&, std::shared_ptr&, unsigned long, DB::BlockMissingValues*) @ 0x2c891271 in /usr/bin/clickhouse 11. /build/src/Processors/Formats/Impl/ArrowBlockInputFormat.cpp:77: DB::ArrowBlockInputFormat::generate() @ 0x2c86c7f0 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 13. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 19. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 20. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 21. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 2024.03.27 21:30:19.246650 [ 1799 ] {51ea4534-ed94-4a1b-bff1-985d559bf548} executeQuery: Code: 36. DB::Exception: JOIN test_yi2f6p1t.test_table_join_1 AS t1 ALL INNER JOIN test_yi2f6p1t.test_table_join_2 AS t2 USING (id, id, id) identifier 'id' appears more than once in USING clause. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48320) (comment: 02382_analyzer_matcher_join_using.sql) (in query: SELECT * FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 USING (id, id, id) ORDER BY id, t1.value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6366: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e2fd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:19.247804 [ 1799 ] {51ea4534-ed94-4a1b-bff1-985d559bf548} TCPHandler: Code: 36. DB::Exception: JOIN test_yi2f6p1t.test_table_join_1 AS t1 ALL INNER JOIN test_yi2f6p1t.test_table_join_2 AS t2 USING (id, id, id) identifier 'id' appears more than once in USING clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6366: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e2fd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:20.299763 [ 1799 ] {17cc7d04-3b46-45cb-a44f-283b641820db} executeQuery: Code: 456. DB::Exception: Substitution `quantity` is not set. (UNKNOWN_QUERY_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48372) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM test_02428_pv2(price=50)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:71: DB::ReplaceQueryParameterVisitor::getParamValue(String const&) @ 0x2b340163 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:77: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b33f5ea in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f485 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 19. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 21. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 23. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 24. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 25. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 27. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 29. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 30. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 31. /build/src/Storages/StorageView.cpp:216: DB::StorageView::replaceQueryParametersIfParametrizedView(std::shared_ptr&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2bbde2aa in /usr/bin/clickhouse 2024.03.27 21:30:20.301746 [ 1799 ] {17cc7d04-3b46-45cb-a44f-283b641820db} TCPHandler: Code: 456. DB::Exception: Substitution `quantity` is not set. (UNKNOWN_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:71: DB::ReplaceQueryParameterVisitor::getParamValue(String const&) @ 0x2b340163 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:77: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b33f5ea in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f485 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 19. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 21. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 23. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 24. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 25. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 27. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 29. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 30. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 31. /build/src/Storages/StorageView.cpp:216: DB::StorageView::replaceQueryParametersIfParametrizedView(std::shared_ptr&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2bbde2aa in /usr/bin/clickhouse 2024.03.27 21:30:30.604487 [ 2751 ] {97d226c8-1d3a-45db-850d-19d7f7176476} executeQuery: Code: 179. DB::Exception: ARRAY JOIN expression [1, 2, 3] AS value with duplicate alias value. In scope SELECT 1 AS value FROM test_table ARRAY JOIN [1, 2, 3] AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43510) (comment: 02374_analyzer_array_join.sql) (in query: SELECT 1 AS value FROM test_table ARRAY JOIN [1,2,3] AS value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x2aca0c68 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6239: DB::(anonymous namespace)::QueryAnalyzer::resolveArrayJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8d18d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6452: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea7d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:30.605617 [ 2751 ] {97d226c8-1d3a-45db-850d-19d7f7176476} TCPHandler: Code: 179. DB::Exception: ARRAY JOIN expression [1, 2, 3] AS value with duplicate alias value. In scope SELECT 1 AS value FROM test_table ARRAY JOIN [1, 2, 3] AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x2aca0c68 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6239: DB::(anonymous namespace)::QueryAnalyzer::resolveArrayJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8d18d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6452: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea7d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:30.790515 [ 2751 ] {0e19d4aa-5e17-4921-a4aa-24eb16987626} executeQuery: Code: 179. DB::Exception: ARRAY JOIN expression value_array AS value with duplicate alias value. In scope SELECT id AS value FROM test_table ARRAY JOIN value_array AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43510) (comment: 02374_analyzer_array_join.sql) (in query: SELECT id AS value FROM test_table ARRAY JOIN value_array AS value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x2aca0c68 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6239: DB::(anonymous namespace)::QueryAnalyzer::resolveArrayJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8d18d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6452: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea7d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:30.790543 [ 2750 ] {29cf7161-6536-4d26-bef9-532dd80816e2} executeQuery: Code: 47. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL INNER JOIN test_3b630qe3.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 USING (test_value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6376: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e51d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:30.791565 [ 2751 ] {0e19d4aa-5e17-4921-a4aa-24eb16987626} TCPHandler: Code: 179. DB::Exception: ARRAY JOIN expression value_array AS value with duplicate alias value. In scope SELECT id AS value FROM test_table ARRAY JOIN value_array AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x2aca0c68 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6239: DB::(anonymous namespace)::QueryAnalyzer::resolveArrayJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8d18d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6452: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea7d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:30.791745 [ 2750 ] {29cf7161-6536-4d26-bef9-532dd80816e2} TCPHandler: Code: 47. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL INNER JOIN test_3b630qe3.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6376: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e51d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:30.964397 [ 2750 ] {87c254be-0c8e-4c89-b43a-4c8cb5131522} executeQuery: Code: 47. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL LEFT JOIN test_3b630qe3.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 USING (test_value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6376: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e51d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:30.965632 [ 2750 ] {87c254be-0c8e-4c89-b43a-4c8cb5131522} TCPHandler: Code: 47. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL LEFT JOIN test_3b630qe3.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6376: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e51d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:31.147568 [ 2750 ] {e33c5c54-c448-473e-9d7c-c88d24422cff} executeQuery: Code: 47. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL RIGHT JOIN test_3b630qe3.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 USING (test_value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6376: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e51d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:31.148695 [ 2750 ] {e33c5c54-c448-473e-9d7c-c88d24422cff} TCPHandler: Code: 47. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL RIGHT JOIN test_3b630qe3.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6376: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e51d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:31.328387 [ 2750 ] {c6b2eb08-ae9d-42c8-838b-71dc04ffd8a4} executeQuery: Code: 47. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_3b630qe3.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 USING (test_value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6376: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e51d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:31.329600 [ 2750 ] {c6b2eb08-ae9d-42c8-838b-71dc04ffd8a4} TCPHandler: Code: 47. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_3b630qe3.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6376: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e51d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:31.675435 [ 2750 ] {695c4b09-eb18-4bfc-b0d0-e9fa2cc021eb} executeQuery: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL INNER JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:31.676732 [ 2750 ] {695c4b09-eb18-4bfc-b0d0-e9fa2cc021eb} TCPHandler: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL INNER JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:31.910508 [ 2750 ] {fbb5646c-7faa-4e5b-b18f-c83eabfda34c} executeQuery: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL INNER JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:31.911648 [ 2750 ] {fbb5646c-7faa-4e5b-b18f-c83eabfda34c} TCPHandler: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL INNER JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:32.160645 [ 2750 ] {c338489d-aedc-42ce-b70f-68fae825e9f3} executeQuery: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL INNER JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:32.161768 [ 2750 ] {c338489d-aedc-42ce-b70f-68fae825e9f3} TCPHandler: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL INNER JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:32.367898 [ 2750 ] {adfdfac0-ea4a-4fac-85d9-64d5d58ecd5d} executeQuery: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL INNER JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:32.369113 [ 2750 ] {adfdfac0-ea4a-4fac-85d9-64d5d58ecd5d} TCPHandler: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL INNER JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:32.554637 [ 2751 ] {e17651a0-d8af-4f9c-ba0a-320fe36919ad} executeQuery: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type UInt8. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43552) (comment: 02370_analyzer_in_function.sql) (in query: SELECT (1, 2) IN 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:167: DB::makeSetForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, DB::Settings const&) @ 0x2ace4b94 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5113: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7ec1d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:32.555843 [ 2751 ] {e17651a0-d8af-4f9c-ba0a-320fe36919ad} TCPHandler: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type UInt8. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:167: DB::makeSetForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, DB::Settings const&) @ 0x2ace4b94 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5113: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7ec1d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:32.696464 [ 2751 ] {5ca72631-751a-4f29-a0b4-a3fdc6c9f060} executeQuery: Code: 124. DB::Exception: Invalid type in set. Expected tuple, got Array. (INCORRECT_ELEMENT_OF_SET) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43552) (comment: 02370_analyzer_in_function.sql) (in query: SELECT (1, 2) IN [1];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19b69eb3 in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:82: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2ace52b3 in /usr/bin/clickhouse 7. /build/src/Analyzer/SetUtils.cpp:148: DB::makeSetForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, DB::Settings const&) @ 0x2ace472c in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5113: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7ec1d in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:32.696819 [ 2750 ] {648fd0d2-5eda-4c9d-97ab-ac1078bd5bcb} executeQuery: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL LEFT JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:32.697591 [ 2751 ] {5ca72631-751a-4f29-a0b4-a3fdc6c9f060} TCPHandler: Code: 124. DB::Exception: Invalid type in set. Expected tuple, got Array. (INCORRECT_ELEMENT_OF_SET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19b69eb3 in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:82: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2ace52b3 in /usr/bin/clickhouse 7. /build/src/Analyzer/SetUtils.cpp:148: DB::makeSetForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, DB::Settings const&) @ 0x2ace472c in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5113: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7ec1d in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:32.699640 [ 2750 ] {648fd0d2-5eda-4c9d-97ab-ac1078bd5bcb} TCPHandler: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL LEFT JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:32.705721 [ 2751 ] {7c72e2b1-7f2f-467f-962a-b3ca11a3b3de} executeQuery: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type Tuple(Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8)), Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8))). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43552) (comment: 02370_analyzer_in_function.sql) (in query: SELECT (1, 2) IN (((1, 2), (1, 2)), ((1, 2), (1, 2)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:167: DB::makeSetForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, DB::Settings const&) @ 0x2ace4b94 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5113: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7ec1d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:32.706802 [ 2751 ] {7c72e2b1-7f2f-467f-962a-b3ca11a3b3de} TCPHandler: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type Tuple(Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8)), Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8))). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:167: DB::makeSetForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, DB::Settings const&) @ 0x2ace4b94 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5113: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7ec1d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:32.715695 [ 2751 ] {3bc329d3-e460-4aec-ae9f-63058fe02e60} executeQuery: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type Array(Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8))). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43552) (comment: 02370_analyzer_in_function.sql) (in query: SELECT (1, 2) IN [((1, 2), (1, 2)), ((1, 2), (1, 2))];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:167: DB::makeSetForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, DB::Settings const&) @ 0x2ace4b94 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5113: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7ec1d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:32.716622 [ 2751 ] {3bc329d3-e460-4aec-ae9f-63058fe02e60} TCPHandler: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type Array(Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8))). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:167: DB::makeSetForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, DB::Settings const&) @ 0x2ace4b94 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5113: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac7ec1d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68936 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:32.935373 [ 2750 ] {939da556-fa42-45e6-bebb-1578570d0290} executeQuery: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL LEFT JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:32.936504 [ 2750 ] {939da556-fa42-45e6-bebb-1578570d0290} TCPHandler: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL LEFT JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:33.150230 [ 2750 ] {27d5777a-e8f4-488a-9a4c-e45dbc72febc} executeQuery: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL LEFT JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:33.151383 [ 2750 ] {27d5777a-e8f4-488a-9a4c-e45dbc72febc} TCPHandler: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL LEFT JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:33.365672 [ 2750 ] {46f19eb3-b126-41e8-88b4-e66b9bc1b956} executeQuery: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL LEFT JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:33.366825 [ 2750 ] {46f19eb3-b126-41e8-88b4-e66b9bc1b956} TCPHandler: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL LEFT JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:33.550871 [ 2751 ] {ae632fa8-1b59-4e2b-8ba9-6a610b9cf01e} executeQuery: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: x . (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43582) (comment: 02369_analyzer_array_join_function.sql) (in query: SELECT arrayMap(x -> arrayJoin(x), [[1, 2, 3]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerActionsVisitor.cpp:760: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x29db55f6 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerActionsVisitor.cpp:494: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x29db44a9 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerActionsVisitor.cpp:573: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x29db6bee in /usr/bin/clickhouse 9. /build/src/Planner/PlannerActionsVisitor.cpp:740: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x29db5252 in /usr/bin/clickhouse 10. /build/src/Planner/PlannerActionsVisitor.cpp:494: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x29db44a9 in /usr/bin/clickhouse 11. /build/src/Planner/PlannerActionsVisitor.cpp:472: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x29db04a8 in /usr/bin/clickhouse 12. /build/src/Planner/PlannerActionsVisitor.cpp:791: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x29db020f in /usr/bin/clickhouse 13. /build/src/Planner/Utils.cpp:201: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x2ae37a25 in /usr/bin/clickhouse 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:310: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x2ae68749 in /usr/bin/clickhouse 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:510: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x2ae6529b in /usr/bin/clickhouse 16. /build/src/Planner/Planner.cpp:1153: DB::Planner::buildPlanForQueryNode() @ 0x2ae270e9 in /usr/bin/clickhouse 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2ae25108 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2ae2315f in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2ae22f3b in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:33.552139 [ 2751 ] {ae632fa8-1b59-4e2b-8ba9-6a610b9cf01e} TCPHandler: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: x . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerActionsVisitor.cpp:760: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x29db55f6 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerActionsVisitor.cpp:494: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x29db44a9 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerActionsVisitor.cpp:573: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x29db6bee in /usr/bin/clickhouse 9. /build/src/Planner/PlannerActionsVisitor.cpp:740: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x29db5252 in /usr/bin/clickhouse 10. /build/src/Planner/PlannerActionsVisitor.cpp:494: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x29db44a9 in /usr/bin/clickhouse 11. /build/src/Planner/PlannerActionsVisitor.cpp:472: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x29db04a8 in /usr/bin/clickhouse 12. /build/src/Planner/PlannerActionsVisitor.cpp:791: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x29db020f in /usr/bin/clickhouse 13. /build/src/Planner/Utils.cpp:201: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x2ae37a25 in /usr/bin/clickhouse 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:310: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x2ae68749 in /usr/bin/clickhouse 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:510: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x2ae6529b in /usr/bin/clickhouse 16. /build/src/Planner/Planner.cpp:1153: DB::Planner::buildPlanForQueryNode() @ 0x2ae270e9 in /usr/bin/clickhouse 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2ae25108 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2ae2315f in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2ae22f3b in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:33.570478 [ 2751 ] {b32eb448-b35c-4c86-98ef-f1ba90fa1950} executeQuery: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: CAST(x, 'Array(UInt8)'_String) . (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43582) (comment: 02369_analyzer_array_join_function.sql) (in query: SELECT arrayMap(x -> arrayJoin(cast(x, 'Array(UInt8)')), [[1, 2, 3]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerActionsVisitor.cpp:760: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x29db55f6 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerActionsVisitor.cpp:494: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x29db44a9 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerActionsVisitor.cpp:573: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x29db6bee in /usr/bin/clickhouse 9. /build/src/Planner/PlannerActionsVisitor.cpp:740: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x29db5252 in /usr/bin/clickhouse 10. /build/src/Planner/PlannerActionsVisitor.cpp:494: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x29db44a9 in /usr/bin/clickhouse 11. /build/src/Planner/PlannerActionsVisitor.cpp:472: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x29db04a8 in /usr/bin/clickhouse 12. /build/src/Planner/PlannerActionsVisitor.cpp:791: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x29db020f in /usr/bin/clickhouse 13. /build/src/Planner/Utils.cpp:201: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x2ae37a25 in /usr/bin/clickhouse 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:310: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x2ae68749 in /usr/bin/clickhouse 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:510: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x2ae6529b in /usr/bin/clickhouse 16. /build/src/Planner/Planner.cpp:1153: DB::Planner::buildPlanForQueryNode() @ 0x2ae270e9 in /usr/bin/clickhouse 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2ae25108 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2ae2315f in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2ae22f3b in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:33.571759 [ 2751 ] {b32eb448-b35c-4c86-98ef-f1ba90fa1950} TCPHandler: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: CAST(x, 'Array(UInt8)'_String) . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerActionsVisitor.cpp:760: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x29db55f6 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerActionsVisitor.cpp:494: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x29db44a9 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerActionsVisitor.cpp:573: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x29db6bee in /usr/bin/clickhouse 9. /build/src/Planner/PlannerActionsVisitor.cpp:740: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x29db5252 in /usr/bin/clickhouse 10. /build/src/Planner/PlannerActionsVisitor.cpp:494: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x29db44a9 in /usr/bin/clickhouse 11. /build/src/Planner/PlannerActionsVisitor.cpp:472: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x29db04a8 in /usr/bin/clickhouse 12. /build/src/Planner/PlannerActionsVisitor.cpp:791: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x29db020f in /usr/bin/clickhouse 13. /build/src/Planner/Utils.cpp:201: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x2ae37a25 in /usr/bin/clickhouse 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:310: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x2ae68749 in /usr/bin/clickhouse 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:510: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x2ae6529b in /usr/bin/clickhouse 16. /build/src/Planner/Planner.cpp:1153: DB::Planner::buildPlanForQueryNode() @ 0x2ae270e9 in /usr/bin/clickhouse 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2ae25108 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2ae2315f in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2ae22f3b in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:33.572365 [ 2750 ] {234ac223-be5b-40bd-86d0-372dd9e1e900} executeQuery: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL RIGHT JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:33.573929 [ 2750 ] {234ac223-be5b-40bd-86d0-372dd9e1e900} TCPHandler: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL RIGHT JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:33.788743 [ 2750 ] {57a50bfe-a8e2-4ab9-a091-429e16d0a3e5} executeQuery: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL RIGHT JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:33.789910 [ 2750 ] {57a50bfe-a8e2-4ab9-a091-429e16d0a3e5} TCPHandler: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL RIGHT JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:34.004003 [ 2750 ] {1f383931-bba9-41b2-9776-76ffc0b2d658} executeQuery: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL RIGHT JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:34.005120 [ 2750 ] {1f383931-bba9-41b2-9776-76ffc0b2d658} TCPHandler: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL RIGHT JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:34.228494 [ 2750 ] {d69c4610-15c9-4461-bd36-f107b8153fc0} executeQuery: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL RIGHT JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:34.229558 [ 2750 ] {d69c4610-15c9-4461-bd36-f107b8153fc0} TCPHandler: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL RIGHT JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:34.410209 [ 1011 ] {02421_truncate_isolation_with_mutations_test_87lrq0ut_tx69_2748} executeQuery: Code: 650. DB::Exception: Serialization error: Transaction (38, 47, 7ec04b1f-2692-4b9e-b030-162eb954d36d) tried to remove data part all_1_1_6 (covered by all_1_1_7) from test_87lrq0ut.tt (2794e13b-dc41-4c51-b4e7-892f1150495f), but it's locked by another transaction (TID: (38, 48, 7ec04b1f-2692-4b9e-b030-162eb954d36d), TIDH: 7949571512827330313) which is currently removing this part. (SERIALIZATION_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39128) (in query: alter table tt drop partition id 'all'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x2b22909a in /usr/bin/clickhouse 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x2b2256b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x2af0654f in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeTreeTransaction.cpp:119: DB::MergeTreeTransaction::addNewPartAndRemoveCovered(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::MergeTreeTransaction*) @ 0x2af068c6 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:6020: DB::MergeTreeData::Transaction::commit(std::unique_lock*) @ 0x2c116841 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1611: DB::StorageMergeTree::renameAndCommitEmptyParts(std::vector, std::allocator>>&, DB::MergeTreeData::Transaction&) @ 0x2c57f12f in /usr/bin/clickhouse 11. /build/src/Storages/StorageMergeTree.cpp:1770: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c5851d6 in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeData.cpp:4813: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103b6a in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 19. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:34.411213 [ 1011 ] {02421_truncate_isolation_with_mutations_test_87lrq0ut_tx69_2748} DynamicQueryHandler: Code: 650. DB::Exception: Serialization error: Transaction (38, 47, 7ec04b1f-2692-4b9e-b030-162eb954d36d) tried to remove data part all_1_1_6 (covered by all_1_1_7) from test_87lrq0ut.tt (2794e13b-dc41-4c51-b4e7-892f1150495f), but it's locked by another transaction (TID: (38, 48, 7ec04b1f-2692-4b9e-b030-162eb954d36d), TIDH: 7949571512827330313) which is currently removing this part. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x2b22909a in /usr/bin/clickhouse 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x2b2256b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x2af0654f in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeTreeTransaction.cpp:119: DB::MergeTreeTransaction::addNewPartAndRemoveCovered(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::MergeTreeTransaction*) @ 0x2af068c6 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:6020: DB::MergeTreeData::Transaction::commit(std::unique_lock*) @ 0x2c116841 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1611: DB::StorageMergeTree::renameAndCommitEmptyParts(std::vector, std::allocator>>&, DB::MergeTreeData::Transaction&) @ 0x2c57f12f in /usr/bin/clickhouse 11. /build/src/Storages/StorageMergeTree.cpp:1770: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c5851d6 in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeData.cpp:4813: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103b6a in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 19. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:30:34.433495 [ 2750 ] {9cfd72fb-57ea-460a-b74a-e64421db96f3} executeQuery: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:34.434613 [ 2750 ] {9cfd72fb-57ea-460a-b74a-e64421db96f3} TCPHandler: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:34.683875 [ 2750 ] {a678e75a-48f0-482c-8869-895a3045994f} executeQuery: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:34.685206 [ 2750 ] {a678e75a-48f0-482c-8869-895a3045994f} TCPHandler: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:34.928308 [ 2750 ] {985be30f-c373-49a7-833f-6a6b80497898} executeQuery: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:34.929544 [ 2750 ] {985be30f-c373-49a7-833f-6a6b80497898} TCPHandler: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:35.168236 [ 2750 ] {3d5f7dbd-e430-40d9-96e9-72ff69ad262e} executeQuery: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43514) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:35.169296 [ 2750 ] {3d5f7dbd-e430-40d9-96e9-72ff69ad262e} TCPHandler: Code: 207. DB::Exception: JOIN test_3b630qe3.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_3b630qe3.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2acb6428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac84779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac833c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac8e409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ac6ea9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac63153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:36.344017 [ 2750 ] {0f20da33-92d9-4321-9d5f-2713bad50e52} executeQuery: Code: 46. DB::Exception: Unknown table function 02428_parameterized_view_test_1i069y3l.pv1: or incorrect parameterized view. (UNKNOWN_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59738) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM `02428_parameterized_view_test_1i069y3l.pv1`(price=20)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5498 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:36.345818 [ 2750 ] {0f20da33-92d9-4321-9d5f-2713bad50e52} TCPHandler: Code: 46. DB::Exception: Unknown table function 02428_parameterized_view_test_1i069y3l.pv1: or incorrect parameterized view. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5498 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:38.682541 [ 3331 ] {b2344f35-bed8-4ee7-9842-4f4ea185419b} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59772) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:38.684439 [ 3331 ] {b2344f35-bed8-4ee7-9842-4f4ea185419b} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:39.419707 [ 3331 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:59796). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ab9546c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ab94828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c7a7fa6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 15. ? @ 0x7f2098f50609 in ? 16. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:30:40.687118 [ 2750 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:59816). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ab9546c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ab94828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c7a7fa6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 15. ? @ 0x7f2098f50609 in ? 16. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:30:41.186235 [ 2750 ] {cb31a93c-e330-493f-b522-5ca1e4f4b07b} executeQuery: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 0, should be 1.: While processing parseTimeDelta(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59832) (comment: 02354_parse_timedelta.sql) (in query: -- invalid expressions SELECT parseTimeDelta();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:119: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20197c29 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:30:41.187304 [ 2750 ] {cb31a93c-e330-493f-b522-5ca1e4f4b07b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 0, should be 1.: While processing parseTimeDelta(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:119: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20197c29 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:30:41.321430 [ 2750 ] {7b1eda3f-b9ed-40bc-97e1-61332260f538} executeQuery: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 2, should be 1.: While processing parseTimeDelta('1yr', 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59832) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1yr', 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:126: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20197d62 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:30:41.322619 [ 2750 ] {7b1eda3f-b9ed-40bc-97e1-61332260f538} TCPHandler: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 2, should be 1.: While processing parseTimeDelta('1yr', 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:126: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20197d62 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:30:41.444517 [ 2750 ] {a8f141a5-7548-402c-8570-d145499b42d5} executeQuery: Code: 43. DB::Exception: Cannot format UInt8 as time string.: While processing parseTimeDelta(1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59832) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:135: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20197ea7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:30:41.445692 [ 2750 ] {a8f141a5-7548-402c-8570-d145499b42d5} TCPHandler: Code: 43. DB::Exception: Cannot format UInt8 as time string.: While processing parseTimeDelta(1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:135: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20197ea7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:30:41.560460 [ 2750 ] {9767e3ef-4585-4d4b-bac3-3b8c861e3edd} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, don't find valid characters, str: " ".: While processing parseTimeDelta(' '). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59832) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta(' ');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:162: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20196ea5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:30:41.561912 [ 2750 ] {9767e3ef-4585-4d4b-bac3-3b8c861e3edd} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, don't find valid characters, str: " ".: While processing parseTimeDelta(' '). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:162: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20196ea5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:30:41.677793 [ 2750 ] {e9ab4263-4155-4e5d-bd94-44b169cfae96} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "-1yr".: While processing parseTimeDelta('-1yr'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59832) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('-1yr');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201971dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:30:41.684664 [ 2750 ] {e9ab4263-4155-4e5d-bd94-44b169cfae96} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "-1yr".: While processing parseTimeDelta('-1yr'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201971dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:30:41.796779 [ 2750 ] {831300da-462e-4a25-b559-8fa4d74e9565} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, str: "1yr-".: While processing parseTimeDelta('1yr-'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59832) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1yr-');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:172: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2019701d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:30:41.798379 [ 2750 ] {831300da-462e-4a25-b559-8fa4d74e9565} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, str: "1yr-".: While processing parseTimeDelta('1yr-'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:172: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2019701d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:30:41.825011 [ 2750 ] {45906fa5-5670-4886-933a-3c4da22aacc2} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "yr2mo".: While processing parseTimeDelta('yr2mo'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59832) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('yr2mo');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201971dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:30:41.826423 [ 2750 ] {45906fa5-5670-4886-933a-3c4da22aacc2} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "yr2mo".: While processing parseTimeDelta('yr2mo'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201971dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:30:41.938871 [ 2750 ] {2f64d671-3101-4a84-a7ce-0a54e22a5eb5} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number after '.' failed, str: "1.yr2mo".: While processing parseTimeDelta('1.yr2mo'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59832) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1.yr2mo');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:197: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201973a8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:30:41.940477 [ 2750 ] {2f64d671-3101-4a84-a7ce-0a54e22a5eb5} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number after '.' failed, str: "1.yr2mo".: While processing parseTimeDelta('1.yr2mo'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:197: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201973a8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:30:42.065109 [ 2750 ] {05b0c26b-d0e1-42f0-95d7-09cdfa4f1f89} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find unit failed, str: "1-yr".: While processing parseTimeDelta('1-yr'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59832) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1-yr');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:225: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2019779d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:30:42.066459 [ 2750 ] {05b0c26b-d0e1-42f0-95d7-09cdfa4f1f89} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find unit failed, str: "1-yr".: While processing parseTimeDelta('1-yr'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:225: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2019779d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:30:42.073436 [ 2750 ] {2ce4d578-4dd1-48db-a18d-80510735e48b} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find unit failed, str: "1 1yr".: While processing parseTimeDelta('1 1yr'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59832) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1 1yr');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:225: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2019779d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:30:42.074533 [ 2750 ] {2ce4d578-4dd1-48db-a18d-80510735e48b} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find unit failed, str: "1 1yr".: While processing parseTimeDelta('1 1yr'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:225: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2019779d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:30:42.218060 [ 2750 ] {c9a67110-1998-42df-82e6-28d45c67be27} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, parse unit failed: "yyr".: While processing parseTimeDelta('1yyr'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59832) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1yyr');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2019ac8c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:237: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20197993 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:30:42.219713 [ 2750 ] {c9a67110-1998-42df-82e6-28d45c67be27} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, parse unit failed: "yyr".: While processing parseTimeDelta('1yyr'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2019ac8c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:237: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20197993 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:30:42.227055 [ 2750 ] {48aff6d5-63ed-4b10-ba5b-f67565cf1741} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds".: While processing parseTimeDelta('1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59832) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201971dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:30:42.228437 [ 2750 ] {48aff6d5-63ed-4b10-ba5b-f67565cf1741} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds".: While processing parseTimeDelta('1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201971dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:30:45.358258 [ 1011 ] {02421_truncate_isolation_with_mutations_test_87lrq0ut_tx79_9772} executeQuery: Code: 232. DB::Exception: No part all_2_2_0 in committed state. (NO_SUCH_DATA_PART) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58310) (in query: alter table tt drop part 'all_2_2_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c101c35 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103a30 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:45.510411 [ 1011 ] {02421_truncate_isolation_with_mutations_test_87lrq0ut_tx79_9772} DynamicQueryHandler: Code: 232. DB::Exception: No part all_2_2_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c101c35 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103a30 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:30:45.510415 [ 3331 ] {6372a309-fbf6-4462-99f0-3a3c22abdc44} executeQuery: Code: 80. DB::Exception: The dimension of the space in the request (2) does not match with the dimension in the index (3). (INCORRECT_QUERY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59948) (comment: 02354_annoy.sh) (in query: SELECT * FROM `02354_annoy_l2` ORDER BY L2Distance(embedding, [0., 0.]) ASC LIMIT 3), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:256: std::vector> DB::MergeTreeIndexConditionAnnoy::getUsefulRangesImpl(std::shared_ptr) const @ 0x2c2c7dbd in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:223: DB::MergeTreeIndexConditionAnnoy::getUsefulRanges(std::shared_ptr) const @ 0x2c2c5376 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1685: DB::MergeTreeDataSelectExecutor::filterMarksUsingIndex(std::shared_ptr, std::shared_ptr, std::shared_ptr, DB::MarkRanges const&, DB::Settings const&, DB::MergeTreeReaderSettings const&, unsigned long&, unsigned long&, DB::MarkCache*, DB::UncompressedCache*, std::shared_ptr) @ 0x2c204198 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1030: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool)::$_2::operator()(unsigned long) const @ 0x2c200e47 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1082: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c1feb71 in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf20741 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 14. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:45.511637 [ 3331 ] {6372a309-fbf6-4462-99f0-3a3c22abdc44} TCPHandler: Code: 80. DB::Exception: The dimension of the space in the request (2) does not match with the dimension in the index (3). (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:256: std::vector> DB::MergeTreeIndexConditionAnnoy::getUsefulRangesImpl(std::shared_ptr) const @ 0x2c2c7dbd in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:223: DB::MergeTreeIndexConditionAnnoy::getUsefulRanges(std::shared_ptr) const @ 0x2c2c5376 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1685: DB::MergeTreeDataSelectExecutor::filterMarksUsingIndex(std::shared_ptr, std::shared_ptr, std::shared_ptr, DB::MarkRanges const&, DB::Settings const&, DB::MergeTreeReaderSettings const&, unsigned long&, unsigned long&, DB::MarkCache*, DB::UncompressedCache*, std::shared_ptr) @ 0x2c204198 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1030: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool)::$_2::operator()(unsigned long) const @ 0x2c200e47 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1082: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c1feb71 in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf20741 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 14. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:47.640234 [ 2750 ] {1b3c4828-c7ed-4849-86b1-d03e33146d3e} executeQuery: Code: 179. DB::Exception: Multiple expressions 2 AS value and 1 AS value for alias value. In scope SELECT 1 AS value, 2 AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55738) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT 1 AS value, 2 AS value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2aca0a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac646be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:47.641287 [ 2750 ] {1b3c4828-c7ed-4849-86b1-d03e33146d3e} TCPHandler: Code: 179. DB::Exception: Multiple expressions 2 AS value and 1 AS value for alias value. In scope SELECT 1 AS value, 2 AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2aca0a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac646be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:47.663742 [ 2750 ] {357faf6b-4c8f-4aff-9ae6-0bcaca282b2e} executeQuery: Code: 179. DB::Exception: Multiple expressions 2 AS value and _CAST(2, 'UInt16') for alias value. In scope SELECT 1 + 1 AS value, 2 AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55738) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT plus(1, 1) AS value, 2 AS value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2aca0a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac646be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:47.665083 [ 2750 ] {357faf6b-4c8f-4aff-9ae6-0bcaca282b2e} TCPHandler: Code: 179. DB::Exception: Multiple expressions 2 AS value and _CAST(2, 'UInt16') for alias value. In scope SELECT 1 + 1 AS value, 2 AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2aca0a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac646be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:47.689508 [ 2750 ] {4d56a9c0-f061-4b64-a969-a6a4ba9bc722} executeQuery: Code: 179. DB::Exception: Multiple expressions 1 AS subquery and _CAST(1, 'Nullable(UInt8)') for alias subquery. In scope SELECT (SELECT 1) AS subquery, 1 AS subquery. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55738) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT (SELECT 1) AS subquery, 1 AS subquery;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2aca0a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac646be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:47.690676 [ 2750 ] {4d56a9c0-f061-4b64-a969-a6a4ba9bc722} TCPHandler: Code: 179. DB::Exception: Multiple expressions 1 AS subquery and _CAST(1, 'Nullable(UInt8)') for alias subquery. In scope SELECT (SELECT 1) AS subquery, 1 AS subquery. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2aca0a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac646be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:47.820669 [ 2750 ] {06737a31-fe36-4f1e-9e5b-9cf7ad5ffd48} executeQuery: Code: 179. DB::Exception: Multiple expressions x -> (x + 2) AS lambda and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda, x -> (x + 2) AS lambda SELECT lambda(1). (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55738) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: WITH x -> x + 1 AS lambda, x -> x + 2 AS lambda SELECT lambda(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2aca0a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6837: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac649be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:47.823194 [ 2750 ] {06737a31-fe36-4f1e-9e5b-9cf7ad5ffd48} TCPHandler: Code: 179. DB::Exception: Multiple expressions x -> (x + 2) AS lambda and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda, x -> (x + 2) AS lambda SELECT lambda(1). (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2aca0a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6837: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac649be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:47.844662 [ 2750 ] {3db6e0dc-02b8-410c-8797-7608bf23e1ca} executeQuery: Code: 179. DB::Exception: Multiple expressions _CAST(1, 'Nullable(UInt8)') and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda SELECT (SELECT 1) AS lambda. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55738) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: WITH x -> x + 1 AS lambda SELECT (SELECT 1) AS lambda;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2aca0a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac646be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:47.845620 [ 2750 ] {3db6e0dc-02b8-410c-8797-7608bf23e1ca} TCPHandler: Code: 179. DB::Exception: Multiple expressions _CAST(1, 'Nullable(UInt8)') and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda SELECT (SELECT 1) AS lambda. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2aca0a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac646be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:47.862857 [ 2750 ] {115f1a05-d2c6-4bf9-819f-1692b6038c05} executeQuery: Code: 179. DB::Exception: Multiple expressions 1 AS lambda and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda SELECT 1 AS lambda. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55738) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: WITH x -> x + 1 AS lambda SELECT 1 AS lambda;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2aca0a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac646be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:47.864361 [ 2750 ] {115f1a05-d2c6-4bf9-819f-1692b6038c05} TCPHandler: Code: 179. DB::Exception: Multiple expressions 1 AS lambda and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda SELECT 1 AS lambda. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2aca0a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac646be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:47.872731 [ 2750 ] {a7ec2063-11f3-47d2-9c1a-86bfec803b7b} executeQuery: Code: 179. DB::Exception: Multiple expressions test_r5z9wft7.test_table.value and test_r5z9wft7.test_table.id for alias value. In scope SELECT id AS value, value AS value FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55738) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT id AS value, value AS value FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2aca0a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac646be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:47.874005 [ 2750 ] {a7ec2063-11f3-47d2-9c1a-86bfec803b7b} TCPHandler: Code: 179. DB::Exception: Multiple expressions test_r5z9wft7.test_table.value and test_r5z9wft7.test_table.id for alias value. In scope SELECT id AS value, value AS value FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2aca0a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac646be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:47.882160 [ 2750 ] {dfb5d8b9-b1bd-46f7-a057-c02cb469a924} executeQuery: Code: 179. DB::Exception: Multiple expressions test_r5z9wft7.test_table.value and test_r5z9wft7.test_table.id for alias value_1. In scope SELECT id AS value_1, value AS value_1 FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55738) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT id AS value_1, value AS value_1 FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2aca0a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac646be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:47.883297 [ 2750 ] {dfb5d8b9-b1bd-46f7-a057-c02cb469a924} TCPHandler: Code: 179. DB::Exception: Multiple expressions test_r5z9wft7.test_table.value and test_r5z9wft7.test_table.id for alias value_1. In scope SELECT id AS value_1, value AS value_1 FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2aca0a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac646be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:47.903574 [ 2750 ] {0d35a08d-3985-433a-a074-e9ce780592b8} executeQuery: Code: 179. DB::Exception: Multiple expressions id + 1 AS value and test_r5z9wft7.test_table.id for alias value. In scope SELECT id AS value, id + 1 AS value FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55738) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT id AS value, (id + 1) AS value FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2aca0a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac646be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:47.905118 [ 2750 ] {0d35a08d-3985-433a-a074-e9ce780592b8} TCPHandler: Code: 179. DB::Exception: Multiple expressions id + 1 AS value and test_r5z9wft7.test_table.id for alias value. In scope SELECT id AS value, id + 1 AS value FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2aca0a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac646be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:48.419077 [ 2750 ] {aae8e821-21aa-4171-b835-78e481a67b98} executeQuery: Code: 36. DB::Exception: Strict EXCEPT column transformer EXCEPT (id, value1) expects following column(s) : value1. In scope SELECT * EXCEPT STRICT (id, value1) FROM test_table. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55748) (comment: 02343_analyzer_column_transformers_strict.sql) (in query: SELECT * EXCEPT STRICT (id, value1) FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>, String>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, char const*&&, String&&, fmt::v8::join_view, std::__wrap_iter, char>&&, String&&) @ 0x2acce264 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4184: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac97e16 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5394: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68760 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:48.420554 [ 2750 ] {aae8e821-21aa-4171-b835-78e481a67b98} TCPHandler: Code: 36. DB::Exception: Strict EXCEPT column transformer EXCEPT (id, value1) expects following column(s) : value1. In scope SELECT * EXCEPT STRICT (id, value1) FROM test_table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>, String>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, char const*&&, String&&, fmt::v8::join_view, std::__wrap_iter, char>&&, String&&) @ 0x2acce264 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4184: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac97e16 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5394: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68760 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:48.452442 [ 2750 ] {07601207-cb74-4e84-b4d4-cd8873026c52} executeQuery: Code: 36. DB::Exception: Strict REPLACE column transformer REPLACE (1 AS id, 2 AS value_1) expects following column(s) : value_1. In scope SELECT * REPLACE STRICT (1 AS id, 2 AS value_1) FROM test_table. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55748) (comment: 02343_analyzer_column_transformers_strict.sql) (in query: SELECT * REPLACE STRICT (1 AS id, 2 AS value_1) FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>, String>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, char const*&&, String&&, fmt::v8::join_view, std::__wrap_iter, char>&&, String&&) @ 0x2acce264 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4184: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac97e16 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5394: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68760 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:48.453605 [ 2750 ] {07601207-cb74-4e84-b4d4-cd8873026c52} TCPHandler: Code: 36. DB::Exception: Strict REPLACE column transformer REPLACE (1 AS id, 2 AS value_1) expects following column(s) : value_1. In scope SELECT * REPLACE STRICT (1 AS id, 2 AS value_1) FROM test_table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>, String>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, char const*&&, String&&, fmt::v8::join_view, std::__wrap_iter, char>&&, String&&) @ 0x2acce264 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4184: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac97e16 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5394: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac68760 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2ac66f41 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac6ef67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ac631c3 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ac6195f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ac6169e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2ac549f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae228da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae21c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3eab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3c9be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:50.347864 [ 1015 ] {6b077016-3c64-4a8a-94c8-4806e4946503} executeQuery: Code: 206. DB::Exception: No alias for subquery or table function in JOIN (set joined_subquery_requires_alias=0 to disable restriction). While processing ' view(SELECT dummy AS d1, dummy AS d2 FROM system.one)'. (ALIAS_REQUIRED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55832) (comment: 02341_global_join_cte.sql) (in query: -- { echo } with rhs as (select * from remote('127.{1,2}', view(select dummy d1, dummy d2 from system.one))) select lhs.d2 from remote('127.{1,2}', view(select dummy d1, dummy d2 from system.one)) lhs global join rhs using (d1) order by rhs.d2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinedTables.cpp:254: DB::JoinedTables::resolveTables() @ 0x2aeccc50 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8dc72 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:101: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x2ceb6cc8 in /usr/bin/clickhouse 10. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_1::operator()() const @ 0x2b8ce722 in /usr/bin/clickhouse 11. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x2b8cdabb in /usr/bin/clickhouse 12. /build/src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x2b8d6035 in /usr/bin/clickhouse 13. /build/src/Storages/StorageDistributed.cpp:1126: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8a0827 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:50.350924 [ 1015 ] {6b077016-3c64-4a8a-94c8-4806e4946503} TCPHandler: Code: 206. DB::Exception: No alias for subquery or table function in JOIN (set joined_subquery_requires_alias=0 to disable restriction). While processing ' view(SELECT dummy AS d1, dummy AS d2 FROM system.one)'. (ALIAS_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinedTables.cpp:254: DB::JoinedTables::resolveTables() @ 0x2aeccc50 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8dc72 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:101: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x2ceb6cc8 in /usr/bin/clickhouse 10. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_1::operator()() const @ 0x2b8ce722 in /usr/bin/clickhouse 11. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x2b8cdabb in /usr/bin/clickhouse 12. /build/src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x2b8d6035 in /usr/bin/clickhouse 13. /build/src/Storages/StorageDistributed.cpp:1126: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8a0827 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:30:51.826644 [ 1799 ] {0eb02c62-ecf4-4525-8451-2939b1f18ffb} executeQuery: Code: 7. DB::Exception: Annoy indexes must be created on a single column. (INCORRECT_NUMBER_OF_COLUMNS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55888) (comment: 02354_annoy.sh) (in query: CREATE TABLE `02354_annoy` (`id` Int32, `embedding` Array(Float32), INDEX annoy_index (embedding, id) TYPE annoy(100) GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 5, index_granularity_bytes = '10Mi', min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.8453169465065002, merge_max_block_size = 17519, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 51, min_merge_bytes_to_use_direct_io = 10737418240), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [49]) @ 0x1a93459e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:398: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c2c5d53 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 2024.03.27 21:30:51.828514 [ 1799 ] {0eb02c62-ecf4-4525-8451-2939b1f18ffb} TCPHandler: Code: 7. DB::Exception: Annoy indexes must be created on a single column. (INCORRECT_NUMBER_OF_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [49]) @ 0x1a93459e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:398: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c2c5d53 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 2024.03.27 21:30:52.019405 [ 1799 ] {17a3f911-4624-42df-afab-ba86a3fb0457} executeQuery: Code: 44. DB::Exception: Unexpected type Float32 of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55888) (comment: 02354_annoy.sh) (in query: CREATE TABLE `02354_annoy` (`id` Int32, `embedding` Float32, INDEX annoy_index embedding TYPE annoy(100) GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 5, index_granularity_bytes = '10Mi', min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.8453169465065002, merge_max_block_size = 17519, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 51, min_merge_bytes_to_use_direct_io = 10737418240), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:374: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c2c6305 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c2c5d99 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:30:52.020944 [ 1799 ] {17a3f911-4624-42df-afab-ba86a3fb0457} TCPHandler: Code: 44. DB::Exception: Unexpected type Float32 of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:374: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c2c6305 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c2c5d99 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:30:52.220410 [ 1799 ] {68554e9f-6f51-4215-8ec5-a77c0ef7cbd8} executeQuery: Code: 44. DB::Exception: Unexpected type Array(Float64) of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55888) (comment: 02354_annoy.sh) (in query: CREATE TABLE `02354_annoy` (`id` Int32, `embedding` Array(Float64), INDEX annoy_index embedding TYPE annoy(100) GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 5, index_granularity_bytes = '10Mi', min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.8453169465065002, merge_max_block_size = 17519, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 51, min_merge_bytes_to_use_direct_io = 10737418240), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:355: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c2c5f5b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c2c5d99 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:30:52.226282 [ 1799 ] {68554e9f-6f51-4215-8ec5-a77c0ef7cbd8} TCPHandler: Code: 44. DB::Exception: Unexpected type Array(Float64) of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:355: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c2c5f5b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c2c5d99 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:30:52.392267 [ 1799 ] {b1b4e69c-6aa0-4a3a-927f-d6a57e4a670a} executeQuery: Code: 44. DB::Exception: Unexpected type Tuple(Float32, Float64) of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55888) (comment: 02354_annoy.sh) (in query: CREATE TABLE `02354_annoy` (`id` Int32, `embedding` Tuple(Float32, Float64), INDEX annoy_index embedding TYPE annoy(100) GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 5, index_granularity_bytes = '10Mi', min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.8453169465065002, merge_max_block_size = 17519, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 51, min_merge_bytes_to_use_direct_io = 10737418240), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:367: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c2c61cd in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c2c5d99 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:30:52.393726 [ 1799 ] {b1b4e69c-6aa0-4a3a-927f-d6a57e4a670a} TCPHandler: Code: 44. DB::Exception: Unexpected type Tuple(Float32, Float64) of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:367: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c2c61cd in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c2c5d99 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:30:52.419195 [ 1799 ] {b8f9602d-1d0b-4314-b9ba-4274f77565a4} executeQuery: Code: 44. DB::Exception: Unexpected type Array(LowCardinality(Float32)) of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55888) (comment: 02354_annoy.sh) (in query: CREATE TABLE `02354_annoy` (`id` Int32, `embedding` Array(LowCardinality(Float32)), INDEX annoy_index embedding TYPE annoy(100) GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 5, index_granularity_bytes = '10Mi', min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.8453169465065002, merge_max_block_size = 17519, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 51, min_merge_bytes_to_use_direct_io = 10737418240), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:355: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c2c5f5b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c2c5d99 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:30:52.420944 [ 1799 ] {b8f9602d-1d0b-4314-b9ba-4274f77565a4} TCPHandler: Code: 44. DB::Exception: Unexpected type Array(LowCardinality(Float32)) of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:355: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c2c5f5b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c2c5d99 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:30:52.444739 [ 1799 ] {2cc66986-b97e-4805-8a94-0ce42dc62ccb} executeQuery: Code: 44. DB::Exception: Unexpected type Array(Nullable(Float32)) of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55888) (comment: 02354_annoy.sh) (in query: CREATE TABLE `02354_annoy` (`id` Int32, `embedding` Array(Nullable(Float32)), INDEX annoy_index embedding TYPE annoy(100) GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 5, index_granularity_bytes = '10Mi', min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.8453169465065002, merge_max_block_size = 17519, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 51, min_merge_bytes_to_use_direct_io = 10737418240), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:355: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c2c5f5b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c2c5d99 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:30:52.446178 [ 1799 ] {2cc66986-b97e-4805-8a94-0ce42dc62ccb} TCPHandler: Code: 44. DB::Exception: Unexpected type Array(Nullable(Float32)) of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:355: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c2c5f5b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c2c5d99 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:30:59.915987 [ 1799 ] {408602a6-c3f0-4168-a353-d9a50adf72ec} executeQuery: Code: 36. DB::Exception: Column `path` should not be empty. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43010) (comment: 02311_system_zookeeper_insert.sql) (in query: -- test exceptions insert into system.zookeeper (name, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x19725f7e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:135: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28ed294a in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:30:59.917274 [ 1799 ] {408602a6-c3f0-4168-a353-d9a50adf72ec} TCPHandler: Code: 36. DB::Exception: Column `path` should not be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x19725f7e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:135: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28ed294a in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:31:00.089588 [ 1799 ] {c6d4bf11-4e8d-46e6-a470-fa355e8e74e6} executeQuery: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43010) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x19725f7e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:130: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28ed28c0 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:31:00.090992 [ 1799 ] {c6d4bf11-4e8d-46e6-a470-fa355e8e74e6} TCPHandler: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x19725f7e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:130: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28ed28c0 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:31:00.171623 [ 1799 ] {014f63c0-3cd2-482b-bb12-44fa5ed63b7c} executeQuery: Code: 44. DB::Exception: Cannot insert column version, because it is MATERIALIZED column. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43010) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, version) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:164: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2ad65405 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:141: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2ad650d2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:344: DB::InterpreterInsertQuery::execute() @ 0x2ad66b46 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:00.172572 [ 1799 ] {014f63c0-3cd2-482b-bb12-44fa5ed63b7c} TCPHandler: Code: 44. DB::Exception: Cannot insert column version, because it is MATERIALIZED column. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:164: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2ad65405 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:141: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2ad650d2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:344: DB::InterpreterInsertQuery::execute() @ 0x2ad66b46 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:00.254526 [ 1799 ] {e5ae9644-c9f1-4cbb-85b8-f586816f8fa2} executeQuery: Code: 16. DB::Exception: No such column versionxyz in table system.zookeeper (0570e2a2-637b-4ee0-9157-f918f9bfb8f5). (NO_SUCH_COLUMN_IN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43010) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, versionxyz) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:169: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2ad655a6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:141: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2ad650d2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:344: DB::InterpreterInsertQuery::execute() @ 0x2ad66b46 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:00.255672 [ 1799 ] {e5ae9644-c9f1-4cbb-85b8-f586816f8fa2} TCPHandler: Code: 16. DB::Exception: No such column versionxyz in table system.zookeeper (0570e2a2-637b-4ee0-9157-f918f9bfb8f5). (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:169: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2ad655a6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:141: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2ad650d2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:344: DB::InterpreterInsertQuery::execute() @ 0x2ad66b46 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:00.449974 [ 1799 ] {a5e86ef9-5628-4047-a9cf-aa09cd2ac63a} executeQuery: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43010) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1a9e957e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:125: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28ed27f6 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:31:00.451317 [ 1799 ] {a5e86ef9-5628-4047-a9cf-aa09cd2ac63a} TCPHandler: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1a9e957e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:125: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28ed27f6 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:31:00.466087 [ 1799 ] {a1bfa1ae-209c-4f6b-bb34-d86f135c4283} executeQuery: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43010) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1a9e957e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:125: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28ed27f6 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:31:00.467224 [ 1799 ] {a1bfa1ae-209c-4f6b-bb34-d86f135c4283} TCPHandler: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1a9e957e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:125: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28ed27f6 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:31:00.482412 [ 1799 ] {7f4c9cfa-b431-4f6b-9e24-e51cd18d5342} executeQuery: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43010) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x19725f7e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:130: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28ed28c0 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:31:00.483779 [ 1799 ] {7f4c9cfa-b431-4f6b-9e24-e51cd18d5342} TCPHandler: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x19725f7e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:130: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28ed28c0 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:31:00.586556 [ 2750 ] {417cd11c-cd88-4afe-8936-bc188adccc1c} executeQuery: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43036) (comment: 02315_readonly_create_function.sh) (in query: CREATE FUNCTION test_function AS (x) -> x + 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:500: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x2919ebc4 in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:581: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x2919c85b in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:605: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x291695c2 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:626: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x291ad7b3 in /usr/bin/clickhouse 10. /build/src/Access/ContextAccess.cpp:647: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x29169a92 in /usr/bin/clickhouse 11. /build/src/Access/ContextAccess.cpp:655: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x29169b2e in /usr/bin/clickhouse 12. /build/src/Access/ContextAccess.cpp:685: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x2916495d in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1077: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x29e90976 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1091: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x29e73a1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:44: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ad6069a in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:00.737198 [ 1799 ] {2ba117d0-5150-4837-acf8-904c99b073f8} executeQuery: Code: 36. DB::Exception: Sum of `name` length and `path` length should not exceed PATH_MAX. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43010) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [66]) @ 0x1bd70f5e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:140: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28ed29f8 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:31:00.737591 [ 2750 ] {417cd11c-cd88-4afe-8936-bc188adccc1c} TCPHandler: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:500: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x2919ebc4 in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:581: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x2919c85b in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:605: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x291695c2 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:626: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x291ad7b3 in /usr/bin/clickhouse 10. /build/src/Access/ContextAccess.cpp:647: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x29169a92 in /usr/bin/clickhouse 11. /build/src/Access/ContextAccess.cpp:655: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x29169b2e in /usr/bin/clickhouse 12. /build/src/Access/ContextAccess.cpp:685: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x2916495d in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1077: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x29e90976 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1091: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x29e73a1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:44: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ad6069a in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:00.738604 [ 1799 ] {2ba117d0-5150-4837-acf8-904c99b073f8} TCPHandler: Code: 36. DB::Exception: Sum of `name` length and `path` length should not exceed PATH_MAX. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [66]) @ 0x1bd70f5e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:140: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28ed29f8 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:31:05.320557 [ 634 ] {ff52de48-df4b-4b48-9c8c-a0c43842c8a4} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.784306308 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36718) (comment: 02293_http_header_full_summary_without_progress.sh) (in query: SELECT 1 + sleepEachRow(0.00002) FROM numbers(100000) ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29904a0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29903e93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x29903da8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2af435d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:05.322247 [ 634 ] {ff52de48-df4b-4b48-9c8c-a0c43842c8a4} DynamicQueryHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.784306308 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29904a0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29903e93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x29903da8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2af435d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:31:05.624490 [ 635 ] {e523417f-f138-4ca3-ba82-1d7e91856e95} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101572814 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43154) (comment: 02294_floating_point_second_in_settings.sh) (in query: SELECT count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29904a0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29903e93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x29903da8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2af435d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:05.628622 [ 635 ] {e523417f-f138-4ca3-ba82-1d7e91856e95} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101572814 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29904a0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29903e93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x29903da8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2af435d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:06.592442 [ 6021 ] {2345c8ee-8363-45ca-82a0-c08f3c35de91} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.902919583 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36732) (comment: 02293_http_header_summary_contains_exception_code_with_progress.sh) (in query: SELECT 1 + sleepEachRow(0.00002) FROM numbers(100000) ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29904a0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29903e93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x29903da8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2af435d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:06.595446 [ 6021 ] {2345c8ee-8363-45ca-82a0-c08f3c35de91} DynamicQueryHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.902919583 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29904a0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29903e93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x29903da8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2af435d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:31:07.785580 [ 6095 ] {5bda74dc-50a8-464a-af5b-21f3ac92d5cb} executeQuery: Code: 47. DB::Exception: Missing columns: 'String' while processing query: 'String AS b', required columns: 'String' 'String': default expression and column type are incompatible. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42530) (comment: 02287_ephemeral_format_crash.sql) (in query: CREATE TABLE test(a UInt8, b EPHEMERAL String) Engine=Memory();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1364: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2351b1 in /usr/bin/clickhouse 8. /build/src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b82323b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:560: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab40a74 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:07.786647 [ 6095 ] {5bda74dc-50a8-464a-af5b-21f3ac92d5cb} TCPHandler: Code: 47. DB::Exception: Missing columns: 'String' while processing query: 'String AS b', required columns: 'String' 'String': default expression and column type are incompatible. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1364: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2351b1 in /usr/bin/clickhouse 8. /build/src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b82323b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:560: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab40a74 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:07.795296 [ 6095 ] {e54e8b3a-68d5-4747-ba1f-22a82891e22b} executeQuery: Code: 47. DB::Exception: Missing columns: 'test' while processing query: '_CAST(test AS b_tmp_alter4522954315290142132, 'String') AS b, b_tmp_alter4522954315290142132', required columns: 'test' 'test': default expression and column type are incompatible. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42530) (comment: 02287_ephemeral_format_crash.sql) (in query: CREATE TABLE test(a UInt8, b String EPHEMERAL test) Engine=Memory();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1364: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2351b1 in /usr/bin/clickhouse 8. /build/src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b82323b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:560: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab40a74 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:07.796338 [ 6095 ] {e54e8b3a-68d5-4747-ba1f-22a82891e22b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'test' while processing query: '_CAST(test AS b_tmp_alter4522954315290142132, 'String') AS b, b_tmp_alter4522954315290142132', required columns: 'test' 'test': default expression and column type are incompatible. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1364: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2351b1 in /usr/bin/clickhouse 8. /build/src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b82323b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:560: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab40a74 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:08.027522 [ 634 ] {8b43815f-9e1a-4d84-8094-79d146453e33} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.102193846 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42506) (comment: 02294_floating_point_second_in_settings.sh) (in query: SELECT count() FROM system.numbers SETTINGS max_execution_time=1.1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29904a0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29903e93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x29903da8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2af435d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:08.031922 [ 634 ] {8b43815f-9e1a-4d84-8094-79d146453e33} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.102193846 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29904a0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29903e93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x29903da8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2af435d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:09.188965 [ 6021 ] {6057a6ad-9924-4241-90ba-2b52dca53dc1} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.102108904 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51118) (comment: 02294_floating_point_second_in_settings.sh) (in query: SELECT count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29904a0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29903e93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x29903da8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2af435d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:09.191776 [ 6021 ] {6057a6ad-9924-4241-90ba-2b52dca53dc1} DynamicQueryHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.102108904 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29904a0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29903e93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x29903da8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2af435d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:31:22.864779 [ 1011 ] {b661a4d8-e37b-4852-b855-cffe37957c41} executeQuery: Code: 675. DB::ParsingException: Cannot parse IPv4 : Cannot parse IPv4 from String: while executing 'FUNCTION toIPv4(ip : 0) -> toIPv4(ip) IPv4 : 2'. (CANNOT_PARSE_IPV4) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44172) (comment: 02244_ip_address_invalid_insert.sql) (in query: INSERT INTO test_table_ipv4_materialized(ip) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19adb3f3 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:873: void DB::readIPv4TextImpl(DB::IPv4&, DB::ReadBuffer&) @ 0x19adb082 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:880: DB::readIPv4Text(DB::IPv4&, DB::ReadBuffer&) @ 0x19adaf5d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1023: void DB::parseImpl(DB::DataTypeIPv4::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19afa9aa in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19afa851 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19af5af8 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19ade919 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19add875 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19adc9de in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x2cc5eeb7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 2024.03.27 21:31:22.866427 [ 1011 ] {b661a4d8-e37b-4852-b855-cffe37957c41} TCPHandler: Code: 675. DB::ParsingException: Cannot parse IPv4 : Cannot parse IPv4 from String: while executing 'FUNCTION toIPv4(ip : 0) -> toIPv4(ip) IPv4 : 2'. (CANNOT_PARSE_IPV4), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19adb3f3 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:873: void DB::readIPv4TextImpl(DB::IPv4&, DB::ReadBuffer&) @ 0x19adb082 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:880: DB::readIPv4Text(DB::IPv4&, DB::ReadBuffer&) @ 0x19adaf5d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1023: void DB::parseImpl(DB::DataTypeIPv4::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19afa9aa in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19afa851 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19af5af8 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19ade919 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19add875 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19adc9de in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x2cc5eeb7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 2024.03.27 21:31:22.911574 [ 1011 ] {212d2dde-52fd-4666-87b6-1c111e17b33d} executeQuery: Code: 675. DB::ParsingException: Cannot parse IPv4 : Cannot parse IPv4 from String: while executing 'FUNCTION toIPv4(ip : 0) -> toIPv4(ip) IPv4 : 2'. (CANNOT_PARSE_IPV4) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44172) (comment: 02244_ip_address_invalid_insert.sql) (in query: INSERT INTO test_table_ipv4_materialized(ip) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19adb3f3 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:873: void DB::readIPv4TextImpl(DB::IPv4&, DB::ReadBuffer&) @ 0x19adb082 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:880: DB::readIPv4Text(DB::IPv4&, DB::ReadBuffer&) @ 0x19adaf5d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1023: void DB::parseImpl(DB::DataTypeIPv4::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19afa9aa in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19afa851 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19af5af8 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19ade919 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19add875 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19adc9de in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x2cc5eeb7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 2024.03.27 21:31:22.914079 [ 1011 ] {212d2dde-52fd-4666-87b6-1c111e17b33d} TCPHandler: Code: 675. DB::ParsingException: Cannot parse IPv4 : Cannot parse IPv4 from String: while executing 'FUNCTION toIPv4(ip : 0) -> toIPv4(ip) IPv4 : 2'. (CANNOT_PARSE_IPV4), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19adb3f3 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:873: void DB::readIPv4TextImpl(DB::IPv4&, DB::ReadBuffer&) @ 0x19adb082 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:880: DB::readIPv4Text(DB::IPv4&, DB::ReadBuffer&) @ 0x19adaf5d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1023: void DB::parseImpl(DB::DataTypeIPv4::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19afa9aa in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19afa851 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19af5af8 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19ade919 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19add875 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19adc9de in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x2cc5eeb7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 2024.03.27 21:31:23.329995 [ 1011 ] {c71894e6-be1f-4cb0-996c-7229010ff6b9} executeQuery: Code: 676. DB::ParsingException: Cannot parse IPv6 : Cannot parse IPv6 from String: while executing 'FUNCTION toIPv6(ip : 0) -> toIPv6(ip) IPv6 : 2'. (CANNOT_PARSE_IPV6) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44172) (comment: 02244_ip_address_invalid_insert.sql) (in query: INSERT INTO test_table_ipv6_materialized(ip) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19adb3f3 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:895: void DB::readIPv6TextImpl(DB::IPv6&, DB::ReadBuffer&) @ 0x19b0475b in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:902: DB::readIPv6Text(DB::IPv6&, DB::ReadBuffer&) @ 0x19b0463d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1031: void DB::parseImpl(DB::DataTypeIPv6::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19b23bca in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19b23a71 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19b1f098 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b08639 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b07595 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b066fe in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x2cc5eeb7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 2024.03.27 21:31:23.334300 [ 1011 ] {c71894e6-be1f-4cb0-996c-7229010ff6b9} TCPHandler: Code: 676. DB::ParsingException: Cannot parse IPv6 : Cannot parse IPv6 from String: while executing 'FUNCTION toIPv6(ip : 0) -> toIPv6(ip) IPv6 : 2'. (CANNOT_PARSE_IPV6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19adb3f3 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:895: void DB::readIPv6TextImpl(DB::IPv6&, DB::ReadBuffer&) @ 0x19b0475b in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:902: DB::readIPv6Text(DB::IPv6&, DB::ReadBuffer&) @ 0x19b0463d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1031: void DB::parseImpl(DB::DataTypeIPv6::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19b23bca in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19b23a71 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19b1f098 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b08639 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b07595 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b066fe in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x2cc5eeb7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 2024.03.27 21:31:23.375554 [ 1011 ] {9b5b9625-7c0b-4ca3-8f46-464c1a599ddd} executeQuery: Code: 676. DB::ParsingException: Cannot parse IPv6 : Cannot parse IPv6 from String: while executing 'FUNCTION toIPv6(ip : 0) -> toIPv6(ip) IPv6 : 2'. (CANNOT_PARSE_IPV6) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44172) (comment: 02244_ip_address_invalid_insert.sql) (in query: INSERT INTO test_table_ipv6_materialized(ip) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19adb3f3 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:895: void DB::readIPv6TextImpl(DB::IPv6&, DB::ReadBuffer&) @ 0x19b0475b in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:902: DB::readIPv6Text(DB::IPv6&, DB::ReadBuffer&) @ 0x19b0463d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1031: void DB::parseImpl(DB::DataTypeIPv6::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19b23bca in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19b23a71 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19b1f098 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b08639 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b07595 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b066fe in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x2cc5eeb7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 2024.03.27 21:31:23.377001 [ 1011 ] {9b5b9625-7c0b-4ca3-8f46-464c1a599ddd} TCPHandler: Code: 676. DB::ParsingException: Cannot parse IPv6 : Cannot parse IPv6 from String: while executing 'FUNCTION toIPv6(ip : 0) -> toIPv6(ip) IPv6 : 2'. (CANNOT_PARSE_IPV6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19adb3f3 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:895: void DB::readIPv6TextImpl(DB::IPv6&, DB::ReadBuffer&) @ 0x19b0475b in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:902: DB::readIPv6Text(DB::IPv6&, DB::ReadBuffer&) @ 0x19b0463d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1031: void DB::parseImpl(DB::DataTypeIPv6::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19b23bca in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19b23a71 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19b1f098 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b08639 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b07595 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b066fe in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x2cc5eeb7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 2024.03.27 21:31:24.479261 [ 634 ] {56f530d2-ac66-421d-bbeb-be443a72547e} executeQuery: Code: 497. DB::Exception: without_on_cluster_02250_ON_CLUSTER_grant_test_noaavwp0: Not enough privileges. To execute this query it's necessary to have grant CLUSTER ON *.*. (ACCESS_DENIED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44254) (comment: 02250_ON_CLUSTER_grant.sh) (in query: CREATE DATABASE IF NOT EXISTS db_without_on_cluster_02250_ON_CLUSTER_grant_test_noaavwp0 ON CLUSTER test_shard_localhost), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:500: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x2919ddfd in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:540: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x2919c56a in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:605: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x291695c2 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:678: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x291646fd in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1077: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x29e901b6 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1080: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x29e734fd in /usr/bin/clickhouse 12. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:99: DB::executeDDLQueryOnCluster(std::shared_ptr const&, std::shared_ptr, DB::DDLQueryOnClusterParams const&) @ 0x2b341f01 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterCreateQuery.cpp:1682: DB::InterpreterCreateQuery::executeQueryOnCluster(DB::ASTCreateQuery&) @ 0x2ab4a659 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1695: DB::InterpreterCreateQuery::execute() @ 0x2ab50745 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:24.483619 [ 634 ] {56f530d2-ac66-421d-bbeb-be443a72547e} TCPHandler: Code: 497. DB::Exception: without_on_cluster_02250_ON_CLUSTER_grant_test_noaavwp0: Not enough privileges. To execute this query it's necessary to have grant CLUSTER ON *.*. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:500: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x2919ddfd in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:540: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x2919c56a in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:605: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x291695c2 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:678: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x291646fd in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1077: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x29e901b6 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1080: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x29e734fd in /usr/bin/clickhouse 12. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:99: DB::executeDDLQueryOnCluster(std::shared_ptr const&, std::shared_ptr, DB::DDLQueryOnClusterParams const&) @ 0x2b341f01 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterCreateQuery.cpp:1682: DB::InterpreterCreateQuery::executeQueryOnCluster(DB::ASTCreateQuery&) @ 0x2ab4a659 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1695: DB::InterpreterCreateQuery::execute() @ 0x2ab50745 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:25.653973 [ 634 ] {adc82860-9bf2-41dc-ad81-fc5287103923} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Exception: Cannot load time zone not a timezone (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44284) (comment: 02244_make_datetime.sql) (in query: select makeDateTime(1984, 1, 1, 0, 0, 0, 'not a timezone');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:31: Poco::Exception::Exception(String&&, int) @ 0x31dea000 in /usr/bin/clickhouse 3. /build/src/Common/DateLUTImpl.cpp:51: DateLUTImpl::DateLUTImpl(String const&) @ 0x2214471a in /usr/bin/clickhouse 4. /build/src/Common/DateLUT.cpp:156: DateLUT::getImplementation(String const&) const @ 0x2213f08a in /usr/bin/clickhouse 5. /build/src/Common/DateLUT.h:33: TimezoneMixin::TimezoneMixin(String const&) @ 0x29931472 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDateTime.cpp:11: DB::DataTypeDateTime::DataTypeDateTime(String const&) @ 0x299310ae in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime* std::construct_at[abi:v15000](DB::DataTypeDateTime*, String&) @ 0x1bf745c6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime*, String&) @ 0x1bf74541 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x1bf744c7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x1bf743f7 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x1bf74326 in /usr/bin/clickhouse 12. /build/src/Functions/makeDate.cpp:258: DB::(anonymous namespace)::FunctionMakeDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x1eac9cda in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:31:25.655789 [ 634 ] {adc82860-9bf2-41dc-ad81-fc5287103923} TCPHandler: Code: 1000. DB::Exception: Exception: Cannot load time zone not a timezone. (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:31: Poco::Exception::Exception(String&&, int) @ 0x31dea000 in /usr/bin/clickhouse 3. /build/src/Common/DateLUTImpl.cpp:51: DateLUTImpl::DateLUTImpl(String const&) @ 0x2214471a in /usr/bin/clickhouse 4. /build/src/Common/DateLUT.cpp:156: DateLUT::getImplementation(String const&) const @ 0x2213f08a in /usr/bin/clickhouse 5. /build/src/Common/DateLUT.h:33: TimezoneMixin::TimezoneMixin(String const&) @ 0x29931472 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDateTime.cpp:11: DB::DataTypeDateTime::DataTypeDateTime(String const&) @ 0x299310ae in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime* std::construct_at[abi:v15000](DB::DataTypeDateTime*, String&) @ 0x1bf745c6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime*, String&) @ 0x1bf74541 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x1bf744c7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x1bf743f7 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x1bf74326 in /usr/bin/clickhouse 12. /build/src/Functions/makeDate.cpp:258: DB::(anonymous namespace)::FunctionMakeDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x1eac9cda in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:31:35.193295 [ 634 ] {e08afc20-62fa-408a-adae-488cf269f041} executeQuery: Code: 6. DB::Exception: Cannot parse string 'inter' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while converting source column `'inter'` to destination column inter. (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40180) (comment: 02233_interpolate_1.sql) (in query: # Test INTERPOLATE with incompatible const - should produce error SELECT n, source, inter FROM ( SELECT toFloat32(number % 10) AS n, 'original' AS source, number as inter FROM numbers(10) WHERE number % 3 = 1 ) ORDER BY n WITH FILL FROM 0 TO 11.51 STEP 0.5 INTERPOLATE (inter AS 'inter');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x1980b287 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19806058 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x197f4ab9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197f3de8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197f2ffe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19758470 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758406 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197583a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758340 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197582eb in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 2024.03.27 21:31:35.194935 [ 634 ] {e08afc20-62fa-408a-adae-488cf269f041} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'inter' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while converting source column `'inter'` to destination column inter. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x1980b287 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19806058 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x197f4ab9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197f3de8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197f2ffe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19758470 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758406 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197583a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758340 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197582eb in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 2024.03.27 21:31:35.375150 [ 634 ] {17eab227-02dc-4447-b6da-fc24eab86f6f} executeQuery: Code: 44. DB::Exception: Illegal column UInt64 of argument of function concat: while executing 'FUNCTION concat(inter :: 0, 'inter' :: 1) -> concat(inter, 'inter') String : 3'. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40180) (comment: 02233_interpolate_1.sql) (in query: # Test INTERPOLATE with incompatible expression - should produce error SELECT n, source, inter FROM ( SELECT toFloat32(number % 10) AS n, 'original' AS source, number as inter FROM numbers(10) WHERE number % 3 = 1 ) ORDER BY n WITH FILL FROM 0 TO 11.51 STEP 0.5 INTERPOLATE (inter AS inter||'inter');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:149: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x1bf9474f in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:111: DB::(anonymous namespace)::ConcatImpl::executeBinary(std::vector> const&, unsigned long) const @ 0x1bf942b1 in /usr/bin/clickhouse 8. /build/src/Functions/concat.cpp:82: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1bf93adf in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a00d66e in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/FillingTransform.cpp:290: DB::FillingTransform::interpolate(std::vector::mutable_ptr, std::allocator::mutable_ptr>> const&, DB::Block&) @ 0x2cebf2ea in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/FillingTransform.cpp:444: DB::FillingTransform::transform(DB::Chunk&) @ 0x2cebfd5f in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:31:35.377576 [ 634 ] {17eab227-02dc-4447-b6da-fc24eab86f6f} TCPHandler: Code: 44. DB::Exception: Illegal column UInt64 of argument of function concat: while executing 'FUNCTION concat(inter :: 0, 'inter' :: 1) -> concat(inter, 'inter') String : 3'. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:149: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x1bf9474f in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:111: DB::(anonymous namespace)::ConcatImpl::executeBinary(std::vector> const&, unsigned long) const @ 0x1bf942b1 in /usr/bin/clickhouse 8. /build/src/Functions/concat.cpp:82: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1bf93adf in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a00d66e in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/FillingTransform.cpp:290: DB::FillingTransform::interpolate(std::vector::mutable_ptr, std::allocator::mutable_ptr>> const&, DB::Block&) @ 0x2cebf2ea in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/FillingTransform.cpp:444: DB::FillingTransform::transform(DB::Chunk&) @ 0x2cebfd5f in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:31:35.554752 [ 634 ] {0a23d349-0ed2-43a1-a8aa-896a17afbc09} executeQuery: Code: 475. DB::Exception: Column 'n' is participating in ORDER BY ... WITH FILL expression and can't be INTERPOLATE output. (INVALID_WITH_FILL_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40180) (comment: 02233_interpolate_1.sql) (in query: # Test INTERPOLATE with column from WITH FILL expression - should produce error SELECT n, source, inter FROM ( SELECT toFloat32(number % 10) AS n, 'original' AS source, number as inter FROM numbers(10) WHERE number % 3 = 1 ) ORDER BY n WITH FILL FROM 0 TO 11.51 STEP 0.5 INTERPOLATE (n AS n);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FillingTransform.cpp:186: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, std::shared_ptr) @ 0x2cebc0fe in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::FillingTransform* std::construct_at[abi:v15000], DB::FillingTransform*>(DB::FillingTransform*, DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2cebb799 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], void, void>(std::allocator&, DB::FillingTransform*, DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2cebb531 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::allocator, DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2cebb237 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, std::shared_ptr, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2cebb0aa in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], void>(DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2ceba496 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/FillingStep.cpp:45: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x2ceba1fd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x2ceba167 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x2ceba125 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) @ 0x2ceba0e5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x2ceba08c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) const @ 0x298c4f68 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::Block const&, DB::Pipe::StreamType)>::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x298c4ee4 in /usr/bin/clickhouse 19. /build/src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x298b1b2e in /usr/bin/clickhouse 20. /build/src/QueryPipeline/Pipe.cpp:658: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x298b1a16 in /usr/bin/clickhouse 21. /build/src/QueryPipeline/QueryPipelineBuilder.cpp:135: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x298e08ee in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/FillingStep.cpp:40: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2ceb9b62 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced67dc in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 2024.03.27 21:31:35.556403 [ 634 ] {0a23d349-0ed2-43a1-a8aa-896a17afbc09} TCPHandler: Code: 475. DB::Exception: Column 'n' is participating in ORDER BY ... WITH FILL expression and can't be INTERPOLATE output. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FillingTransform.cpp:186: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, std::shared_ptr) @ 0x2cebc0fe in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::FillingTransform* std::construct_at[abi:v15000], DB::FillingTransform*>(DB::FillingTransform*, DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2cebb799 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], void, void>(std::allocator&, DB::FillingTransform*, DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2cebb531 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::allocator, DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2cebb237 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, std::shared_ptr, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2cebb0aa in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], void>(DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2ceba496 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/FillingStep.cpp:45: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x2ceba1fd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x2ceba167 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x2ceba125 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) @ 0x2ceba0e5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x2ceba08c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) const @ 0x298c4f68 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::Block const&, DB::Pipe::StreamType)>::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x298c4ee4 in /usr/bin/clickhouse 19. /build/src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x298b1b2e in /usr/bin/clickhouse 20. /build/src/QueryPipeline/Pipe.cpp:658: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x298b1a16 in /usr/bin/clickhouse 21. /build/src/QueryPipeline/QueryPipelineBuilder.cpp:135: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x298e08ee in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/FillingStep.cpp:40: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2ceb9b62 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced67dc in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 2024.03.27 21:31:35.673778 [ 634 ] {a399ee53-0b89-4493-9b3d-5e778e3f0dca} executeQuery: Code: 32. DB::Exception: Attempt to read after eof: Cannot parse UInt64 from String, because value is too short: while converting source column source to destination column inter: while executing 'FUNCTION _CAST(source :: 0, UInt64 :: 1) -> _CAST(source, UInt64) UInt64 : 2'. (ATTEMPT_TO_READ_AFTER_EOF) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40180) (comment: 02233_interpolate_1.sql) (in query: # Test INTERPOLATE with inconsistent column - should produce error SELECT n, source, inter FROM ( SELECT toFloat32(number % 10) AS n, 'original' AS source, number as inter FROM numbers(10) WHERE number % 3 = 1 ) ORDER BY n WITH FILL FROM 0 TO 11.51 STEP 0.5 INTERPOLATE (inter AS source);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [26]) @ 0x197814fe in /usr/bin/clickhouse 6. /build/src/IO/VarInt.h:122: DB::throwReadAfterEOF() @ 0x19781251 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:334: void DB::readIntTextImpl(unsigned long&, DB::ReadBuffer&) @ 0x1980b524 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:475: void DB::readIntText<(DB::ReadIntTextCheckOverflow)0, unsigned long>(unsigned long&, DB::ReadBuffer&) @ 0x1980b47d in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:1170: void DB::readText(unsigned long&, DB::ReadBuffer&) @ 0x1980b43d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:982: void DB::parseImpl>(DB::DataTypeNumber::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x1980b381 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x1980b231 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19806058 in /usr/bin/clickhouse 13. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x197f4ab9 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197f3de8 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197f2ffe in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19758470 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758406 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197583a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758340 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197582eb in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 28. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 2024.03.27 21:31:35.676135 [ 634 ] {a399ee53-0b89-4493-9b3d-5e778e3f0dca} TCPHandler: Code: 32. DB::Exception: Attempt to read after eof: Cannot parse UInt64 from String, because value is too short: while converting source column source to destination column inter: while executing 'FUNCTION _CAST(source :: 0, UInt64 :: 1) -> _CAST(source, UInt64) UInt64 : 2'. (ATTEMPT_TO_READ_AFTER_EOF), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [26]) @ 0x197814fe in /usr/bin/clickhouse 6. /build/src/IO/VarInt.h:122: DB::throwReadAfterEOF() @ 0x19781251 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:334: void DB::readIntTextImpl(unsigned long&, DB::ReadBuffer&) @ 0x1980b524 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:475: void DB::readIntText<(DB::ReadIntTextCheckOverflow)0, unsigned long>(unsigned long&, DB::ReadBuffer&) @ 0x1980b47d in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:1170: void DB::readText(unsigned long&, DB::ReadBuffer&) @ 0x1980b43d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:982: void DB::parseImpl>(DB::DataTypeNumber::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x1980b381 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x1980b231 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19806058 in /usr/bin/clickhouse 13. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x197f4ab9 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197f3de8 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197f2ffe in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19758470 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758406 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197583a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758340 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197582eb in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 28. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 2024.03.27 21:31:36.099759 [ 1011 ] {fa2a8dfe-c7f4-44f9-8122-17cfc73c70b9} ReadWriteBufferFromHTTP: Unable to read with range header: [0, 84] 2024.03.27 21:31:37.660556 [ 2026 ] {2df9be22-f30e-4a41-acf3-247295d300c8} ReadWriteBufferFromHTTP: HTTP request to `http://[2001:3984:3989::242:ac11:2]:54115/` failed at try 1/10 with bytes read: 20/29. (Current backoff wait is 100/10000 ms) 2024.03.27 21:31:37.661885 [ 1271 ] {2df9be22-f30e-4a41-acf3-247295d300c8} ReadWriteBufferFromHTTP: HTTP request to `http://[2001:3984:3989::242:ac11:2]:54115/` failed at try 1/10 with bytes read: 30/39. Error: DB::HTTPException: Received error from remote server /. HTTP status code: 500 Internal Server Error, body: ": 5480124. (Current backoff wait is 100/10000 ms) 2024.03.27 21:31:38.699070 [ 2750 ] {b07acd5e-f23f-4a06-923f-263d09779c37} executeQuery: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42578) (comment: 02224_parallel_distributed_insert_select_cluster.sql) (in query: insert into function cluster('test_cluster_two_shards', currentDatabase(), dst_02224, key) select * from cluster('test_cluster_two_shards', currentDatabase(), src_02224, key) settings parallel_distributed_insert_select=1, max_distributed_depth=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x1972623e in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1359: DB::StorageDistributed::distributedWrite(DB::ASTInsertQuery const&, std::shared_ptr) @ 0x2b8a51c1 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:353: DB::InterpreterInsertQuery::execute() @ 0x2ad66dc2 in /usr/bin/clickhouse 8. /build/src/Storages/StorageDistributed.cpp:1263: DB::StorageDistributed::distributedWriteBetweenDistributedTables(DB::StorageDistributed const&, DB::ASTInsertQuery const&, std::shared_ptr) const @ 0x2b8a3d35 in /usr/bin/clickhouse 9. /build/src/Storages/StorageDistributed.cpp:1385: DB::StorageDistributed::distributedWrite(DB::ASTInsertQuery const&, std::shared_ptr) @ 0x2b8a54f2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:353: DB::InterpreterInsertQuery::execute() @ 0x2ad66dc2 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:38.700003 [ 2750 ] {b07acd5e-f23f-4a06-923f-263d09779c37} TCPHandler: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x1972623e in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1359: DB::StorageDistributed::distributedWrite(DB::ASTInsertQuery const&, std::shared_ptr) @ 0x2b8a51c1 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:353: DB::InterpreterInsertQuery::execute() @ 0x2ad66dc2 in /usr/bin/clickhouse 8. /build/src/Storages/StorageDistributed.cpp:1263: DB::StorageDistributed::distributedWriteBetweenDistributedTables(DB::StorageDistributed const&, DB::ASTInsertQuery const&, std::shared_ptr) const @ 0x2b8a3d35 in /usr/bin/clickhouse 9. /build/src/Storages/StorageDistributed.cpp:1385: DB::StorageDistributed::distributedWrite(DB::ASTInsertQuery const&, std::shared_ptr) @ 0x2b8a54f2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:353: DB::InterpreterInsertQuery::execute() @ 0x2ad66dc2 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:38.909975 [ 635 ] {3db6edeb-ce48-43fc-ac15-405a847db883} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42606) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:38.910750 [ 635 ] {3db6edeb-ce48-43fc-ac15-405a847db883} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:39.824037 [ 2750 ] {cc8e662b-e039-42bf-b90d-5cde9be41d7f} executeQuery: Code: 117. DB::Exception: Incorrect H3 index: 9223372036854775807, error: 5: while executing 'FUNCTION h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL]) :: 4) -> h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL])) Nullable(Float64) : 0'. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42618) (comment: 02223_h3_test_const_columns.sql) (in query: SELECT NULL, toFloat64('-1'), -2147483648, h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned int&) @ 0x1d5d658c in /usr/bin/clickhouse 6. /build/src/Functions/h3CellAreaM2.cpp:82: DB::(anonymous namespace)::FunctionH3CellAreaM2::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d5d5e08 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:200: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909e0bc in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:242: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db8a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 2024.03.27 21:31:39.825503 [ 2750 ] {cc8e662b-e039-42bf-b90d-5cde9be41d7f} TCPHandler: Code: 117. DB::Exception: Incorrect H3 index: 9223372036854775807, error: 5: while executing 'FUNCTION h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL]) :: 4) -> h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL])) Nullable(Float64) : 0'. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned int&) @ 0x1d5d658c in /usr/bin/clickhouse 6. /build/src/Functions/h3CellAreaM2.cpp:82: DB::(anonymous namespace)::FunctionH3CellAreaM2::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d5d5e08 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:200: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909e0bc in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:242: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db8a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 2024.03.27 21:31:39.976711 [ 2750 ] {ba211ce5-dea3-4d08-8cea-6a1031f7d61e} executeQuery: Code: 117. DB::Exception: Incorrect H3 index: 9223372036854775807, error: 5: while executing 'FUNCTION h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL]) :: 4) -> h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL])) Nullable(Float64) : 0'. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42618) (comment: 02223_h3_test_const_columns.sql) (in query: SELECT NULL, toFloat64('-1'), -2147483648, h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned int&) @ 0x1d5d658c in /usr/bin/clickhouse 6. /build/src/Functions/h3CellAreaRads2.cpp:81: DB::(anonymous namespace)::FunctionH3CellAreaRads2::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d5d7888 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:200: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909e0bc in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:242: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db8a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 2024.03.27 21:31:39.993087 [ 2750 ] {ba211ce5-dea3-4d08-8cea-6a1031f7d61e} TCPHandler: Code: 117. DB::Exception: Incorrect H3 index: 9223372036854775807, error: 5: while executing 'FUNCTION h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL]) :: 4) -> h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL])) Nullable(Float64) : 0'. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned int&) @ 0x1d5d658c in /usr/bin/clickhouse 6. /build/src/Functions/h3CellAreaRads2.cpp:81: DB::(anonymous namespace)::FunctionH3CellAreaRads2::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d5d7888 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:200: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909e0bc in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:242: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db8a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 2024.03.27 21:31:40.462322 [ 2750 ] {c5db4efb-39ac-465b-bce2-e2a000b8d21f} executeQuery: Code: 117. DB::Exception: Incorrect arguments h3Index: 579205133326352383, k: 1, error: 1: while executing 'FUNCTION h3HexRing(arrayJoin([579205133326352383]) :: 2, arrayJoin(array(toUInt16(1), toUInt16(2), toUInt16(3))) :: 0) -> h3HexRing(arrayJoin([579205133326352383]), arrayJoin(array(toUInt16(1), toUInt16(2), toUInt16(3)))) Array(UInt64) : 1'. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42618) (comment: 02223_h3_test_const_columns.sql) (in query: SELECT h3HexRing(arrayJoin([579205133326352383]), arrayJoin([toUInt16(1),toUInt16(2),toUInt16(3)]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0x1d5f9868 in /usr/bin/clickhouse 6. /build/src/Functions/h3HexRing.cpp:134: DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d5f8cee in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 14. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 2024.03.27 21:31:40.463975 [ 2750 ] {c5db4efb-39ac-465b-bce2-e2a000b8d21f} TCPHandler: Code: 117. DB::Exception: Incorrect arguments h3Index: 579205133326352383, k: 1, error: 1: while executing 'FUNCTION h3HexRing(arrayJoin([579205133326352383]) :: 2, arrayJoin(array(toUInt16(1), toUInt16(2), toUInt16(3))) :: 0) -> h3HexRing(arrayJoin([579205133326352383]), arrayJoin(array(toUInt16(1), toUInt16(2), toUInt16(3)))) Array(UInt64) : 1'. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0x1d5f9868 in /usr/bin/clickhouse 6. /build/src/Functions/h3HexRing.cpp:134: DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d5f8cee in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 14. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 2024.03.27 21:31:47.471769 [ 634 ] {17c17e29-bb23-478f-848c-484b72f5bff4} executeQuery: Code: 36. DB::Exception: Engine Distributed doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35734) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE distributed_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:47.472696 [ 634 ] {17c17e29-bb23-478f-848c-484b72f5bff4} TCPHandler: Code: 36. DB::Exception: Engine Distributed doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:47.508089 [ 634 ] {f3d2262e-e297-4ea2-87cc-82bc242cf4dc} executeQuery: Code: 36. DB::Exception: Engine Buffer doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35734) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE buffer_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:47.509071 [ 634 ] {f3d2262e-e297-4ea2-87cc-82bc242cf4dc} TCPHandler: Code: 36. DB::Exception: Engine Buffer doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:47.537295 [ 634 ] {5ee548cd-5e96-4c44-b57d-0c248b58bd76} executeQuery: Code: 36. DB::Exception: Engine Merge doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35734) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE merge_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:47.538121 [ 634 ] {5ee548cd-5e96-4c44-b57d-0c248b58bd76} TCPHandler: Code: 36. DB::Exception: Engine Merge doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:47.566391 [ 634 ] {d4005168-2bbe-488f-8fb1-7d5512b8c981} executeQuery: Code: 36. DB::Exception: Engine Null doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35734) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE null_02184 MODIFY COLUMN dummy Int TTL now() + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:47.567234 [ 634 ] {d4005168-2bbe-488f-8fb1-7d5512b8c981} TCPHandler: Code: 36. DB::Exception: Engine Null doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:47.595337 [ 634 ] {210731c5-4445-4245-9961-19ce69a09102} executeQuery: Code: 36. DB::Exception: Engine File doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35734) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE file_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:47.596105 [ 634 ] {210731c5-4445-4245-9961-19ce69a09102} TCPHandler: Code: 36. DB::Exception: Engine File doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:47.623122 [ 634 ] {23abbca6-c1d6-4190-aca8-11e7d57b6f70} executeQuery: Code: 36. DB::Exception: Engine Memory doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35734) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE memory_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:47.624015 [ 634 ] {23abbca6-c1d6-4190-aca8-11e7d57b6f70} TCPHandler: Code: 36. DB::Exception: Engine Memory doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:47.650601 [ 634 ] {31e04d6f-23b7-411e-8390-35700e6e3281} executeQuery: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35734) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE log_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:47.651442 [ 634 ] {31e04d6f-23b7-411e-8390-35700e6e3281} TCPHandler: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:47.677674 [ 634 ] {a5a9179d-8665-4d76-8147-ea69dbb8a482} executeQuery: Code: 36. DB::Exception: Engine TinyLog doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35734) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE ting_log_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:47.678501 [ 634 ] {a5a9179d-8665-4d76-8147-ea69dbb8a482} TCPHandler: Code: 36. DB::Exception: Engine TinyLog doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:47.703522 [ 634 ] {cff212bf-0a99-48cb-aa36-e57c87687f86} executeQuery: Code: 36. DB::Exception: Engine StripeLog doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35734) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE stripe_log_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:47.704509 [ 634 ] {cff212bf-0a99-48cb-aa36-e57c87687f86} TCPHandler: Code: 36. DB::Exception: Engine StripeLog doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:48.489527 [ 3331 ] {ab2936a6-0d45-4eb3-82e4-573f166a0765} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35790) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda(((x * 2) AS x_doubled) + x_doubled);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b3f351e in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d010e85 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d010cc0 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d0115e2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ad60767 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:48.490539 [ 3331 ] {ab2936a6-0d45-4eb3-82e4-573f166a0765} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b3f351e in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d010e85 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d010cc0 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d0115e2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ad60767 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:48.496441 [ 3331 ] {1a3a4ce9-10ee-464d-a3fc-0a55562a664a} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35790) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b3f351e in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d010e85 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d010cc0 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d0115e2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ad60767 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:48.497204 [ 3331 ] {1a3a4ce9-10ee-464d-a3fc-0a55562a664a} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b3f351e in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d010e85 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d010cc0 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d0115e2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ad60767 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:48.502175 [ 3331 ] {1104c22e-d6c9-4e45-a9db-91e39080125d} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35790) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b3f351e in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d010e85 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d010cc0 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d0115e2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ad60767 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:48.503085 [ 3331 ] {1104c22e-d6c9-4e45-a9db-91e39080125d} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b3f351e in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d010e85 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d010cc0 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d0115e2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ad60767 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:48.508616 [ 3331 ] {86f17adf-fea7-4906-a4be-67f41fc0d46f} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35790) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda(tuple(x)) --{serverError 1} ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b3f351e in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d010e85 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d010cc0 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d0115e2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ad60767 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:48.509441 [ 3331 ] {86f17adf-fea7-4906-a4be-67f41fc0d46f} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b3f351e in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d010e85 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d010cc0 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d0115e2 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ad60767 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:49.323289 [ 3331 ] {be4e8677-4519-418d-9e85-78d00f70927e} executeQuery: Code: 520. DB::Exception: Cannot drop/detach dictionary test_iqnvb9rm.02181_test_dictionary as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35802) (comment: 02181_dictionary_attach_detach.sql) (in query: DETACH TABLE 02181_test_dictionary;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDictionary.cpp:151: DB::StorageDictionary::checkTableCanBeDropped() const @ 0x2b8928e4 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDictionary.cpp:163: DB::StorageDictionary::checkTableCanBeDetached() const @ 0x2b8929f5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:176: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2abf0199 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2abeef14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2abee78e in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:49.324343 [ 3331 ] {be4e8677-4519-418d-9e85-78d00f70927e} TCPHandler: Code: 520. DB::Exception: Cannot drop/detach dictionary test_iqnvb9rm.02181_test_dictionary as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDictionary.cpp:151: DB::StorageDictionary::checkTableCanBeDropped() const @ 0x2b8928e4 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDictionary.cpp:163: DB::StorageDictionary::checkTableCanBeDetached() const @ 0x2b8929f5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:176: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2abf0199 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2abeef14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2abee78e in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:49.399824 [ 3331 ] {e43a0b36-2f60-4841-a5cf-eebf34984b57} executeQuery: Code: 80. DB::Exception: Cannot ATTACH TABLE test_iqnvb9rm.`02181_test_dictionary`, it is a Dictionary. (INCORRECT_QUERY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35802) (comment: 02181_dictionary_attach_detach.sql) (in query: ATTACH TABLE 02181_test_dictionary;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1120: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab46e36 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:49.400783 [ 3331 ] {e43a0b36-2f60-4841-a5cf-eebf34984b57} TCPHandler: Code: 80. DB::Exception: Cannot ATTACH TABLE test_iqnvb9rm.`02181_test_dictionary`, it is a Dictionary. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1120: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab46e36 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:51.024510 [ 6021 ] {c65f657b-6f4c-45c7-aca3-11d2570fa2fb} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 11 ('#'): #. Unrecognized token: '#'. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46620) (comment: 02192_comment_error.sh) (in query: select 42 #), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:362: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x2d441341 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:374: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x2d441426 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:383: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b34dee1 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:31:51.025574 [ 6021 ] {c65f657b-6f4c-45c7-aca3-11d2570fa2fb} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error: failed at position 11 ('#'): #. Unrecognized token: '#'. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:362: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x2d441341 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:374: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x2d441426 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:383: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b34dee1 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:31:51.806196 [ 635 ] {2136e5b3-d8cd-44b1-8cc5-df5a946f59d1} executeQuery: Code: 46. DB::Exception: Unknown function sumIF: While processing sumIF(1, 0). (UNKNOWN_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35874) (comment: 02177_sum_if_not_found.sql) (in query: SELECT sumIF(1, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x2226078c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x290a5fcc in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x290a66ca in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1101: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a076e64 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:31:51.807345 [ 635 ] {2136e5b3-d8cd-44b1-8cc5-df5a946f59d1} TCPHandler: Code: 46. DB::Exception: Unknown function sumIF: While processing sumIF(1, 0). (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x2226078c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x290a5fcc in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x290a66ca in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1101: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a076e64 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:31:51.947397 [ 635 ] {ae0e0aaf-b3e3-4a76-825f-d8d8dee10675} executeQuery: Code: 46. DB::Exception: Unknown function sumIF: While processing t, sumIF(n, 0). (UNKNOWN_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35874) (comment: 02177_sum_if_not_found.sql) (in query: CREATE TABLE agg ENGINE = AggregatingMergeTree ORDER BY tuple() SETTINGS index_granularity = 7534, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 10521, prefer_fetch_merged_part_size_threshold = 1266896124, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 4414055812, index_granularity_bytes = 3752821 AS SELECT t, sumIF(n, 0) FROM data GROUP BY t), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x2226078c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x290a5fcc in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x290a66ca in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1101: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a076e64 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7bf13 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:286: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x2ae7e731 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab42b86 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:31:51.949264 [ 635 ] {ae0e0aaf-b3e3-4a76-825f-d8d8dee10675} TCPHandler: Code: 46. DB::Exception: Unknown function sumIF: While processing t, sumIF(n, 0). (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x2226078c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x290a5fcc in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x290a66ca in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1101: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a076e64 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7bf13 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:286: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x2ae7e731 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab42b86 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:31:53.542668 [ 3331 ] {a6ef49ad-5950-472b-811c-912f2f191dc1} executeQuery: Code: 43. DB::Exception: The sixth argument Nullable(Nothing) of function proportionsZTest should be a constant string: While processing NULL, proportionsZTest(257, 1048575, 1048575, 257, -inf, NULL), proportionsZTest(1024, 1025, 2, 2, 'unpooled'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35902) (comment: 02158_proportions_ztest.sql) (in query: SELECT NULL, proportionsZTest(257, 1048575, 1048575, 257, -inf, NULL), proportionsZTest(1024, 1025, 2, 2, 'unpooled');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/ztest.cpp:81: DB::FunctionTwoSampleProportionsZTest::getReturnTypeImpl(std::vector> const&) const @ 0x211ab6bd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:31:53.544130 [ 3331 ] {a6ef49ad-5950-472b-811c-912f2f191dc1} TCPHandler: Code: 43. DB::Exception: The sixth argument Nullable(Nothing) of function proportionsZTest should be a constant string: While processing NULL, proportionsZTest(257, 1048575, 1048575, 257, -inf, NULL), proportionsZTest(1024, 1025, 2, 2, 'unpooled'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/ztest.cpp:81: DB::FunctionTwoSampleProportionsZTest::getReturnTypeImpl(std::vector> const&) const @ 0x211ab6bd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:31:57.315574 [ 634 ] {aff08624-b436-4cea-aebd-0a96fb0c9a94} executeQuery: Code: 397. DB::Exception: StorageMaterializedView cannot be created from table functions (numbers(10)). (QUERY_IS_NOT_SUPPORTED_IN_MATERIALIZED_VIEW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52878) (comment: 02146_mv_non_phys.sql) (in query: CREATE MATERIALIZED VIEW mv_02146 ENGINE = MergeTree ORDER BY number SETTINGS index_granularity = 60381, min_bytes_for_wide_part = 878286745, ratio_of_defaults_for_sparse_serialization = 0.2213701754808426, merge_max_block_size = 9080, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1429293424, index_granularity_bytes = 29610522 AS SELECT * FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/SelectQueryDescription.cpp:63: DB::(anonymous namespace)::extractDependentTableFromSelectQuery(DB::ASTSelectQuery&, std::shared_ptr, bool) @ 0x2b88d7d6 in /usr/bin/clickhouse 7. /build/src/Storages/SelectQueryDescription.cpp:127: DB::SelectQueryDescription::getSelectQueryFromASTForMatView(std::shared_ptr const&, std::shared_ptr) @ 0x2b88ce3c in /usr/bin/clickhouse 8. /build/src/Storages/StorageMaterializedView.cpp:85: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x2b95c492 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b96235a in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9620cd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b961d99 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b961bee in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b961b54 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMaterializedView.cpp:469: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b960e2d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b960dbd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b960d5d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2b960d1d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2b960ce5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 21. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 2024.03.27 21:31:57.317171 [ 634 ] {aff08624-b436-4cea-aebd-0a96fb0c9a94} TCPHandler: Code: 397. DB::Exception: StorageMaterializedView cannot be created from table functions (numbers(10)). (QUERY_IS_NOT_SUPPORTED_IN_MATERIALIZED_VIEW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/SelectQueryDescription.cpp:63: DB::(anonymous namespace)::extractDependentTableFromSelectQuery(DB::ASTSelectQuery&, std::shared_ptr, bool) @ 0x2b88d7d6 in /usr/bin/clickhouse 7. /build/src/Storages/SelectQueryDescription.cpp:127: DB::SelectQueryDescription::getSelectQueryFromASTForMatView(std::shared_ptr const&, std::shared_ptr) @ 0x2b88ce3c in /usr/bin/clickhouse 8. /build/src/Storages/StorageMaterializedView.cpp:85: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x2b95c492 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b96235a in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9620cd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b961d99 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b961bee in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b961b54 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMaterializedView.cpp:469: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b960e2d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b960dbd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b960d5d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2b960d1d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2b960ce5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 21. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 2024.03.27 21:32:03.250748 [ 8244 ] {227209a9-2dfb-4d68-853e-7c013140ab45} DynamicQueryHandler: Code: 33. DB::Exception: Unexpected EOF, got 9371648 of 78889100 bytes. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x1a92318c in /usr/bin/clickhouse 6. /build/src/IO/LimitReadBuffer.cpp:40: DB::LimitReadBuffer::nextImpl() @ 0x2230cdf1 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 8. /build/src/IO/PeekableReadBuffer.cpp:121: DB::PeekableReadBuffer::peekNext() @ 0x22206e76 in /usr/bin/clickhouse 9. /build/src/IO/PeekableReadBuffer.cpp:198: DB::PeekableReadBuffer::nextImpl() @ 0x22207776 in /usr/bin/clickhouse 10. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 11. /build/src/IO/ReadBuffer.h:100: DB::HTMLForm::MultipartReadBuffer::readLine(bool) @ 0x2c7c8542 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTMLForm.cpp:329: DB::HTMLForm::MultipartReadBuffer::nextImpl() @ 0x2c7c8a75 in /usr/bin/clickhouse 13. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:100: DB::readHeaders(Poco::Net::MessageHeader&, DB::ReadBuffer&, unsigned long, unsigned long, unsigned long) @ 0x2c7d2081 in /usr/bin/clickhouse 15. /build/src/Server/HTTP/HTMLForm.cpp:201: DB::HTMLForm::readMultipart(DB::ReadBuffer&, DB::HTMLForm::PartHandler&) @ 0x2c7c732d in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTMLForm.cpp:104: DB::HTMLForm::load(Poco::Net::HTTPRequest const&, DB::ReadBuffer&, DB::HTMLForm::PartHandler&) @ 0x2c7c6391 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1109: DB::DynamicQueryHandler::getQuery(DB::HTTPServerRequest&, DB::HTMLForm&, std::shared_ptr) @ 0x2c72ce8d in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:784: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c727727 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:32:03.311524 [ 8244 ] {227209a9-2dfb-4d68-853e-7c013140ab45} DynamicQueryHandler: Cannot send exception to client: Code: 33. DB::Exception: Unexpected EOF, got 9568256 of 78889100 bytes. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x1a92318c in /usr/bin/clickhouse 6. /build/src/IO/LimitReadBuffer.cpp:40: DB::LimitReadBuffer::nextImpl() @ 0x2230cdf1 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x2c728e9b in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1063: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72b92b in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 16. ? @ 0x7f2098f50609 in ? 17. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:32:03.466144 [ 8244 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x31ded3c7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x31df1507 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x31c1bc0d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:923: Poco::Net::SocketImpl::error(int) @ 0x31c1c2a4 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:299: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x31c1ce3f in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x31c24ade in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x31c20932 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:152: Poco::Net::HTTPSession::write(char const*, long) @ 0x31bfb24e in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:57: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x31bea68d in /usr/bin/clickhouse 12. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x31beb05a in /usr/bin/clickhouse 13. /build/base/poco/Net/src/HTTPChunkedStream.cpp:236: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31beb7e1 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31beb820 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c7d070d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c7d06b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x2c7d0699 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x2c7d050e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x196b69d4 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x196b6979 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x2c733fec in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x2c7cab5b in /usr/bin/clickhouse 23. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x2c7ca698 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:32:03.466232 [ 634 ] {c4b2983a-0c2d-4984-b080-962ecb977b56} DynamicQueryHandler: Code: 33. DB::Exception: Unexpected EOF, got 10027008 of 78889100 bytes. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x1a92318c in /usr/bin/clickhouse 6. /build/src/IO/LimitReadBuffer.cpp:40: DB::LimitReadBuffer::nextImpl() @ 0x2230cdf1 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 8. /build/src/IO/PeekableReadBuffer.cpp:121: DB::PeekableReadBuffer::peekNext() @ 0x22206e76 in /usr/bin/clickhouse 9. /build/src/IO/PeekableReadBuffer.cpp:198: DB::PeekableReadBuffer::nextImpl() @ 0x22207776 in /usr/bin/clickhouse 10. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 11. /build/src/IO/ReadBuffer.h:100: DB::HTMLForm::MultipartReadBuffer::readLine(bool) @ 0x2c7c8542 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTMLForm.cpp:329: DB::HTMLForm::MultipartReadBuffer::nextImpl() @ 0x2c7c8a75 in /usr/bin/clickhouse 13. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:100: DB::readHeaders(Poco::Net::MessageHeader&, DB::ReadBuffer&, unsigned long, unsigned long, unsigned long) @ 0x2c7d2081 in /usr/bin/clickhouse 15. /build/src/Server/HTTP/HTMLForm.cpp:201: DB::HTMLForm::readMultipart(DB::ReadBuffer&, DB::HTMLForm::PartHandler&) @ 0x2c7c732d in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTMLForm.cpp:104: DB::HTMLForm::load(Poco::Net::HTTPRequest const&, DB::ReadBuffer&, DB::HTMLForm::PartHandler&) @ 0x2c7c6391 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1109: DB::DynamicQueryHandler::getQuery(DB::HTTPServerRequest&, DB::HTMLForm&, std::shared_ptr) @ 0x2c72ce8d in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:784: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c727727 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:32:03.467040 [ 634 ] {c4b2983a-0c2d-4984-b080-962ecb977b56} DynamicQueryHandler: Cannot send exception to client: Code: 33. DB::Exception: Unexpected EOF, got 10878976 of 78889100 bytes. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x1a92318c in /usr/bin/clickhouse 6. /build/src/IO/LimitReadBuffer.cpp:40: DB::LimitReadBuffer::nextImpl() @ 0x2230cdf1 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x2c728e9b in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1063: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72b92b in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 16. ? @ 0x7f2098f50609 in ? 17. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:32:03.468498 [ 634 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x31ded3c7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x31df1507 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x31c1bc0d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:923: Poco::Net::SocketImpl::error(int) @ 0x31c1c2a4 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:299: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x31c1ce3f in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x31c24ade in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x31c20932 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:152: Poco::Net::HTTPSession::write(char const*, long) @ 0x31bfb24e in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:57: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x31bea68d in /usr/bin/clickhouse 12. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x31beb05a in /usr/bin/clickhouse 13. /build/base/poco/Net/src/HTTPChunkedStream.cpp:236: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31beb7e1 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31beb820 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c7d070d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c7d06b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x2c7d0699 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x2c7d050e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x196b69d4 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x196b6979 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x2c733fec in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x2c7cab5b in /usr/bin/clickhouse 23. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x2c7ca698 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:32:06.248199 [ 2750 ] {2cd89bf9-3d8a-4e82-940a-c1e6d2b25b2c} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50714) (comment: 02125_fix_storage_filelog.sql) (in query: CREATE TABLE log (A String) ENGINE= FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bcfa223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd191e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18f15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18ba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd189b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd16a9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd0832f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd079dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd079a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:32:06.249722 [ 2750 ] {2cd89bf9-3d8a-4e82-940a-c1e6d2b25b2c} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bcfa223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd191e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18f15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18ba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd189b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd16a9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd0832f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd079dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd079a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:32:06.257062 [ 2750 ] {c218d1ce-0c77-4092-9292-481121cd2d9c} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50714) (comment: 02125_fix_storage_filelog.sql) (in query: CREATE TABLE log (A String) ENGINE= FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bcfa223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd191e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18f15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18ba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd189b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd16a9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd0832f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd079dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd079a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:32:06.259087 [ 2750 ] {c218d1ce-0c77-4092-9292-481121cd2d9c} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bcfa223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd191e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18f15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18ba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd189b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd16a9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd0832f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd079dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd079a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:32:06.265309 [ 2750 ] {02a8c7ed-fa6f-43ea-a9e8-d7821633a91b} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50714) (comment: 02125_fix_storage_filelog.sql) (in query: CREATE TABLE log (A String) ENGINE= FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bcfa223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd191e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18f15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18ba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd189b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd16a9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd0832f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd079dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd079a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:32:06.266616 [ 2750 ] {02a8c7ed-fa6f-43ea-a9e8-d7821633a91b} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bcfa223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd191e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18f15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18ba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd189b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd16a9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd0832f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd079dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd079a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:32:07.175605 [ 6021 ] {c63ae4b3-db09-45ad-8015-58cbb775d8a0} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50728) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:07.176406 [ 6021 ] {c63ae4b3-db09-45ad-8015-58cbb775d8a0} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:07.536097 [ 6021 ] {d9c773f1-559a-4c74-a11b-de1bbde5cca1} executeQuery: Code: 44. DB::Exception: Illegal column Decimal32 of elements of array of third argument of function transform, must be UInt8: While processing transform(1, [1], [toDecimal32(1, 2)]). (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50742) (comment: 02125_transform_decimal_bug.sql) (in query: SELECT transform(1, [1], [toDecimal32(1, 2)]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Functions/transform.cpp:223: bool DB::(anonymous namespace)::FunctionTransform::executeNum(DB::IColumn const*, DB::IColumn*, DB::IColumn const*) const @ 0x20f27630 in /usr/bin/clickhouse 7. /build/src/Functions/transform.cpp:180: DB::(anonymous namespace)::FunctionTransform::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f22945 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:32:07.537326 [ 6021 ] {d9c773f1-559a-4c74-a11b-de1bbde5cca1} TCPHandler: Code: 44. DB::Exception: Illegal column Decimal32 of elements of array of third argument of function transform, must be UInt8: While processing transform(1, [1], [toDecimal32(1, 2)]). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Functions/transform.cpp:223: bool DB::(anonymous namespace)::FunctionTransform::executeNum(DB::IColumn const*, DB::IColumn*, DB::IColumn const*) const @ 0x20f27630 in /usr/bin/clickhouse 7. /build/src/Functions/transform.cpp:180: DB::(anonymous namespace)::FunctionTransform::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f22945 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:32:09.743182 [ 6021 ] {9bf2b4a1-2220-4771-a013-79ca68acac0d} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50804) (comment: 02126_fix_filelog.sh) (in query: create table file_log(k UInt8, v UInt8) engine=FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bcfa223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd191e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18f15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18ba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd189b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd16a9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd0832f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd079dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd079a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:32:09.746124 [ 6021 ] {9bf2b4a1-2220-4771-a013-79ca68acac0d} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bcfa223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd191e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18f15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18ba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd189b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd16a9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd0832f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd079dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd079a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:32:11.032519 [ 6021 ] {292b4058-e368-4f1f-afa6-535aff367d8d} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50824) (comment: 02126_fix_filelog.sh) (in query: create table file_log(k UInt8, v UInt8) engine=FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bcfa223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd191e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18f15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18ba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd189b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd16a9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd0832f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd079dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd079a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:32:11.035316 [ 6021 ] {292b4058-e368-4f1f-afa6-535aff367d8d} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bcfa223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd191e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18f15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18ba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd189b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd16a9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd0832f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd079dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd079a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:32:11.652194 [ 6095 ] {3498ccaa-b00c-4b7c-941b-ecbf04f54c20} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:11.653740 [ 6095 ] {3498ccaa-b00c-4b7c-941b-ecbf04f54c20} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:12.360842 [ 8947 ] {18034b32-b4b6-4ae2-90de-f5f37eea7b65} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50938) (comment: 02126_fix_filelog.sh) (in query: create table file_log(k UInt8, v UInt8) engine=FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bcfa223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd191e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18f15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18ba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd189b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd16a9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd0832f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd079dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd079a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:32:12.364809 [ 8947 ] {18034b32-b4b6-4ae2-90de-f5f37eea7b65} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bcfa223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd191e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18f15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd18ba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd189b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd16a9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd0832f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd07a1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd079dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd079a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:32:12.419204 [ 6095 ] {c1cea090-23cf-48ac-b79e-f14c8c73cb75} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:12.420260 [ 6095 ] {c1cea090-23cf-48ac-b79e-f14c8c73cb75} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:12.473929 [ 6095 ] {f19020fa-7a64-486d-bfce-47604bc09e34} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:12.475084 [ 6095 ] {f19020fa-7a64-486d-bfce-47604bc09e34} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:12.546132 [ 6095 ] {f06c12bb-0503-42b1-9180-cb99628b78d3} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:12.549859 [ 6095 ] {f06c12bb-0503-42b1-9180-cb99628b78d3} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:13.170884 [ 6095 ] {8b9daab4-e4c1-4857-b109-cd4d5806a2c5} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:13.172271 [ 6095 ] {8b9daab4-e4c1-4857-b109-cd4d5806a2c5} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:13.759475 [ 6095 ] {f00dac12-770f-4e2d-847a-1469ada32196} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:13.760624 [ 6095 ] {f00dac12-770f-4e2d-847a-1469ada32196} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:13.813840 [ 6095 ] {a05897e1-a181-490c-b30a-225be0813c8f} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:13.815704 [ 6095 ] {a05897e1-a181-490c-b30a-225be0813c8f} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:13.872053 [ 6095 ] {04e642d9-4db4-40dd-8196-bdfb4dd8c989} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:13.873100 [ 6095 ] {04e642d9-4db4-40dd-8196-bdfb4dd8c989} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:14.466398 [ 6095 ] {25c9bcdb-100b-4aa5-9ef9-2cec35cadec6} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:14.467747 [ 6095 ] {25c9bcdb-100b-4aa5-9ef9-2cec35cadec6} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:15.126784 [ 6095 ] {a92d9c2b-3bdb-4230-8abe-9d50a4755b4a} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:15.128067 [ 6095 ] {a92d9c2b-3bdb-4230-8abe-9d50a4755b4a} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:15.184533 [ 6095 ] {8e620a78-fc3f-48da-bf04-fbf920fca25d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:15.185654 [ 6095 ] {8e620a78-fc3f-48da-bf04-fbf920fca25d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:15.238577 [ 6095 ] {ef6405c1-eb03-489c-85d2-7ce115038c77} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:15.239769 [ 6095 ] {ef6405c1-eb03-489c-85d2-7ce115038c77} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:15.875605 [ 6095 ] {37a3fe9a-822c-4c9f-ad07-7012c63b6de1} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:15.876734 [ 6095 ] {37a3fe9a-822c-4c9f-ad07-7012c63b6de1} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:16.506991 [ 6095 ] {20b55d8d-4b8f-4200-a14e-b3ff2d1cb6c1} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:16.508224 [ 6095 ] {20b55d8d-4b8f-4200-a14e-b3ff2d1cb6c1} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:16.560589 [ 6095 ] {57faf222-fb48-4487-ae4c-9fc691fe347c} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:16.561913 [ 6095 ] {57faf222-fb48-4487-ae4c-9fc691fe347c} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:16.611656 [ 6095 ] {a2b0be1a-56b9-4c26-b519-4e0df64a8965} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:16.612752 [ 6095 ] {a2b0be1a-56b9-4c26-b519-4e0df64a8965} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:17.210743 [ 6095 ] {ed39802e-bcc2-4d4b-9390-e0ad1aeeec95} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:17.212778 [ 6095 ] {ed39802e-bcc2-4d4b-9390-e0ad1aeeec95} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:17.897012 [ 6095 ] {6e5c2472-a397-4dee-a5e8-49bc3cf03571} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:17.898464 [ 6095 ] {6e5c2472-a397-4dee-a5e8-49bc3cf03571} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:18.049641 [ 6095 ] {94288f12-4dad-4283-a340-815bb7b7b50e} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:18.050804 [ 6095 ] {94288f12-4dad-4283-a340-815bb7b7b50e} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:18.104383 [ 6095 ] {a54ed2d6-5ea3-40f4-8e12-bbcf688d7869} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:18.105476 [ 6095 ] {a54ed2d6-5ea3-40f4-8e12-bbcf688d7869} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:18.726337 [ 6095 ] {99f11971-15bb-4aee-82a2-8689aa692a63} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:18.727610 [ 6095 ] {99f11971-15bb-4aee-82a2-8689aa692a63} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:19.389686 [ 6095 ] {a9368122-010f-4725-aec1-6e22597c6598} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:19.391082 [ 6095 ] {a9368122-010f-4725-aec1-6e22597c6598} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:19.445652 [ 6095 ] {2926ac47-c4cf-4eb2-9f64-a5bccb5ad0c6} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:19.449369 [ 6095 ] {2926ac47-c4cf-4eb2-9f64-a5bccb5ad0c6} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:19.509380 [ 6095 ] {8e8ce8ee-cd29-4c6b-acfd-0864a92f19ee} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:19.510626 [ 6095 ] {8e8ce8ee-cd29-4c6b-acfd-0864a92f19ee} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:20.206178 [ 6095 ] {85d8ce33-b086-42b1-9898-1367079ed6e7} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:20.207801 [ 6095 ] {85d8ce33-b086-42b1-9898-1367079ed6e7} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:21.119974 [ 6095 ] {fb982d47-77bb-4f6f-8073-d8d97fc9c118} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:21.121433 [ 6095 ] {fb982d47-77bb-4f6f-8073-d8d97fc9c118} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:21.214926 [ 6095 ] {876a02bf-8491-4c31-9b3f-5b9a56d1f5f7} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:21.224213 [ 6095 ] {876a02bf-8491-4c31-9b3f-5b9a56d1f5f7} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:21.297022 [ 6095 ] {fc2e3984-ffb4-4cc5-8039-870db192110c} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:21.301416 [ 6095 ] {fc2e3984-ffb4-4cc5-8039-870db192110c} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:21.964775 [ 6095 ] {2498797c-4f9c-47e2-a9bf-b1004d7f62c7} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:21.965981 [ 6095 ] {2498797c-4f9c-47e2-a9bf-b1004d7f62c7} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:22.528778 [ 6095 ] {43031712-620c-4b44-9be2-c880a948d65d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:22.529867 [ 6095 ] {43031712-620c-4b44-9be2-c880a948d65d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:22.580362 [ 6095 ] {699818c5-5fec-4cb8-b3a6-a221fb72baac} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:22.581534 [ 6095 ] {699818c5-5fec-4cb8-b3a6-a221fb72baac} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:22.625736 [ 6095 ] {ae21fe1b-9e8f-4664-b752-a57cee05049e} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:22.626890 [ 6095 ] {ae21fe1b-9e8f-4664-b752-a57cee05049e} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:23.180849 [ 6095 ] {a65d5884-b56a-4a7f-aacc-e09591e5f046} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:23.181928 [ 6095 ] {a65d5884-b56a-4a7f-aacc-e09591e5f046} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:23.718189 [ 6095 ] {a13610c6-8d79-4495-9384-1d5e137ef20d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:23.719331 [ 6095 ] {a13610c6-8d79-4495-9384-1d5e137ef20d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:23.766527 [ 6095 ] {9e08928d-e3f7-42ab-b125-2657cc66ce4e} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:23.767654 [ 6095 ] {9e08928d-e3f7-42ab-b125-2657cc66ce4e} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:23.815722 [ 6095 ] {12d4e291-95df-439c-8c7e-02319c66f01b} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:23.816810 [ 6095 ] {12d4e291-95df-439c-8c7e-02319c66f01b} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:24.338429 [ 6095 ] {3fd0066b-c7ae-49f4-b6db-c5f707e51fbe} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:24.339544 [ 6095 ] {3fd0066b-c7ae-49f4-b6db-c5f707e51fbe} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:24.825875 [ 6095 ] {8446f001-0a6f-4b95-b8eb-f2251b9124ac} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:24.827059 [ 6095 ] {8446f001-0a6f-4b95-b8eb-f2251b9124ac} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:24.874640 [ 6095 ] {a4da1c94-25c4-4105-a410-b51adeb62051} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:24.875932 [ 6095 ] {a4da1c94-25c4-4105-a410-b51adeb62051} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:24.918096 [ 6095 ] {693a3ee8-5d47-466a-b8e0-dffa5f566d7a} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:24.919141 [ 6095 ] {693a3ee8-5d47-466a-b8e0-dffa5f566d7a} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:25.499074 [ 6095 ] {3d7a7350-b6f9-4739-841d-6b8b4efdc126} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:25.500220 [ 6095 ] {3d7a7350-b6f9-4739-841d-6b8b4efdc126} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:26.027292 [ 6095 ] {4827f655-34cf-41a1-9b6a-2e80302756bf} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:26.028434 [ 6095 ] {4827f655-34cf-41a1-9b6a-2e80302756bf} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:26.074725 [ 6095 ] {196c7619-73d6-46ee-850d-1edde4b280de} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:26.075893 [ 6095 ] {196c7619-73d6-46ee-850d-1edde4b280de} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:26.118892 [ 6095 ] {e22297df-2eda-4f8a-b0bc-d6b7cbe620ae} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:26.120371 [ 6095 ] {e22297df-2eda-4f8a-b0bc-d6b7cbe620ae} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:26.671077 [ 6095 ] {7eb31110-a676-43fe-b4e0-e908479770ed} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:26.672334 [ 6095 ] {7eb31110-a676-43fe-b4e0-e908479770ed} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:27.267930 [ 6095 ] {8986fc97-0b80-42ab-9428-1d1fc72d2488} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:27.269033 [ 6095 ] {8986fc97-0b80-42ab-9428-1d1fc72d2488} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:27.313601 [ 6095 ] {ed7b944b-f15b-4a66-809f-cdaf19351aca} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:27.314827 [ 6095 ] {ed7b944b-f15b-4a66-809f-cdaf19351aca} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:27.360586 [ 6095 ] {9b87cdff-cc19-44a5-a451-6dc02626aaa9} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:27.361947 [ 6095 ] {9b87cdff-cc19-44a5-a451-6dc02626aaa9} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:27.885654 [ 6095 ] {956590d6-7acd-46aa-8e95-6d2f66a27d89} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:27.886750 [ 6095 ] {956590d6-7acd-46aa-8e95-6d2f66a27d89} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:28.418451 [ 6095 ] {1a1c488a-9d2b-4813-b53e-330586b2da4a} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:28.419700 [ 6095 ] {1a1c488a-9d2b-4813-b53e-330586b2da4a} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:28.477341 [ 6095 ] {087705e4-5474-49d5-95c7-68b281d0de75} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:28.478526 [ 6095 ] {087705e4-5474-49d5-95c7-68b281d0de75} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:28.518787 [ 6095 ] {06eb4c4d-c96c-490d-b969-41fafd1ac052} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:28.519907 [ 6095 ] {06eb4c4d-c96c-490d-b969-41fafd1ac052} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:29.030479 [ 6095 ] {9e75be91-d9a9-474a-8ebf-d8c8ddd737da} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:29.031525 [ 6095 ] {9e75be91-d9a9-474a-8ebf-d8c8ddd737da} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:29.551638 [ 6095 ] {2cce6835-51fb-484c-8fbe-60a7bf464135} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:29.552709 [ 6095 ] {2cce6835-51fb-484c-8fbe-60a7bf464135} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:29.601203 [ 6095 ] {057bd5ca-75dc-446d-8160-b06f89a012ba} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:29.602337 [ 6095 ] {057bd5ca-75dc-446d-8160-b06f89a012ba} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:29.647521 [ 6095 ] {f67dc24f-fec1-44d3-9a8a-c81f3a05ec61} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:29.648736 [ 6095 ] {f67dc24f-fec1-44d3-9a8a-c81f3a05ec61} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:30.240070 [ 6095 ] {eb397d72-41a3-402e-9d78-9ffd4a1f4a35} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:30.241117 [ 6095 ] {eb397d72-41a3-402e-9d78-9ffd4a1f4a35} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:30.791667 [ 6095 ] {084a7d9f-bb9c-47df-9714-9233e158e831} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:30.792764 [ 6095 ] {084a7d9f-bb9c-47df-9714-9233e158e831} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:30.840753 [ 6095 ] {97ead8a3-ca0f-4dfc-aa3f-065685ad7f8e} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:30.842380 [ 6095 ] {97ead8a3-ca0f-4dfc-aa3f-065685ad7f8e} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:30.883804 [ 6095 ] {6b90cb14-7d54-477b-a804-b57c155b8714} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:30.884832 [ 6095 ] {6b90cb14-7d54-477b-a804-b57c155b8714} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:31.391603 [ 6095 ] {779d43ba-9420-4ce4-8ea5-29a004749993} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:31.392682 [ 6095 ] {779d43ba-9420-4ce4-8ea5-29a004749993} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:32.035601 [ 6095 ] {1b496256-d34c-45c0-a4a9-8df42e5e56ab} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:32.036814 [ 6095 ] {1b496256-d34c-45c0-a4a9-8df42e5e56ab} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:32.100565 [ 6095 ] {95b48b76-ab94-47d6-b0d3-e7d55ab80f8b} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:32.101838 [ 6095 ] {95b48b76-ab94-47d6-b0d3-e7d55ab80f8b} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:32.144863 [ 6095 ] {95f54e2f-baa3-4344-b395-d4a669e5ec50} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:32.146152 [ 6095 ] {95f54e2f-baa3-4344-b395-d4a669e5ec50} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:32.682921 [ 6095 ] {a208d94f-1a85-4a94-8ca8-775090205f71} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:32.684286 [ 6095 ] {a208d94f-1a85-4a94-8ca8-775090205f71} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:33.175072 [ 6095 ] {fccaef15-c76b-4e84-a557-d09daa4dbce9} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:33.176454 [ 6095 ] {fccaef15-c76b-4e84-a557-d09daa4dbce9} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:33.222578 [ 6095 ] {bd877bd3-e301-43fa-bc80-349eddb26222} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:33.223803 [ 6095 ] {bd877bd3-e301-43fa-bc80-349eddb26222} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:33.270952 [ 6095 ] {7e60b527-91d5-4066-8054-b6dab3142d55} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:33.272177 [ 6095 ] {7e60b527-91d5-4066-8054-b6dab3142d55} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:33.742146 [ 6095 ] {eabbbbb8-c9d8-4bce-ba8b-222d8df1550d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:33.743274 [ 6095 ] {eabbbbb8-c9d8-4bce-ba8b-222d8df1550d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:34.217932 [ 6095 ] {28fd0f56-b892-47a2-bf72-aa16118d3c85} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:34.219065 [ 6095 ] {28fd0f56-b892-47a2-bf72-aa16118d3c85} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:34.262535 [ 6095 ] {f7db99ff-e9bc-49f4-ad32-e8b3319084e1} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:34.263677 [ 6095 ] {f7db99ff-e9bc-49f4-ad32-e8b3319084e1} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:34.302490 [ 6095 ] {4a91d86f-5649-4c45-93a6-2e4df1f455e1} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:34.303562 [ 6095 ] {4a91d86f-5649-4c45-93a6-2e4df1f455e1} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:34.788930 [ 6095 ] {c29368ad-cafd-45b3-a40f-0531a8568b8c} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:34.790384 [ 6095 ] {c29368ad-cafd-45b3-a40f-0531a8568b8c} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:35.285215 [ 6095 ] {0f350fb0-bdec-4124-a72c-ce8858cb4f8c} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:35.286429 [ 6095 ] {0f350fb0-bdec-4124-a72c-ce8858cb4f8c} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:35.331952 [ 6095 ] {34fc58bf-f3db-4e60-9af5-24c4d5bb1388} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:35.333036 [ 6095 ] {34fc58bf-f3db-4e60-9af5-24c4d5bb1388} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:35.378031 [ 6095 ] {3a6a68e0-b8a9-41d7-be1f-664b47701433} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:35.379470 [ 6095 ] {3a6a68e0-b8a9-41d7-be1f-664b47701433} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:35.875559 [ 6095 ] {c6be4404-e5dd-4342-971b-58e090186d9f} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:35.876924 [ 6095 ] {c6be4404-e5dd-4342-971b-58e090186d9f} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:36.362080 [ 6095 ] {e67ffb0e-e507-48cf-afb0-ac0df575abd2} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:36.363237 [ 6095 ] {e67ffb0e-e507-48cf-afb0-ac0df575abd2} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:36.407189 [ 6095 ] {fa0a7cd2-42bc-4a40-8bae-db2f30949052} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:36.408538 [ 6095 ] {fa0a7cd2-42bc-4a40-8bae-db2f30949052} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:36.446437 [ 6095 ] {48675018-935c-4969-b7fe-a25d2a8968e4} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:36.447744 [ 6095 ] {48675018-935c-4969-b7fe-a25d2a8968e4} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:37.057409 [ 6095 ] {875e13ef-2765-44ec-875d-397fe09e40d5} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:37.059533 [ 6095 ] {875e13ef-2765-44ec-875d-397fe09e40d5} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:37.584288 [ 6095 ] {c4b2ac73-347a-4659-9dd1-dca45dfa2d7d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:37.585376 [ 6095 ] {c4b2ac73-347a-4659-9dd1-dca45dfa2d7d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:37.626312 [ 6095 ] {586dcb25-6abe-4cf2-ac92-d74a64924679} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:37.627822 [ 6095 ] {586dcb25-6abe-4cf2-ac92-d74a64924679} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:37.670758 [ 6095 ] {99785843-72ef-4cde-aae1-4f50a0f0f398} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:37.671851 [ 6095 ] {99785843-72ef-4cde-aae1-4f50a0f0f398} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:38.182181 [ 6095 ] {03d487c5-2249-4367-b4cb-9aa1b939bab6} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:38.183396 [ 6095 ] {03d487c5-2249-4367-b4cb-9aa1b939bab6} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:38.656522 [ 6095 ] {290848d3-8e6c-4529-af93-d195311924f6} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:38.657756 [ 6095 ] {290848d3-8e6c-4529-af93-d195311924f6} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:38.699754 [ 6095 ] {52522b85-925c-476a-8e08-c2a00e657d12} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:38.700987 [ 6095 ] {52522b85-925c-476a-8e08-c2a00e657d12} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:38.738252 [ 6095 ] {6ad6a210-98bc-4901-b1ab-97ba2179e8df} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:38.739358 [ 6095 ] {6ad6a210-98bc-4901-b1ab-97ba2179e8df} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:39.247650 [ 6095 ] {acf71b54-c7c3-4b1b-b267-b8fe720081d2} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:39.248855 [ 6095 ] {acf71b54-c7c3-4b1b-b267-b8fe720081d2} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:39.791425 [ 6095 ] {2d3d9c9a-8936-498b-8cf3-7a1a349e915e} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:39.792864 [ 6095 ] {2d3d9c9a-8936-498b-8cf3-7a1a349e915e} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:39.838271 [ 6095 ] {efa4a922-65c7-457e-9d22-e68cafb649c2} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:39.839633 [ 6095 ] {efa4a922-65c7-457e-9d22-e68cafb649c2} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:39.880900 [ 6095 ] {def4f0b1-0faa-4858-b905-4fc0319d8384} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:39.882279 [ 6095 ] {def4f0b1-0faa-4858-b905-4fc0319d8384} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:40.395843 [ 6095 ] {063dacfb-52ea-4171-b641-7d644baa3e19} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:40.397108 [ 6095 ] {063dacfb-52ea-4171-b641-7d644baa3e19} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:40.884823 [ 6095 ] {8fc00704-8e3a-47b4-990d-e44ea160df71} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:40.886058 [ 6095 ] {8fc00704-8e3a-47b4-990d-e44ea160df71} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:40.930293 [ 6095 ] {b221e675-c44e-4ed7-8494-fd0f415e2787} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:40.931398 [ 6095 ] {b221e675-c44e-4ed7-8494-fd0f415e2787} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:40.974664 [ 6095 ] {0af43411-8bc4-4ad4-9b5d-de4b46d4045d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:40.976161 [ 6095 ] {0af43411-8bc4-4ad4-9b5d-de4b46d4045d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:41.515373 [ 6095 ] {173c05ce-11da-4bc1-b71a-db5bea7b691d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:41.516481 [ 6095 ] {173c05ce-11da-4bc1-b71a-db5bea7b691d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:42.018749 [ 6095 ] {c6dba294-60aa-4c5b-96ec-0f32e58bad9e} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:42.020380 [ 6095 ] {c6dba294-60aa-4c5b-96ec-0f32e58bad9e} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:42.061329 [ 6095 ] {1312948a-e249-46c5-90cb-7eb5f8ac275f} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:42.062640 [ 6095 ] {1312948a-e249-46c5-90cb-7eb5f8ac275f} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:42.097862 [ 6095 ] {5c91a2a1-644d-4cce-b1da-5ceb1c865cc1} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:42.098973 [ 6095 ] {5c91a2a1-644d-4cce-b1da-5ceb1c865cc1} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:42.623596 [ 6095 ] {f5f6d511-e5e1-4a86-aa30-28aa9ec7ed88} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:42.624791 [ 6095 ] {f5f6d511-e5e1-4a86-aa30-28aa9ec7ed88} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:43.094474 [ 6095 ] {c2094dde-fa38-4a0e-b319-2b769bb286e6} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:43.095618 [ 6095 ] {c2094dde-fa38-4a0e-b319-2b769bb286e6} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:43.133283 [ 6095 ] {e5e86992-dd11-46fa-bf82-1b0b1616c1a9} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:43.134482 [ 6095 ] {e5e86992-dd11-46fa-bf82-1b0b1616c1a9} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:43.175455 [ 6095 ] {b53d9389-f7e7-4454-a9b6-b1a2c2e3f812} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:43.176940 [ 6095 ] {b53d9389-f7e7-4454-a9b6-b1a2c2e3f812} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:43.667227 [ 6095 ] {58ac01da-32cd-4b97-96a6-a3526dd2c224} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:43.668351 [ 6095 ] {58ac01da-32cd-4b97-96a6-a3526dd2c224} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:44.186701 [ 6095 ] {59597c43-eca8-4ed6-a887-8ecbc13eda91} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:44.188496 [ 6095 ] {59597c43-eca8-4ed6-a887-8ecbc13eda91} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:44.234140 [ 6095 ] {bfbe0253-654a-4cb9-9c87-2c3140ccb3de} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:44.235828 [ 6095 ] {bfbe0253-654a-4cb9-9c87-2c3140ccb3de} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:44.280998 [ 6095 ] {876b89bc-28d3-451d-aad3-d2e8d9824a7c} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:44.282379 [ 6095 ] {876b89bc-28d3-451d-aad3-d2e8d9824a7c} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:44.804979 [ 6095 ] {eb5ca667-4aac-4002-aa57-88e2f44139f6} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:44.806826 [ 6095 ] {eb5ca667-4aac-4002-aa57-88e2f44139f6} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:45.285678 [ 6095 ] {9af0de8f-7fb2-4093-a442-234d23699499} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:45.286867 [ 6095 ] {9af0de8f-7fb2-4093-a442-234d23699499} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:45.322789 [ 6095 ] {742f05ce-4a8a-4d71-b74f-704ab13200e1} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:45.324120 [ 6095 ] {742f05ce-4a8a-4d71-b74f-704ab13200e1} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:45.358081 [ 6095 ] {383c171c-c4ae-4c09-b95a-7501a0cd4907} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:45.359175 [ 6095 ] {383c171c-c4ae-4c09-b95a-7501a0cd4907} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:45.832559 [ 6095 ] {fc2f7b12-81ec-4d7f-a5d5-4a6d029ab693} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:45.833652 [ 6095 ] {fc2f7b12-81ec-4d7f-a5d5-4a6d029ab693} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:46.290338 [ 6095 ] {33f060d5-3f26-44d9-a9d6-ef8312908171} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:46.291541 [ 6095 ] {33f060d5-3f26-44d9-a9d6-ef8312908171} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:46.329142 [ 6095 ] {ab04f265-6d78-4ca7-bcfd-6c013e1c3131} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:46.330495 [ 6095 ] {ab04f265-6d78-4ca7-bcfd-6c013e1c3131} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:46.366117 [ 6095 ] {c28a2bde-eb6b-4ae4-a2ad-17650baa4982} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:46.367206 [ 6095 ] {c28a2bde-eb6b-4ae4-a2ad-17650baa4982} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:46.823739 [ 6095 ] {a88800c3-fc3b-43a9-aae2-fcd4f90ee442} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:46.825057 [ 6095 ] {a88800c3-fc3b-43a9-aae2-fcd4f90ee442} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:47.278277 [ 6095 ] {598025ba-8868-4915-961e-af69a0146728} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:47.279431 [ 6095 ] {598025ba-8868-4915-961e-af69a0146728} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:47.327285 [ 6095 ] {7b4fd69d-335c-47d0-a0f1-13e1e5541533} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:47.328414 [ 6095 ] {7b4fd69d-335c-47d0-a0f1-13e1e5541533} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:47.363809 [ 6095 ] {54c4936b-a223-4ec3-8fd2-7a5d2d168071} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:47.365062 [ 6095 ] {54c4936b-a223-4ec3-8fd2-7a5d2d168071} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:47.847079 [ 6095 ] {23d80b86-b1a8-4e77-88ea-93fec4c216af} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:47.848237 [ 6095 ] {23d80b86-b1a8-4e77-88ea-93fec4c216af} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:48.315929 [ 6095 ] {71ee895e-5fc0-486f-830f-8b2df11ab9e3} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:48.317012 [ 6095 ] {71ee895e-5fc0-486f-830f-8b2df11ab9e3} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:48.353266 [ 6095 ] {fc3fde02-c5aa-4bd9-9f66-1f0d66469d38} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:48.354477 [ 6095 ] {fc3fde02-c5aa-4bd9-9f66-1f0d66469d38} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:48.388580 [ 6095 ] {ae637bec-0039-4305-abc3-6883d76f34d0} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:48.389682 [ 6095 ] {ae637bec-0039-4305-abc3-6883d76f34d0} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:48.850077 [ 6095 ] {5f662f5d-bbd4-4295-8c00-c2383a77a5d9} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:48.851170 [ 6095 ] {5f662f5d-bbd4-4295-8c00-c2383a77a5d9} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:49.318573 [ 6095 ] {d68f2e50-bcaa-4631-b54f-cfe70fa255e4} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:49.319937 [ 6095 ] {d68f2e50-bcaa-4631-b54f-cfe70fa255e4} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:49.362235 [ 6095 ] {53550909-e33c-44d4-a741-aecbf38a437a} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:49.363840 [ 6095 ] {53550909-e33c-44d4-a741-aecbf38a437a} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:49.399213 [ 6095 ] {f6ca7793-8647-492d-a7b3-6c034b594e1f} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:49.400235 [ 6095 ] {f6ca7793-8647-492d-a7b3-6c034b594e1f} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:49.888236 [ 6095 ] {ea0aa8d6-e20c-4e7e-b82e-c2b3d42bdc70} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:49.889851 [ 6095 ] {ea0aa8d6-e20c-4e7e-b82e-c2b3d42bdc70} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:50.404779 [ 6095 ] {079530ad-c702-45df-ba91-e7a6180cd172} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:50.406083 [ 6095 ] {079530ad-c702-45df-ba91-e7a6180cd172} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:50.443939 [ 6095 ] {8184fef4-e338-4f85-aeff-f991d485e418} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:50.445240 [ 6095 ] {8184fef4-e338-4f85-aeff-f991d485e418} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:50.484368 [ 6095 ] {ee606544-1b97-44c9-b7d5-600d1c532a70} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:50.485692 [ 6095 ] {ee606544-1b97-44c9-b7d5-600d1c532a70} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:50.973741 [ 6095 ] {304d6a9b-51d0-446f-ae12-fff1ca80f438} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:50.974834 [ 6095 ] {304d6a9b-51d0-446f-ae12-fff1ca80f438} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:51.439554 [ 6095 ] {45de2373-d884-49c0-843f-94902cc4d226} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:51.440801 [ 6095 ] {45de2373-d884-49c0-843f-94902cc4d226} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:51.477340 [ 6095 ] {a002e962-8451-43d1-ae9b-3adbb4ce5ec4} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:51.478503 [ 6095 ] {a002e962-8451-43d1-ae9b-3adbb4ce5ec4} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:51.511236 [ 6095 ] {21dcd28a-6448-437d-8e46-817e6d886f93} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:51.512332 [ 6095 ] {21dcd28a-6448-437d-8e46-817e6d886f93} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:51.983730 [ 6095 ] {54314d5e-36bf-4860-aed6-b8b758cac8cc} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:51.984991 [ 6095 ] {54314d5e-36bf-4860-aed6-b8b758cac8cc} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:52.461432 [ 6095 ] {e01963c4-94a3-4fd4-8352-dcbfc1cf0d34} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:52.462791 [ 6095 ] {e01963c4-94a3-4fd4-8352-dcbfc1cf0d34} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:52.495837 [ 6095 ] {4db9ec99-800a-4979-a8b6-fa776c0116ac} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:52.497175 [ 6095 ] {4db9ec99-800a-4979-a8b6-fa776c0116ac} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:52.530701 [ 6095 ] {2d11c67c-f3ee-42fa-b953-6e66dc0b52d3} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:52.531848 [ 6095 ] {2d11c67c-f3ee-42fa-b953-6e66dc0b52d3} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:52.977800 [ 6095 ] {1ca4aa91-9b26-47fd-b2ef-c82bd7e24ef5} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:52.978869 [ 6095 ] {1ca4aa91-9b26-47fd-b2ef-c82bd7e24ef5} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:53.414443 [ 6095 ] {fce7697a-cbf2-405e-b5df-99ffb2ce8d69} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:53.415668 [ 6095 ] {fce7697a-cbf2-405e-b5df-99ffb2ce8d69} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:53.451166 [ 6095 ] {5690fe4a-8bbe-4663-b5db-39451900a8f2} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:53.452343 [ 6095 ] {5690fe4a-8bbe-4663-b5db-39451900a8f2} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:53.483494 [ 6095 ] {082c241e-77e4-4788-8aac-a925a25f3cf0} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:53.484775 [ 6095 ] {082c241e-77e4-4788-8aac-a925a25f3cf0} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:53.945768 [ 6095 ] {21ba9b2d-9f31-4315-a8bd-b10c2928659d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:53.946884 [ 6095 ] {21ba9b2d-9f31-4315-a8bd-b10c2928659d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:54.428106 [ 6095 ] {4d1ca0a7-7128-4495-89d1-3230b423dbf9} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:54.429161 [ 6095 ] {4d1ca0a7-7128-4495-89d1-3230b423dbf9} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:54.460775 [ 6095 ] {268fb381-46dd-427b-9f04-f2edecae705c} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:54.461893 [ 6095 ] {268fb381-46dd-427b-9f04-f2edecae705c} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:54.491240 [ 6095 ] {89ad3f5b-cfa5-429e-bd10-fd7b9aad462f} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:54.492428 [ 6095 ] {89ad3f5b-cfa5-429e-bd10-fd7b9aad462f} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:54.930935 [ 6095 ] {6d4bf9d6-4bf5-499d-8696-abf9842abc94} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:54.932087 [ 6095 ] {6d4bf9d6-4bf5-499d-8696-abf9842abc94} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:55.414791 [ 6095 ] {0a17b036-cdbd-4f66-a034-4c9f2a527a85} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:55.416059 [ 6095 ] {0a17b036-cdbd-4f66-a034-4c9f2a527a85} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:55.448025 [ 6095 ] {71a14582-d2ba-4d28-87be-d0226f6a1f0b} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:55.449197 [ 6095 ] {71a14582-d2ba-4d28-87be-d0226f6a1f0b} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:55.477690 [ 6095 ] {9c360509-6a65-4b8f-adc7-573def8a73ff} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:55.478751 [ 6095 ] {9c360509-6a65-4b8f-adc7-573def8a73ff} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:55.924757 [ 6095 ] {e6f56975-786d-40c6-bff7-ffeb7b9d4907} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:55.925898 [ 6095 ] {e6f56975-786d-40c6-bff7-ffeb7b9d4907} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:56.353947 [ 6095 ] {1d190012-dc0f-4253-b95a-1bcb2a3198f2} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:56.355284 [ 6095 ] {1d190012-dc0f-4253-b95a-1bcb2a3198f2} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:56.385214 [ 6095 ] {dbb04370-459f-4317-b159-4826d8f88dff} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:56.386543 [ 6095 ] {dbb04370-459f-4317-b159-4826d8f88dff} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:56.415341 [ 6095 ] {e6e6d9a0-2567-4a69-9e4b-38af3e59bc08} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:56.416434 [ 6095 ] {e6e6d9a0-2567-4a69-9e4b-38af3e59bc08} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:56.831792 [ 6095 ] {28bec096-8b2e-4e37-a282-073ac0cc3140} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:56.833276 [ 6095 ] {28bec096-8b2e-4e37-a282-073ac0cc3140} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:57.264710 [ 6095 ] {c323e665-5524-410d-af5a-2d14a5d9ba89} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:57.265869 [ 6095 ] {c323e665-5524-410d-af5a-2d14a5d9ba89} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:57.297773 [ 6095 ] {8030a67f-a694-4da2-96c1-83770a75bbb2} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:57.298982 [ 6095 ] {8030a67f-a694-4da2-96c1-83770a75bbb2} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:57.325908 [ 6095 ] {e9483c18-d3c1-4c53-8f84-43c649c2f885} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:57.326974 [ 6095 ] {e9483c18-d3c1-4c53-8f84-43c649c2f885} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:58.793570 [ 8244 ] {1a67774a-26ed-49fc-bb08-b6160d8fcb57} executeQuery: Code: 43. DB::Exception: Illegal type String of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42814) (comment: 02119_sumcount.sql) (in query: -- Other types SELECT toTypeName(sumCount(v)), sumCount(v) FROM (SELECT 'a'::String AS v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:34: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2447fab4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:32:58.795100 [ 8244 ] {1a67774a-26ed-49fc-bb08-b6160d8fcb57} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:34: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2447fab4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:32:58.808120 [ 8244 ] {69033fdc-2cb7-473b-b9c8-cf055f917c1f} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42814) (comment: 02119_sumcount.sql) (in query: SELECT toTypeName(sumCount(v)), sumCount(v) FROM (SELECT now()::DateTime AS v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:34: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2447fab4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:32:58.809810 [ 8244 ] {69033fdc-2cb7-473b-b9c8-cf055f917c1f} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:34: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2447fab4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:32:58.929959 [ 8927 ] {967b434a-b0b2-4011-a144-2cc5003b18f9} executeQuery: Code: 43. DB::Exception: First argument for function tupleElement must be tuple or array of tuple. Actual UInt64: While processing number.1. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42868) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(number, 1) FROM numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:84: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x21130aa0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:32:58.931085 [ 8927 ] {967b434a-b0b2-4011-a144-2cc5003b18f9} TCPHandler: Code: 43. DB::Exception: First argument for function tupleElement must be tuple or array of tuple. Actual UInt64: While processing number.1. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:84: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x21130aa0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:32:59.052325 [ 8927 ] {24cf6f1e-d230-485a-8a82-dc9de9370781} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 1, should be 2 or 3: While processing tupleElement(t1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42868) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x1a317e4c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:70: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x211308d1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:32:59.053662 [ 8927 ] {24cf6f1e-d230-485a-8a82-dc9de9370781} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 1, should be 2 or 3: While processing tupleElement(t1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x1a317e4c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:70: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x211308d1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:32:59.061742 [ 8927 ] {01cdb6e6-8634-4cb9-914e-29d946e655b3} executeQuery: Code: 47. DB::Exception: Missing columns: 't1.b' while processing query: 'SELECT `t1.b` FROM t_tuple_element', required columns: 't1.b'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42868) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1, 'b') FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:59.064000 [ 8927 ] {01cdb6e6-8634-4cb9-914e-29d946e655b3} TCPHandler: Code: 47. DB::Exception: Missing columns: 't1.b' while processing query: 'SELECT `t1.b` FROM t_tuple_element', required columns: 't1.b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:59.244241 [ 8927 ] {a8a7a3f2-a752-4963-b32e-30423ca9ae5c} executeQuery: Code: 127. DB::Exception: Index of tuple element (0) if out range ([1, 2]): While processing t1.0. (ILLEGAL_INDEX) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42868) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1, 0) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19b62cac in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x29a19f51 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b2945f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x2b251c61 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b251a60 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251ce1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b251d86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251cee in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b251d86 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251cee in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b2518c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:695: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x2b24c164 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:763: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x2b24b910 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2302da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:32:59.245725 [ 8927 ] {a8a7a3f2-a752-4963-b32e-30423ca9ae5c} TCPHandler: Code: 127. DB::Exception: Index of tuple element (0) if out range ([1, 2]): While processing t1.0. (ILLEGAL_INDEX), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19b62cac in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x29a19f51 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b2945f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x2b251c61 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b251a60 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251ce1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b251d86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251cee in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b251d86 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251cee in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b2518c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:695: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x2b24c164 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:763: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x2b24b910 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2302da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:32:59.253502 [ 8927 ] {0052b761-1b85-40ae-8c14-40f67f5ade39} executeQuery: Code: 127. DB::Exception: Index of tuple element (3) if out range ([1, 2]): While processing t1.3. (ILLEGAL_INDEX) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42868) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1, 3) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19b62cac in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x29a19f51 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b2945f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x2b251c61 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b251a60 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251ce1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b251d86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251cee in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b251d86 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251cee in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b2518c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:695: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x2b24c164 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:763: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x2b24b910 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2302da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:32:59.254910 [ 8927 ] {0052b761-1b85-40ae-8c14-40f67f5ade39} TCPHandler: Code: 127. DB::Exception: Index of tuple element (3) if out range ([1, 2]): While processing t1.3. (ILLEGAL_INDEX), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19b62cac in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x29a19f51 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b2945f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x2b251c61 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b251a60 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251ce1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b251d86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251cee in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b251d86 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251cee in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b2518c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:695: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x2b24c164 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:763: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x2b24b910 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2302da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:32:59.374307 [ 8927 ] {75dbe9db-110d-49b1-a1c6-40c012ea6299} executeQuery: Code: 43. DB::Exception: Second argument to tupleElement must be a constant UInt or String: While processing tupleElement(t1, materialize('a')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42868) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1, materialize('a')) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:264: DB::(anonymous namespace)::FunctionTupleElement::getElementNum(COW::immutable_ptr const&, DB::DataTypeTuple const&, unsigned long) const @ 0x211312a9 in /usr/bin/clickhouse 7. /build/src/Functions/tupleElement.cpp:89: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x21130b5e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:32:59.375493 [ 8927 ] {75dbe9db-110d-49b1-a1c6-40c012ea6299} TCPHandler: Code: 43. DB::Exception: Second argument to tupleElement must be a constant UInt or String: While processing tupleElement(t1, materialize('a')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:264: DB::(anonymous namespace)::FunctionTupleElement::getElementNum(COW::immutable_ptr const&, DB::DataTypeTuple const&, unsigned long) const @ 0x211312a9 in /usr/bin/clickhouse 7. /build/src/Functions/tupleElement.cpp:89: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x21130b5e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:32:59.424243 [ 8927 ] {09975a3f-aa92-4946-a254-2d6f3fe2b479} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 1, should be 2 or 3: While processing tupleElement(t2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42868) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x1a317e4c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:70: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x211308d1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:32:59.425300 [ 8927 ] {09975a3f-aa92-4946-a254-2d6f3fe2b479} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 1, should be 2 or 3: While processing tupleElement(t2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x1a317e4c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:70: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x211308d1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:32:59.431671 [ 8927 ] {848101c8-a5eb-4f16-8fcd-af22f342cf78} executeQuery: Code: 47. DB::Exception: Missing columns: 't2.a' while processing query: 'SELECT `t2.a` FROM t_tuple_element', required columns: 't2.a'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42868) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2, 'a') FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:59.432612 [ 8927 ] {848101c8-a5eb-4f16-8fcd-af22f342cf78} TCPHandler: Code: 47. DB::Exception: Missing columns: 't2.a' while processing query: 'SELECT `t2.a` FROM t_tuple_element', required columns: 't2.a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:32:59.438617 [ 8927 ] {a5b03ac8-e5a1-49f7-885d-fc9cd8f216cb} executeQuery: Code: 127. DB::Exception: Index of tuple element (0) if out range ([1, 2]): While processing t2.0. (ILLEGAL_INDEX) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42868) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2, 0) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19b62cac in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x29a19f51 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b2945f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x2b251c61 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b251a60 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251ce1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b251d86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251cee in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b251d86 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251cee in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b2518c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:695: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x2b24c164 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:763: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x2b24b910 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2302da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:32:59.439903 [ 8927 ] {a5b03ac8-e5a1-49f7-885d-fc9cd8f216cb} TCPHandler: Code: 127. DB::Exception: Index of tuple element (0) if out range ([1, 2]): While processing t2.0. (ILLEGAL_INDEX), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19b62cac in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x29a19f51 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b2945f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x2b251c61 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b251a60 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251ce1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b251d86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251cee in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b251d86 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251cee in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b2518c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:695: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x2b24c164 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:763: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x2b24b910 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2302da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:32:59.446078 [ 8927 ] {20810669-50c3-416f-a642-46d313fa67c9} executeQuery: Code: 127. DB::Exception: Index of tuple element (3) if out range ([1, 2]): While processing t2.3. (ILLEGAL_INDEX) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42868) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2, 3) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19b62cac in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x29a19f51 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b2945f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x2b251c61 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b251a60 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251ce1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b251d86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251cee in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b251d86 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251cee in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b2518c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:695: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x2b24c164 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:763: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x2b24b910 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2302da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:32:59.447415 [ 8927 ] {20810669-50c3-416f-a642-46d313fa67c9} TCPHandler: Code: 127. DB::Exception: Index of tuple element (3) if out range ([1, 2]): While processing t2.3. (ILLEGAL_INDEX), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19b62cac in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x29a19f51 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b2945f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x2b251c61 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b251a60 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251ce1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b251d86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251cee in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b251d86 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b251cee in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2519ea in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b2518c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:695: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x2b24c164 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:763: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x2b24b910 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2302da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:32:59.454843 [ 8927 ] {dee0eba0-497c-46fb-bbbd-c9e37a95b8f3} executeQuery: Code: 43. DB::Exception: Second argument to tupleElement must be a constant UInt or String: While processing tupleElement(t2, materialize(1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42868) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2, materialize(1)) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:264: DB::(anonymous namespace)::FunctionTupleElement::getElementNum(COW::immutable_ptr const&, DB::DataTypeTuple const&, unsigned long) const @ 0x211312a9 in /usr/bin/clickhouse 7. /build/src/Functions/tupleElement.cpp:89: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x21130b5e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:32:59.455795 [ 8927 ] {dee0eba0-497c-46fb-bbbd-c9e37a95b8f3} TCPHandler: Code: 43. DB::Exception: Second argument to tupleElement must be a constant UInt or String: While processing tupleElement(t2, materialize(1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:264: DB::(anonymous namespace)::FunctionTupleElement::getElementNum(COW::immutable_ptr const&, DB::DataTypeTuple const&, unsigned long) const @ 0x211312a9 in /usr/bin/clickhouse 7. /build/src/Functions/tupleElement.cpp:89: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x21130b5e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:33:01.857112 [ 8933 ] {66c6e712-b013-42dc-9e01-c8bf0acd5f39} executeQuery: Code: 60. DB::Exception: Table default.id doesn't exist: While processing 1 IN (id). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42936) (comment: 02111_global_context_temporary_tables.sql) (in query: -- { echo } SELECT * FROM remote('127.1', system.one, 1 IN id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x2b380aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x2b380116 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1428: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a07b15d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a075cdf in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a041ed8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a042243 in /usr/bin/clickhouse 20. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b89b1b3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b899c48 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9b66e in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9b451 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9b328 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9b15a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c95d16 in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionRemote.cpp:298: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c92c05 in /usr/bin/clickhouse 28. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 29. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 30. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 2024.03.27 21:33:01.858707 [ 8933 ] {66c6e712-b013-42dc-9e01-c8bf0acd5f39} TCPHandler: Code: 60. DB::Exception: Table default.id doesn't exist: While processing 1 IN (id). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x2b380aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x2b380116 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1428: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a07b15d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a075cdf in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a041ed8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a042243 in /usr/bin/clickhouse 20. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b89b1b3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b899c48 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9b66e in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9b451 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9b328 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9b15a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c95d16 in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionRemote.cpp:298: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c92c05 in /usr/bin/clickhouse 28. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 29. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 30. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 2024.03.27 21:33:01.868329 [ 8933 ] {afde502d-0a76-4c86-b3f0-fa8973a0d78f} executeQuery: Code: 60. DB::Exception: Table default.dummy doesn't exist: While processing 1 IN (dummy). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42936) (comment: 02111_global_context_temporary_tables.sql) (in query: SELECT * FROM remote('127.1', system.one, 1 IN dummy);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x2b380aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x2b380116 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1428: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a07b15d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a075cdf in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a041ed8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a042243 in /usr/bin/clickhouse 20. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b89b1b3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b899c48 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9b66e in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9b451 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9b328 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9b15a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c95d16 in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionRemote.cpp:298: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c92c05 in /usr/bin/clickhouse 28. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 29. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 30. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 2024.03.27 21:33:01.869707 [ 8933 ] {afde502d-0a76-4c86-b3f0-fa8973a0d78f} TCPHandler: Code: 60. DB::Exception: Table default.dummy doesn't exist: While processing 1 IN (dummy). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x2b380aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x2b380116 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1428: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a07b15d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a075cdf in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a041ed8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a042243 in /usr/bin/clickhouse 20. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b89b1b3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b899c48 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9b66e in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9b451 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9b328 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9b15a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c95d16 in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionRemote.cpp:298: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c92c05 in /usr/bin/clickhouse 28. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 29. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 30. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 2024.03.27 21:33:02.002169 [ 8933 ] {92e8d095-1028-490a-9404-ba30197b2b38} executeQuery: Code: 60. DB::Exception: Table default.id doesn't exist: While processing 1 IN (id). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42936) (comment: 02111_global_context_temporary_tables.sql) (in query: SELECT * FROM remote('127.1', view(SELECT * FROM system.one), 1 IN id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x2b380aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x2b380116 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1428: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a07b15d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a075cdf in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a041ed8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a042243 in /usr/bin/clickhouse 20. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b89b1b3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b899c48 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:395: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x2b89bf7d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9ad70 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9aa02 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9a654 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9a41f in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c95b08 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionRemote.cpp:285: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c929e7 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 2024.03.27 21:33:02.003755 [ 8933 ] {92e8d095-1028-490a-9404-ba30197b2b38} TCPHandler: Code: 60. DB::Exception: Table default.id doesn't exist: While processing 1 IN (id). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x2b380aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x2b380116 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1428: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a07b15d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a075cdf in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a041ed8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a042243 in /usr/bin/clickhouse 20. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b89b1b3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b899c48 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:395: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x2b89bf7d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9ad70 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9aa02 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9a654 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9a41f in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c95b08 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionRemote.cpp:285: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c929e7 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 2024.03.27 21:33:02.014854 [ 8933 ] {c1efb77d-cedb-467f-a5ad-88668e2c5d72} executeQuery: Code: 60. DB::Exception: Table default.id doesn't exist: While processing 1 IN (id). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42936) (comment: 02111_global_context_temporary_tables.sql) (in query: SELECT * FROM remote('127.1', view(SELECT number AS id FROM numbers(2)), 1 IN id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x2b380aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x2b380116 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1428: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a07b15d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a075cdf in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a041ed8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a042243 in /usr/bin/clickhouse 20. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b89b1b3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b899c48 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:395: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x2b89bf7d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9ad70 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9aa02 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9a654 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9a41f in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c95b08 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionRemote.cpp:285: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c929e7 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 2024.03.27 21:33:02.016208 [ 8933 ] {c1efb77d-cedb-467f-a5ad-88668e2c5d72} TCPHandler: Code: 60. DB::Exception: Table default.id doesn't exist: While processing 1 IN (id). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x2b380aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x2b380116 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1428: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a07b15d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a075cdf in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a041ed8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a042243 in /usr/bin/clickhouse 20. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b89b1b3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b899c48 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:395: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x2b89bf7d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9ad70 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9aa02 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9a654 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9a41f in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c95b08 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionRemote.cpp:285: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c929e7 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 2024.03.27 21:33:04.992811 [ 8947 ] {9fe03b6c-a141-4e26-ae16-b92272db61f0} executeQuery: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42962) (comment: 02097_remove_sample_by.sql) (in query: ALTER TABLE t_remove_sample_by REMOVE SAMPLE BY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [44]) @ 0x1977455e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1300: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b80ada4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:04.993708 [ 8947 ] {9fe03b6c-a141-4e26-ae16-b92272db61f0} TCPHandler: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [44]) @ 0x1977455e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1300: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b80ada4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:05.100120 [ 8947 ] {8b22c0c5-87e1-4047-bae8-73cfa228291c} executeQuery: Code: 141. DB::Exception: Illegal SAMPLE: table doesn't support sampling. (SAMPLING_NOT_SUPPORTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42962) (comment: 02097_remove_sample_by.sql) (in query: SELECT * FROM t_remove_sample_by SAMPLE 1 / 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x1973971e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:669: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad938d9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:05.101235 [ 8947 ] {8b22c0c5-87e1-4047-bae8-73cfa228291c} TCPHandler: Code: 141. DB::Exception: Illegal SAMPLE: table doesn't support sampling. (SAMPLING_NOT_SUPPORTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x1973971e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:669: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad938d9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:05.393827 [ 8947 ] {bfbac1a5-5e9c-4770-baa2-4509c17ebaa4} executeQuery: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42962) (comment: 02097_remove_sample_by.sql) (in query: ALTER TABLE t_remove_sample_by REMOVE SAMPLE BY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [44]) @ 0x1977455e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1300: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b80ada4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:05.394976 [ 8947 ] {bfbac1a5-5e9c-4770-baa2-4509c17ebaa4} TCPHandler: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [44]) @ 0x1977455e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1300: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b80ada4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:05.618480 [ 8947 ] {eba9db3e-2224-4ae8-9e4d-74f58c44d5ff} executeQuery: Code: 59. DB::Exception: Invalid sampling column type in storage parameters: String. Must be one unsigned integer type. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42962) (comment: 02097_remove_sample_by.sql) (in query: SELECT * FROM t_remove_sample_by SAMPLE 1 / 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:641: DB::MergeTreeDataSelectExecutor::getSampling(DB::SelectQueryInfo const&, DB::NamesAndTypesList, std::vector, std::allocator>> const&, DB::KeyCondition&, DB::MergeTreeData const&, std::shared_ptr const&, std::shared_ptr, bool, std::shared_ptr) @ 0x2c1f9d70 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1312: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf20330 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:05.619634 [ 8947 ] {eba9db3e-2224-4ae8-9e4d-74f58c44d5ff} TCPHandler: Code: 59. DB::Exception: Invalid sampling column type in storage parameters: String. Must be one unsigned integer type. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:641: DB::MergeTreeDataSelectExecutor::getSampling(DB::SelectQueryInfo const&, DB::NamesAndTypesList, std::vector, std::allocator>> const&, DB::KeyCondition&, DB::MergeTreeData const&, std::shared_ptr const&, std::shared_ptr, bool, std::shared_ptr) @ 0x2c1f9d70 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1312: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf20330 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:07.174552 [ 8947 ] {2b2e6548-6a7b-4f8c-bd50-632b369892c7} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35372) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_1_wide0 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29e98093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29e8c36f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf177ed in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf16664 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c20c499 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6cf9 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:07.175658 [ 8947 ] {2b2e6548-6a7b-4f8c-bd50-632b369892c7} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29e98093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29e8c36f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf177ed in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf16664 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c20c499 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6cf9 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:07.277483 [ 8947 ] {deaff2a4-7ac5-4e37-88a6-a28dd164d405} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35372) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_1_wide100000000 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29e98093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29e8c36f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf177ed in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf16664 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c20c499 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6cf9 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:07.278459 [ 8947 ] {deaff2a4-7ac5-4e37-88a6-a28dd164d405} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29e98093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29e8c36f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf177ed in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf16664 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c20c499 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6cf9 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:07.385334 [ 8947 ] {78d14d7e-2c8c-4978-968e-3a255165e1f8} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35372) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_10_wide0 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29e98093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29e8c36f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf177ed in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf16664 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c20c499 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6cf9 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:07.386407 [ 8947 ] {78d14d7e-2c8c-4978-968e-3a255165e1f8} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29e98093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29e8c36f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf177ed in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf16664 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c20c499 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6cf9 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:07.478028 [ 8947 ] {b0d1dd42-9389-46dd-8600-1f7d46a024db} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35372) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_10_wide100000000 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29e98093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29e8c36f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf177ed in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf16664 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c20c499 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6cf9 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:07.479106 [ 8947 ] {b0d1dd42-9389-46dd-8600-1f7d46a024db} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29e98093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29e8c36f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf177ed in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf16664 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c20c499 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6cf9 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:07.573818 [ 8947 ] {e3508a52-1356-4fd1-bcc1-9815bb822b7e} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35372) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_100_wide0 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29e98093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29e8c36f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf177ed in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf16664 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c20c499 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6cf9 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:07.574832 [ 8947 ] {e3508a52-1356-4fd1-bcc1-9815bb822b7e} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29e98093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29e8c36f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf177ed in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf16664 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c20c499 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6cf9 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:07.661155 [ 8947 ] {8fed8722-3603-4491-9a4e-2f67254263ea} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35372) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_100_wide100000000 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29e98093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29e8c36f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf177ed in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf16664 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c20c499 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6cf9 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:07.662160 [ 8947 ] {8fed8722-3603-4491-9a4e-2f67254263ea} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29e98093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29e8c36f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf177ed in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf16664 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c20c499 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6cf9 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:07.763181 [ 8947 ] {fc336f8e-061e-4e25-b3a4-88fffe7e5888} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35372) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_10000_wide0 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29e98093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29e8c36f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf177ed in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf16664 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c20c499 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6cf9 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:07.764240 [ 8947 ] {fc336f8e-061e-4e25-b3a4-88fffe7e5888} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29e98093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29e8c36f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf177ed in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf16664 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c20c499 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6cf9 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:07.870469 [ 8947 ] {2e07d1f2-518d-40d3-b738-3db0d4ed4317} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35372) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_10000_wide100000000 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29e98093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29e8c36f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf177ed in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf16664 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c20c499 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6cf9 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:07.871456 [ 8947 ] {2e07d1f2-518d-40d3-b738-3db0d4ed4317} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29e98093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29e8c36f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf177ed in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf16664 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c20c499 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6cf9 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:20.053024 [ 8925 ] {} HTTPServerRequest: Got an HTTP request with no content length and no chunked/multipart encoding, it may be impossible to distinguish graceful EOF from abnormal connection loss 2024.03.27 21:33:22.194597 [ 8925 ] {7d8dc528-4ade-4db2-8e3d-ebc593ad63ce} executeQuery: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44938) (comment: 02025_nested_func_for_if_combinator.sql) (in query: SELECT uniqCombinedIfMergeIf(n, last > 50) FILTER(WHERE last>50) FROM (SELECT uniqCombinedIfState(number, number % 2) AS n, max(number) AS last FROM numbers(10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b3ceb in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:22.195945 [ 8925 ] {7d8dc528-4ade-4db2-8e3d-ebc593ad63ce} TCPHandler: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b3ceb in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:22.437839 [ 8925 ] {14d7987e-456c-4eda-9211-3586f02983d0} executeQuery: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44938) (comment: 02025_nested_func_for_if_combinator.sql) (in query: SELECT uniqCombinedIfMergeIfIf(n, last > 5) FROM (SELECT uniqCombinedIfState(number, number % 2) AS n, max(number) AS last FROM numbers(10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b3ceb in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:22.439331 [ 8925 ] {14d7987e-456c-4eda-9211-3586f02983d0} TCPHandler: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b3ceb in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:22.460387 [ 8925 ] {6b03e3b7-3315-493e-9122-2747ddc78a79} executeQuery: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44938) (comment: 02025_nested_func_for_if_combinator.sql) (in query: SELECT uniqCombinedIfMergeIfIf(n, last > 5, 1) FROM (SELECT uniqCombinedIfState(number, number % 2) AS n, max(number) AS last FROM numbers(10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b3ceb in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:22.461741 [ 8925 ] {6b03e3b7-3315-493e-9122-2747ddc78a79} TCPHandler: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b3ceb in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:26.813264 [ 8244 ] {ec2eeb0a-518b-4fdb-8417-94910773c449} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46266) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:26.814276 [ 8244 ] {ec2eeb0a-518b-4fdb-8417-94910773c449} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:38.639199 [ 8929 ] {653ab6a2-e96b-4499-95f5-678d8de3ac86} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49788) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:38.640215 [ 8929 ] {653ab6a2-e96b-4499-95f5-678d8de3ac86} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:39.629280 [ 8929 ] {802ba3ed-0fa1-43f0-bf03-66e03d920dd5} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49846) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:39.630257 [ 8929 ] {802ba3ed-0fa1-43f0-bf03-66e03d920dd5} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:40.611332 [ 8929 ] {0570d9b9-9137-4c4c-9036-217cf0085040} executeQuery: Code: 33. DB::Exception: Last saved offsset for File a.txt is bigger than file size (311 > 0). (CANNOT_READ_ALL_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49874) (comment: 02025_storage_filelog_virtual_col.sh) (in query: select * from file_log order by k settings stream_like_engine_allow_direct_select=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity&>::type>, String const&, unsigned long&, std::fpos<__mbstate_t>&) @ 0x2bd0c388 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:429: DB::StorageFileLog::openFilesAndSetPos() @ 0x2bd0184e in /usr/bin/clickhouse 7. /build/src/Storages/FileLog/StorageFileLog.cpp:335: DB::StorageFileLog::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2bcfded1 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:40.613248 [ 8929 ] {0570d9b9-9137-4c4c-9036-217cf0085040} TCPHandler: Code: 33. DB::Exception: Last saved offsset for File a.txt is bigger than file size (311 > 0). (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity&>::type>, String const&, unsigned long&, std::fpos<__mbstate_t>&) @ 0x2bd0c388 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:429: DB::StorageFileLog::openFilesAndSetPos() @ 0x2bd0184e in /usr/bin/clickhouse 7. /build/src/Storages/FileLog/StorageFileLog.cpp:335: DB::StorageFileLog::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2bcfded1 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:55.193112 [ 8952 ] {aa9028da-e190-44f7-869d-432fbf062be0} executeQuery: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAll(y, [[123], -42]). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34920) (comment: 02013_bloom_filter_hasAll.sql) (in query: SELECT count() FROM bftest WHERE hasAll(y, [[123], -42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2019ac8c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29a7cfc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:267: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29a7ff68 in /usr/bin/clickhouse 8. /build/src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x29a40fd0 in /usr/bin/clickhouse 9. /build/src/Core/Field.h:642: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x29cef108 in /usr/bin/clickhouse 10. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x29ceed7d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1323: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07930b in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:740: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741e3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:745: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074286 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1796: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x2a04236d in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/KeyCondition.cpp:714: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c01a438 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:55: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x2c3ee94d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:645: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad931c3 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 2024.03.27 21:33:55.194685 [ 8952 ] {aa9028da-e190-44f7-869d-432fbf062be0} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAll(y, [[123], -42]). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2019ac8c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29a7cfc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:267: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29a7ff68 in /usr/bin/clickhouse 8. /build/src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x29a40fd0 in /usr/bin/clickhouse 9. /build/src/Core/Field.h:642: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x29cef108 in /usr/bin/clickhouse 10. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x29ceed7d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1323: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07930b in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:740: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741e3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:745: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074286 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1796: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x2a04236d in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/KeyCondition.cpp:714: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c01a438 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:55: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x2c3ee94d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:645: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad931c3 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 2024.03.27 21:33:55.570560 [ 8952 ] {c88944bf-d631-4d86-837d-d9e632291651} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34920) (comment: 02013_bloom_filter_hasAll.sql) (in query: -- can't use bloom_filter with `hasAll` on non-constant arguments (just like `has`) SELECT count() FROM bftest WHERE hasAll(x, materialize([1,2,3])) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:987: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c1fe897 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf20741 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:55.571811 [ 8952 ] {c88944bf-d631-4d86-837d-d9e632291651} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:987: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c1fe897 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf20741 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:55.593190 [ 8952 ] {c7badcb1-6160-42ab-bf02-cb266d5365e2} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34920) (comment: 02013_bloom_filter_hasAll.sql) (in query: -- NULLs are not Ok SELECT count() FROM bftest WHERE hasAll(x, [NULL,-42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:987: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c1fe897 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf20741 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:55.594253 [ 8952 ] {c7badcb1-6160-42ab-bf02-cb266d5365e2} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:987: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c1fe897 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf20741 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:55.616134 [ 8952 ] {c7719e84-8281-4e7c-b3f9-dbf6f58b4a47} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34920) (comment: 02013_bloom_filter_hasAll.sql) (in query: SELECT count() FROM bftest WHERE hasAll(x, [0,NULL]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:987: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c1fe897 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf20741 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:55.617396 [ 8952 ] {c7719e84-8281-4e7c-b3f9-dbf6f58b4a47} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:987: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c1fe897 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf20741 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:55.627481 [ 8952 ] {4989435e-a084-4d8f-96ef-86f6593d5cc6} executeQuery: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAll(x, [[123], -42]). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34920) (comment: 02013_bloom_filter_hasAll.sql) (in query: -- non-compatible types SELECT count() FROM bftest WHERE hasAll(x, [[123], -42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2019ac8c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29a7cfc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:267: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29a7ff68 in /usr/bin/clickhouse 8. /build/src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x29a40fd0 in /usr/bin/clickhouse 9. /build/src/Core/Field.h:642: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x29cef108 in /usr/bin/clickhouse 10. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x29ceed7d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1323: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07930b in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:740: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741e3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:745: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074286 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1796: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x2a04236d in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/KeyCondition.cpp:714: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c01a438 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:55: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x2c3ee94d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:645: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad931c3 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 2024.03.27 21:33:55.629091 [ 8952 ] {4989435e-a084-4d8f-96ef-86f6593d5cc6} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAll(x, [[123], -42]). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2019ac8c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29a7cfc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:267: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29a7ff68 in /usr/bin/clickhouse 8. /build/src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x29a40fd0 in /usr/bin/clickhouse 9. /build/src/Core/Field.h:642: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x29cef108 in /usr/bin/clickhouse 10. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x29ceed7d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1323: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07930b in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:740: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741e3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:745: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074286 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1796: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x2a04236d in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/KeyCondition.cpp:714: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c01a438 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:55: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x2c3ee94d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:645: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad931c3 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 2024.03.27 21:33:55.655047 [ 8952 ] {0756c16c-df18-4932-8a7a-c18ce3103606} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34920) (comment: 02013_bloom_filter_hasAll.sql) (in query: SELECT count() FROM bftest WHERE hasAll(x, [toDecimal32(123, 3), 2]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:987: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c1fe897 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf20741 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:55.656142 [ 8952 ] {0756c16c-df18-4932-8a7a-c18ce3103606} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:987: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c1fe897 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf20741 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:56.962782 [ 635 ] {6b67faee-f3dd-49e9-9e8d-3eac985b004d} executeQuery: Code: 33. DB::Exception: Last saved offsset for File a.txt is bigger than file size (311 > 0). (CANNOT_READ_ALL_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43676) (comment: 02023_storage_filelog.sh) (in query: select * from file_log order by k settings stream_like_engine_allow_direct_select=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity&>::type>, String const&, unsigned long&, std::fpos<__mbstate_t>&) @ 0x2bd0c388 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:429: DB::StorageFileLog::openFilesAndSetPos() @ 0x2bd0184e in /usr/bin/clickhouse 7. /build/src/Storages/FileLog/StorageFileLog.cpp:335: DB::StorageFileLog::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2bcfded1 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:56.965145 [ 635 ] {6b67faee-f3dd-49e9-9e8d-3eac985b004d} TCPHandler: Code: 33. DB::Exception: Last saved offsset for File a.txt is bigger than file size (311 > 0). (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity&>::type>, String const&, unsigned long&, std::fpos<__mbstate_t>&) @ 0x2bd0c388 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:429: DB::StorageFileLog::openFilesAndSetPos() @ 0x2bd0184e in /usr/bin/clickhouse 7. /build/src/Storages/FileLog/StorageFileLog.cpp:335: DB::StorageFileLog::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2bcfded1 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:33:59.698581 [ 8931 ] {41551e09-95e8-4284-b496-3127ecb57f11} executeQuery: Code: 44. DB::Exception: Columns UInt32 and DateTime64 cannot be compared. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43774) (comment: 02010_array_index_bad_cast.sql) (in query: -- This query throws exception about uncomparable data types (but at least it does not introduce bad cast in code). SELECT has(materialize(CAST(['2021-07-14'] AS Array(LowCardinality(Nullable(DateTime))))), materialize('2021-07-14'::DateTime64(7)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayIndex.h:124: void DB::Impl::Main::process<3ul, DB::IColumn, DB::IColumn>(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x1eb45e14 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayIndex.h:188: void DB::Impl::Main::vector(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x1eaed2e6 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:857: DB::FunctionArrayIndex::dispatchConvertedLowCardinalityColumns(DB::FunctionArrayIndex::ExecutionData&) @ 0x21c109aa in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:813: DB::FunctionArrayIndex::executeLowCardinality(std::vector> const&) @ 0x21c0eed3 in /usr/bin/clickhouse 10. /build/src/Functions/array/arrayIndex.h:585: DB::FunctionArrayIndex::executeOnNonNullable(std::vector> const&, std::shared_ptr const&) const @ 0x21c0e0de in /usr/bin/clickhouse 11. /build/src/Functions/array/arrayIndex.h:516: DB::FunctionArrayIndex::executeArrayImpl(std::vector> const&, std::shared_ptr const&) const @ 0x21c0db81 in /usr/bin/clickhouse 12. /build/src/Functions/array/arrayIndex.h:0: DB::FunctionArrayIndex::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21c0d4a0 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:33:59.699810 [ 8931 ] {41551e09-95e8-4284-b496-3127ecb57f11} TCPHandler: Code: 44. DB::Exception: Columns UInt32 and DateTime64 cannot be compared. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayIndex.h:124: void DB::Impl::Main::process<3ul, DB::IColumn, DB::IColumn>(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x1eb45e14 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayIndex.h:188: void DB::Impl::Main::vector(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x1eaed2e6 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:857: DB::FunctionArrayIndex::dispatchConvertedLowCardinalityColumns(DB::FunctionArrayIndex::ExecutionData&) @ 0x21c109aa in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:813: DB::FunctionArrayIndex::executeLowCardinality(std::vector> const&) @ 0x21c0eed3 in /usr/bin/clickhouse 10. /build/src/Functions/array/arrayIndex.h:585: DB::FunctionArrayIndex::executeOnNonNullable(std::vector> const&, std::shared_ptr const&) const @ 0x21c0e0de in /usr/bin/clickhouse 11. /build/src/Functions/array/arrayIndex.h:516: DB::FunctionArrayIndex::executeArrayImpl(std::vector> const&, std::shared_ptr const&) const @ 0x21c0db81 in /usr/bin/clickhouse 12. /build/src/Functions/array/arrayIndex.h:0: DB::FunctionArrayIndex::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21c0d4a0 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:34:01.155066 [ 8931 ] {09624858-c476-474e-97a6-83e2feb59528} executeQuery: Code: 36. DB::Exception: Element of set in IN, VALUES or LIMIT or aggregate function parameter is not a constant expression (result column not found): arrayJoin([0, 1]). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43800) (comment: 02009_array_join_partition.sql) (in query: ALTER TABLE table_2009_part ATTACH PARTITION tuple(arrayJoin([0, 1]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:96: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b337c94 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5246: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c0e9f77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4623: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x2c1016a4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:155: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bb97 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:01.156000 [ 8931 ] {09624858-c476-474e-97a6-83e2feb59528} TCPHandler: Code: 36. DB::Exception: Element of set in IN, VALUES or LIMIT or aggregate function parameter is not a constant expression (result column not found): arrayJoin([0, 1]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:96: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b337c94 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5246: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c0e9f77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4623: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x2c1016a4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:155: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bb97 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:01.172616 [ 8931 ] {2189cf2b-c72a-4198-985d-8aa553088dd5} executeQuery: Code: 36. DB::Exception: Element of set in IN, VALUES or LIMIT or aggregate function parameter is not a constant expression (result column not found): toYYYYMM(toDate(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(3, materialize(NULL), arrayJoin(array(1025, materialize(NULL), materialize(NULL))), NULL)))))), materialize(NULL)))), NULL)). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43800) (comment: 02009_array_join_partition.sql) (in query: ALTER TABLE table_2009_part ATTACH PARTITION tuple(toYYYYMM(toDate([arrayJoin([arrayJoin([arrayJoin([arrayJoin([3, materialize(NULL), arrayJoin([1025, materialize(NULL), materialize(NULL)]), NULL])])]), materialize(NULL)])], NULL)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:96: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b337c94 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5246: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c0e9f77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4623: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x2c1016a4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:155: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bb97 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:01.173616 [ 8931 ] {2189cf2b-c72a-4198-985d-8aa553088dd5} TCPHandler: Code: 36. DB::Exception: Element of set in IN, VALUES or LIMIT or aggregate function parameter is not a constant expression (result column not found): toYYYYMM(toDate(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(3, materialize(NULL), arrayJoin(array(1025, materialize(NULL), materialize(NULL))), NULL)))))), materialize(NULL)))), NULL)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:96: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b337c94 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5246: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c0e9f77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4623: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x2c1016a4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:155: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bb97 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:02.780480 [ 635 ] {8bba14a9-b3e7-42e9-bf0a-6431ad6a82ab} executeQuery: Code: 36. DB::Exception: Cannot materialize column `x` because it doesn't have default expression. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43844) (comment: 02008_materialize_column.sql) (in query: ALTER TABLE tmp MATERIALIZE COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:727: DB::MutationsInterpreter::prepare(bool) @ 0x2af19498 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af17100 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af16b49 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b995 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:02.781401 [ 635 ] {8bba14a9-b3e7-42e9-bf0a-6431ad6a82ab} TCPHandler: Code: 36. DB::Exception: Cannot materialize column `x` because it doesn't have default expression. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:727: DB::MutationsInterpreter::prepare(bool) @ 0x2af19498 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af17100 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af16b49 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b995 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:03.265165 [ 8925 ] {b7ebda86-0ead-4a61-90bd-4ff6ee4cc564} executeQuery: Code: 675. DB::Exception: Invalid IPv4 value: While processing CAST('hello', 'IPv4') AS v, toTypeName(v). (CANNOT_PARSE_IPV4) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43856) (comment: 02007_ipv4_and_ipv6_to_and_from_string.sql) (in query: SELECT CAST('hello' as IPv4) as v, toTypeName(v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [19]) @ 0x1973e73e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.h:277: COW::immutable_ptr DB::convertToIPv4<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x1973de53 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3982: bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19c9ccb7 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(auto&&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19c9ca26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19c9c9c0 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19c9c960 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19c9c908 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 2024.03.27 21:34:03.266672 [ 8925 ] {b7ebda86-0ead-4a61-90bd-4ff6ee4cc564} TCPHandler: Code: 675. DB::Exception: Invalid IPv4 value: While processing CAST('hello', 'IPv4') AS v, toTypeName(v). (CANNOT_PARSE_IPV4), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [19]) @ 0x1973e73e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.h:277: COW::immutable_ptr DB::convertToIPv4<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x1973de53 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3982: bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19c9ccb7 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(auto&&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19c9ca26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19c9c9c0 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19c9c960 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19c9c908 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 2024.03.27 21:34:03.427310 [ 8925 ] {a6186069-48ef-4ce6-8b9e-88870e50973f} executeQuery: Code: 676. DB::Exception: Invalid IPv6 value: While processing CAST('hello', 'IPv6') AS v, toTypeName(v). (CANNOT_PARSE_IPV6) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43856) (comment: 02007_ipv4_and_ipv6_to_and_from_string.sql) (in query: SELECT CAST('hello' as IPv6) as v, toTypeName(v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [19]) @ 0x1973e73e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.h:196: COW::immutable_ptr DB::detail::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector, DB::ColumnString>(DB::ColumnString const&, DB::PODArray, 63ul, 64ul> const*) @ 0x1974173d in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsCodingIP.h:218: COW::immutable_ptr DB::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x1973f137 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:4002: bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19c9d3b7 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(auto&&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19c9d126 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19c9d0c0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19c9d060 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19c9d008 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 2024.03.27 21:34:03.428728 [ 8925 ] {a6186069-48ef-4ce6-8b9e-88870e50973f} TCPHandler: Code: 676. DB::Exception: Invalid IPv6 value: While processing CAST('hello', 'IPv6') AS v, toTypeName(v). (CANNOT_PARSE_IPV6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [19]) @ 0x1973e73e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.h:196: COW::immutable_ptr DB::detail::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector, DB::ColumnString>(DB::ColumnString const&, DB::PODArray, 63ul, 64ul> const*) @ 0x1974173d in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsCodingIP.h:218: COW::immutable_ptr DB::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x1973f137 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:4002: bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19c9d3b7 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(auto&&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19c9d126 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19c9d0c0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19c9d060 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19c9d008 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 2024.03.27 21:34:03.817152 [ 8244 ] {cb84bd15a2ec40909996d6e048e4501d} executeQuery: Code: 117. DB::Exception: Index for LowCardinality is out of range. Dictionary size is 1, but found index with value 72057594037927936. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:43316) (in query: insert into test_te5p9si1.tab settings input_format_defaults_for_omitted_fields=0 format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x1a92318c in /usr/bin/clickhouse 6. /build/src/Columns/ColumnLowCardinality.cpp:229: auto DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long)::$_0::operator()(unsigned long) const @ 0x2b5b26b9 in /usr/bin/clickhouse 7. /build/src/Columns/ColumnLowCardinality.cpp:236: DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long) @ 0x2b5a5329 in /usr/bin/clickhouse 8. /build/src/Columns/ColumnLowCardinality.cpp:246: DB::ColumnLowCardinality::insertRangeFromDictionaryEncodedColumn(DB::IColumn const&, DB::IColumn const&) @ 0x2b5a51a0 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:637: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x29ac92b5 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:710: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29ac8b79 in /usr/bin/clickhouse 11. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x2c7f4df4 in /usr/bin/clickhouse 12. /build/src/Formats/NativeReader.cpp:203: DB::NativeReader::read() @ 0x2c7f5b8a in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:1696: DB::TCPHandler::receiveData(bool) @ 0x2c7b9e69 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1379: DB::TCPHandler::receivePacket() @ 0x2c7b1829 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:703: DB::TCPHandler::readDataNext() @ 0x2c7b312a in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:791: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b39bf in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:03.818354 [ 8244 ] {cb84bd15a2ec40909996d6e048e4501d} TCPHandler: Code: 117. DB::Exception: Index for LowCardinality is out of range. Dictionary size is 1, but found index with value 72057594037927936. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x1a92318c in /usr/bin/clickhouse 6. /build/src/Columns/ColumnLowCardinality.cpp:229: auto DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long)::$_0::operator()(unsigned long) const @ 0x2b5b26b9 in /usr/bin/clickhouse 7. /build/src/Columns/ColumnLowCardinality.cpp:236: DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long) @ 0x2b5a5329 in /usr/bin/clickhouse 8. /build/src/Columns/ColumnLowCardinality.cpp:246: DB::ColumnLowCardinality::insertRangeFromDictionaryEncodedColumn(DB::IColumn const&, DB::IColumn const&) @ 0x2b5a51a0 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:637: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x29ac92b5 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:710: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29ac8b79 in /usr/bin/clickhouse 11. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x2c7f4df4 in /usr/bin/clickhouse 12. /build/src/Formats/NativeReader.cpp:203: DB::NativeReader::read() @ 0x2c7f5b8a in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:1696: DB::TCPHandler::receiveData(bool) @ 0x2c7b9e69 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1379: DB::TCPHandler::receivePacket() @ 0x2c7b1829 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:703: DB::TCPHandler::readDataNext() @ 0x2c7b312a in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:791: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b39bf in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:03.974103 [ 8925 ] {281dcb53505244a09c9d6ab663021043} executeQuery: Code: 117. DB::Exception: LowCardinality indexes serialization type for Native format cannot use global dictionary. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:43326) (in query: insert into test_te5p9si1.tab settings input_format_defaults_for_omitted_fields=0 format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [89]) @ 0x2921723e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:152: DB::IndexesSerializationType::deserialize(DB::ReadBuffer&, DB::ISerialization::DeserializeBinaryBulkSettings const&) @ 0x29acdb95 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:691: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29ac8a19 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x2c7f4df4 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:203: DB::NativeReader::read() @ 0x2c7f5b8a in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:1696: DB::TCPHandler::receiveData(bool) @ 0x2c7b9e69 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:1379: DB::TCPHandler::receivePacket() @ 0x2c7b1829 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:703: DB::TCPHandler::readDataNext() @ 0x2c7b312a in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:791: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b39bf in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:03.975166 [ 8925 ] {281dcb53505244a09c9d6ab663021043} TCPHandler: Code: 117. DB::Exception: LowCardinality indexes serialization type for Native format cannot use global dictionary. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [89]) @ 0x2921723e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:152: DB::IndexesSerializationType::deserialize(DB::ReadBuffer&, DB::ISerialization::DeserializeBinaryBulkSettings const&) @ 0x29acdb95 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:691: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29ac8a19 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x2c7f4df4 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:203: DB::NativeReader::read() @ 0x2c7f5b8a in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:1696: DB::TCPHandler::receiveData(bool) @ 0x2c7b9e69 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:1379: DB::TCPHandler::receivePacket() @ 0x2c7b1829 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:703: DB::TCPHandler::readDataNext() @ 0x2c7b312a in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:791: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b39bf in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:04.052875 [ 8925 ] {d4f6a517-3d30-4cf3-8343-b5b33e6dfefa} executeQuery: Code: 62. DB::Exception: Empty query. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:43326) (in query: ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:362: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x2d441341 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:374: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x2d441426 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:383: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b34dee1 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:04.172782 [ 8244 ] {6e9f0599ec44437b902b8b7359569e53} executeQuery: Code: 117. DB::Exception: No additional keys found. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:43328) (in query: insert into test_te5p9si1.tab settings input_format_defaults_for_omitted_fields=0 format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [26]) @ 0x197814fe in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:632: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x29ac9131 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:710: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29ac8b79 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x2c7f4df4 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:203: DB::NativeReader::read() @ 0x2c7f5b8a in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:1696: DB::TCPHandler::receiveData(bool) @ 0x2c7b9e69 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:1379: DB::TCPHandler::receivePacket() @ 0x2c7b1829 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:703: DB::TCPHandler::readDataNext() @ 0x2c7b312a in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:791: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b39bf in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:04.173049 [ 8925 ] {d4f6a517-3d30-4cf3-8343-b5b33e6dfefa} TCPHandler: Code: 62. DB::Exception: Empty query. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:362: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x2d441341 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:374: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x2d441426 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:383: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b34dee1 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:04.173524 [ 8925 ] {d4f6a517-3d30-4cf3-8343-b5b33e6dfefa} TCPHandler: Can't skip data packets after query failure. 2024.03.27 21:34:04.173955 [ 8244 ] {6e9f0599ec44437b902b8b7359569e53} TCPHandler: Code: 117. DB::Exception: No additional keys found. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [26]) @ 0x197814fe in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:632: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x29ac9131 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:710: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29ac8b79 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x2c7f4df4 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:203: DB::NativeReader::read() @ 0x2c7f5b8a in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:1696: DB::TCPHandler::receiveData(bool) @ 0x2c7b9e69 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:1379: DB::TCPHandler::receivePacket() @ 0x2c7b1829 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:703: DB::TCPHandler::readDataNext() @ 0x2c7b312a in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:791: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b39bf in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:04.246725 [ 8244 ] {} TCPHandler: Code: 101. DB::NetException: Unexpected packet Hello received from client. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:13: DB::NetException::NetException(int, char const (&) [45]) @ 0x2c7c0c9e in /usr/bin/clickhouse 6. /build/src/Server/TCPHandler.cpp:1314: DB::TCPHandler::receiveUnexpectedHello() @ 0x2c7b6f65 in /usr/bin/clickhouse 7. /build/src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x2c7b18de in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:273: DB::TCPHandler::runImpl() @ 0x2c7a8a81 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 15. ? @ 0x7f2098f50609 in ? 16. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:07.116685 [ 8927 ] {50ed0a37-6a8f-40c1-84e1-986db97397c6} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49106) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:07.117732 [ 8927 ] {50ed0a37-6a8f-40c1-84e1-986db97397c6} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:12.289679 [ 8927 ] {test_01948_tcp_test_l2clb2la} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49172) (comment: 01950_kill_large_group_by_query.sh) (in query: SELECT * FROM ( SELECT a.name as n FROM ( SELECT 'Name' as name, number FROM system.numbers LIMIT 2000000 ) AS a, ( SELECT 'Name' as name2, number FROM system.numbers LIMIT 2000000 ) as b GROUP BY n ) LIMIT 20 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2af4357b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:12.298719 [ 8927 ] {test_01948_tcp_test_l2clb2la} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2af4357b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:14.209959 [ 635 ] {test_01948_http_test_l2clb2la} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33004) (comment: 01950_kill_large_group_by_query.sh) (in query: SELECT * FROM ( SELECT a.name as n FROM ( SELECT 'Name' as name, number FROM system.numbers LIMIT 2000000 ) AS a, ( SELECT 'Name' as name2, number FROM system.numbers LIMIT 2000000 ) as b GROUP BY n ) LIMIT 20 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2af4357b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:14.224100 [ 635 ] {test_01948_http_test_l2clb2la} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2af4357b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:34:19.947994 [ 8925 ] {b2f07110-5ba8-4826-b359-bbfb70a0d45b} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTimeToSnowflake doesn't match: passed 0, should be 1: While processing dateTimeToSnowflake(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49752) (comment: 01942_dateTimeToSnowflake.sql) (in query: -- Error cases SELECT dateTimeToSnowflake();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:34:19.949264 [ 8925 ] {b2f07110-5ba8-4826-b359-bbfb70a0d45b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTimeToSnowflake doesn't match: passed 0, should be 1: While processing dateTimeToSnowflake(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:34:19.956197 [ 8925 ] {b1553bc3-c77c-4ae1-836c-afe5519f7816} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTime64ToSnowflake doesn't match: passed 0, should be 1: While processing dateTime64ToSnowflake(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49752) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTime64ToSnowflake();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:34:19.957362 [ 8925 ] {b1553bc3-c77c-4ae1-836c-afe5519f7816} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTime64ToSnowflake doesn't match: passed 0, should be 1: While processing dateTime64ToSnowflake(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:34:20.085447 [ 8925 ] {201b9bb4-3ef6-43c0-a745-f1db5c7068bc} executeQuery: Code: 43. DB::Exception: The only argument for function dateTimeToSnowflake must be DateTime: While processing dateTimeToSnowflake('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49752) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTimeToSnowflake('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionSnowflake.h:47: DB::FunctionDateTimeToSnowflake::getReturnTypeImpl(std::vector> const&) const @ 0x20da1e77 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:34:20.086541 [ 8925 ] {201b9bb4-3ef6-43c0-a745-f1db5c7068bc} TCPHandler: Code: 43. DB::Exception: The only argument for function dateTimeToSnowflake must be DateTime: While processing dateTimeToSnowflake('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionSnowflake.h:47: DB::FunctionDateTimeToSnowflake::getReturnTypeImpl(std::vector> const&) const @ 0x20da1e77 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:34:20.209896 [ 8925 ] {48ccd306-2b53-49ad-9ca1-478b8e1d6e60} executeQuery: Code: 43. DB::Exception: The only argument for function dateTime64ToSnowflake must be DateTime64: While processing dateTime64ToSnowflake('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49752) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTime64ToSnowflake('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionSnowflake.h:137: DB::FunctionDateTime64ToSnowflake::getReturnTypeImpl(std::vector> const&) const @ 0x20da2d17 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:34:20.211079 [ 8925 ] {48ccd306-2b53-49ad-9ca1-478b8e1d6e60} TCPHandler: Code: 43. DB::Exception: The only argument for function dateTime64ToSnowflake must be DateTime64: While processing dateTime64ToSnowflake('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionSnowflake.h:137: DB::FunctionDateTime64ToSnowflake::getReturnTypeImpl(std::vector> const&) const @ 0x20da2d17 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:34:20.218247 [ 8925 ] {47c497a1-9f93-4b0b-b66f-bc98bb8827d5} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTimeToSnowflake doesn't match: passed 2, should be 1: While processing dateTimeToSnowflake('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49752) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTimeToSnowflake('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:34:20.219384 [ 8925 ] {47c497a1-9f93-4b0b-b66f-bc98bb8827d5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTimeToSnowflake doesn't match: passed 2, should be 1: While processing dateTimeToSnowflake('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:34:20.226071 [ 8925 ] {8d1dd3e7-2ac4-47c2-85d8-8546249ed881} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTime64ToSnowflake doesn't match: passed 2, should be 1: While processing dateTime64ToSnowflake('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49752) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTime64ToSnowflake('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:34:20.227211 [ 8925 ] {8d1dd3e7-2ac4-47c2-85d8-8546249ed881} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTime64ToSnowflake doesn't match: passed 2, should be 1: While processing dateTime64ToSnowflake('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:34:32.592495 [ 6095 ] {8009667c-4ceb-4504-9447-edd5d82cd428} executeQuery: Code: 6. DB::Exception: Cannot parse string '0.Aa234' as Float64: syntax error at position 2 (parsed just '0.'). Note: there are toFloat64OrZero and toFloat64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION toFloat64(a :: 0) -> toFloat64(a) Float64 : 2': while pushing to view test_u19qeylz.matview_exception_a_to_b (38d48fba-bb4e-4aa8-b885-5c43c706e1b9). (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37210) (comment: 01927_query_views_log_matview_exceptions.sh) (in query: INSERT INTO table_exception_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToFloat64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x199d6127 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x199d1058 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x199c0299 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x199bf5c8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x199be7de in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:628: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x2cd7d6c3 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:165: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x2cc5e5a1 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x2cc5e575 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x2cc5e555 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e535 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e4fd in /usr/bin/clickhouse 2024.03.27 21:34:32.597602 [ 6095 ] {8009667c-4ceb-4504-9447-edd5d82cd428} TCPHandler: Code: 6. DB::Exception: Cannot parse string '0.Aa234' as Float64: syntax error at position 2 (parsed just '0.'). Note: there are toFloat64OrZero and toFloat64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION toFloat64(a :: 0) -> toFloat64(a) Float64 : 2': while pushing to view test_u19qeylz.matview_exception_a_to_b (38d48fba-bb4e-4aa8-b885-5c43c706e1b9). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToFloat64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x199d6127 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x199d1058 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x199c0299 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x199bf5c8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x199be7de in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:628: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x2cd7d6c3 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:165: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x2cc5e5a1 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x2cc5e575 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x2cc5e555 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e535 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e4fd in /usr/bin/clickhouse 2024.03.27 21:34:36.965581 [ 634 ] {f7a190e7-4a22-4991-afa6-5d97a3d1de4c} executeQuery: Code: 42. DB::Exception: Function mapPopulateSeries accepts at least one map or two arrays arguments, and optional max key argument: While processing mapPopulateSeries(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50504) (comment: 01925_map_populate_series_on_map.sql) (in query: select mapPopulateSeries();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:92: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x21e4098e in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:34:36.966717 [ 634 ] {f7a190e7-4a22-4991-afa6-5d97a3d1de4c} TCPHandler: Code: 42. DB::Exception: Function mapPopulateSeries accepts at least one map or two arrays arguments, and optional max key argument: While processing mapPopulateSeries(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:92: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x21e4098e in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:34:37.074273 [ 634 ] {bb211bd9-f3d9-4d68-b7ed-8798ba35de2a} executeQuery: Code: 43. DB::Exception: Function mapPopulateSeries only accepts one map or arrays, but got String: While processing mapPopulateSeries('asdf'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50504) (comment: 01925_map_populate_series_on_map.sql) (in query: select mapPopulateSeries('asdf');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:132: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x21e40e86 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:34:37.075343 [ 634 ] {bb211bd9-f3d9-4d68-b7ed-8798ba35de2a} TCPHandler: Code: 43. DB::Exception: Function mapPopulateSeries only accepts one map or arrays, but got String: While processing mapPopulateSeries('asdf'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:132: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x21e40e86 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:34:37.191225 [ 634 ] {369c3d38-57ee-4d8e-bbe3-76f2f3dab515} executeQuery: Code: 43. DB::Exception: Function mapPopulateSeries key argument should be of signed or unsigned integer type. Actual type String: While processing mapPopulateSeries(map('1', 1, '2', 1)) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50504) (comment: 01925_map_populate_series_on_map.sql) (in query: select mapPopulateSeries(map('1', 1, '2', 1)) as res, toTypeName(res);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:52: DB::FunctionMapPopulateSeries::checkTypes(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x220bac54 in /usr/bin/clickhouse 7. /build/src/Functions/array/mapPopulateSeries.cpp:142: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x21e40f98 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:34:37.192409 [ 634 ] {369c3d38-57ee-4d8e-bbe3-76f2f3dab515} TCPHandler: Code: 43. DB::Exception: Function mapPopulateSeries key argument should be of signed or unsigned integer type. Actual type String: While processing mapPopulateSeries(map('1', 1, '2', 1)) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:52: DB::FunctionMapPopulateSeries::checkTypes(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x220bac54 in /usr/bin/clickhouse 7. /build/src/Functions/array/mapPopulateSeries.cpp:142: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x21e40f98 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:34:37.877234 [ 8244 ] {205cb22b-3fb8-4f69-8e39-b9c5f02d789d} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 101.28 MiB (attempt to allocate chunk of 0 bytes), maximum: 95.37 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49080) (comment: 01961_roaring_memory_tracking.sql) (in query: SELECT cityHash64(rand() % 1000) as n, groupBitmapState(number) FROM numbers_mt(200000000) GROUP BY n FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x220fb2d1 in /usr/bin/clickhouse 9. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a09a8f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0ab11c in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 2024.03.27 21:34:39.544388 [ 635 ] {f1842c6d-f2a9-4cb3-b794-00f1f217bb81} executeQuery: Code: 43. DB::Exception: Illegal types String and IntervalDay of arguments of function plus: While processing InsertionDateTime + toIntervalDay(3). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50558) (comment: 01923_ttl_with_modify_column.sql) (in query: ALTER TABLE t_ttl_modify_column MODIFY COLUMN InsertionDateTime String;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1410: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x204e9c69 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x2019f84f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a52a909 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a041ed8 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a042243 in /usr/bin/clickhouse 24. /build/src/Storages/TTLDescription.cpp:178: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x2bbe73f4 in /usr/bin/clickhouse 25. /build/src/Storages/TTLDescription.cpp:341: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x2bbe954c in /usr/bin/clickhouse 26. /build/src/Storages/AlterCommands.cpp:998: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b806ec9 in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e55ac in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:34:39.545560 [ 635 ] {f1842c6d-f2a9-4cb3-b794-00f1f217bb81} TCPHandler: Code: 43. DB::Exception: Illegal types String and IntervalDay of arguments of function plus: While processing InsertionDateTime + toIntervalDay(3). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1410: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x204e9c69 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x2019f84f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a52a909 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a041ed8 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a042243 in /usr/bin/clickhouse 24. /build/src/Storages/TTLDescription.cpp:178: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x2bbe73f4 in /usr/bin/clickhouse 25. /build/src/Storages/TTLDescription.cpp:341: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x2bbe954c in /usr/bin/clickhouse 26. /build/src/Storages/AlterCommands.cpp:998: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b806ec9 in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e55ac in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:34:40.882005 [ 8244 ] {205cb22b-3fb8-4f69-8e39-b9c5f02d789d} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 101.28 MiB (attempt to allocate chunk of 0 bytes), maximum: 95.37 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x220fb2d1 in /usr/bin/clickhouse 9. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a09a8f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0ab11c in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 2024.03.27 21:34:41.736714 [ 2750 ] {0e88760c-c158-4874-8800-473c0763a730} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toHour: while executing 'FUNCTION toHour(x1 :: 0) -> toHour(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50598) (comment: 01921_datatype_date32.sql) (in query: select toHour(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x1c05209b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToHourImpl const&) @ 0x20e85ec2 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1477: DB::DateTimeTransformImpl, DB::ToHourImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToHourImpl const&) @ 0x20e8541a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething, DB::ToHourImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20e8456e in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:41.737786 [ 2750 ] {0e88760c-c158-4874-8800-473c0763a730} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toHour: while executing 'FUNCTION toHour(x1 :: 0) -> toHour(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x1c05209b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToHourImpl const&) @ 0x20e85ec2 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1477: DB::DateTimeTransformImpl, DB::ToHourImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToHourImpl const&) @ 0x20e8541a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething, DB::ToHourImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20e8456e in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:41.739935 [ 635 ] {aa476f69-874d-4956-a38e-47569764fdea} executeQuery: Code: 6. DB::Exception: Cannot parse string '0.Aa234' as Float64: syntax error at position 2 (parsed just '0.'). Note: there are toFloat64OrZero and toFloat64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION toFloat64(a :: 0) -> toFloat64(a) Float64 : 2': while pushing to view test_u19qeylz.matview_exception_a_to_b (38d48fba-bb4e-4aa8-b885-5c43c706e1b9). (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50606) (comment: 01927_query_views_log_matview_exceptions.sh) (in query: INSERT INTO table_exception_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToFloat64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x199d6127 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x199d1058 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x199c0299 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x199bf5c8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x199be7de in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:628: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x2cd7d6c3 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:165: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x2cc5e5a1 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x2cc5e575 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x2cc5e555 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e535 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e4fd in /usr/bin/clickhouse 2024.03.27 21:34:41.747082 [ 635 ] {aa476f69-874d-4956-a38e-47569764fdea} TCPHandler: Code: 6. DB::Exception: Cannot parse string '0.Aa234' as Float64: syntax error at position 2 (parsed just '0.'). Note: there are toFloat64OrZero and toFloat64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION toFloat64(a :: 0) -> toFloat64(a) Float64 : 2': while pushing to view test_u19qeylz.matview_exception_a_to_b (38d48fba-bb4e-4aa8-b885-5c43c706e1b9). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToFloat64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x199d6127 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x199d1058 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x199c0299 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x199bf5c8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x199be7de in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:628: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x2cd7d6c3 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:165: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x2cc5e5a1 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x2cc5e575 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x2cc5e555 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e535 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e4fd in /usr/bin/clickhouse 2024.03.27 21:34:41.970949 [ 2750 ] {8dfc6954-05ae-4b27-a722-345381cfdd97} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toMinute: while executing 'FUNCTION toMinute(x1 :: 0) -> toMinute(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50598) (comment: 01921_datatype_date32.sql) (in query: select toMinute(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x1c0520bb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToMinuteImpl const&) @ 0x20e95c22 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1477: DB::DateTimeTransformImpl, DB::ToMinuteImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToMinuteImpl const&) @ 0x20e9517a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething, DB::ToMinuteImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20e942ee in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:41.972038 [ 2750 ] {8dfc6954-05ae-4b27-a722-345381cfdd97} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toMinute: while executing 'FUNCTION toMinute(x1 :: 0) -> toMinute(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x1c0520bb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToMinuteImpl const&) @ 0x20e95c22 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1477: DB::DateTimeTransformImpl, DB::ToMinuteImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToMinuteImpl const&) @ 0x20e9517a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething, DB::ToMinuteImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20e942ee in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:42.128155 [ 2750 ] {273d2891-e365-4f9e-af20-3c6a7a7b02bd} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toSecond: while executing 'FUNCTION toSecond(x1 :: 0) -> toSecond(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50598) (comment: 01921_datatype_date32.sql) (in query: select toSecond(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x1c0520db in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToSecondImpl const&) @ 0x20ec3aa2 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1477: DB::DateTimeTransformImpl, DB::ToSecondImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToSecondImpl const&) @ 0x20ec2ffa in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething, DB::ToSecondImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20ec216e in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:42.129309 [ 2750 ] {273d2891-e365-4f9e-af20-3c6a7a7b02bd} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toSecond: while executing 'FUNCTION toSecond(x1 :: 0) -> toSecond(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x1c0520db in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToSecondImpl const&) @ 0x20ec3aa2 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1477: DB::DateTimeTransformImpl, DB::ToSecondImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToSecondImpl const&) @ 0x20ec2ffa in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething, DB::ToSecondImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20ec216e in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:42.602365 [ 8929 ] {ac95e5e3-a7af-4f4f-9bee-82b87b9bd5eb} executeQuery: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50634) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 WHERE f AND (e = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b7f2166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c36a9e5 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c367228 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c36512e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c363d0b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c351bef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3523f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c350619 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2cf86dc2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 2024.03.27 21:34:42.609371 [ 8929 ] {ac95e5e3-a7af-4f4f-9bee-82b87b9bd5eb} TCPHandler: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b7f2166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c36a9e5 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c367228 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c36512e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c363d0b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c351bef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3523f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c350619 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2cf86dc2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 2024.03.27 21:34:42.777989 [ 2750 ] {2efc6078-3671-4057-ab26-2f69a8d8ca75} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfSecond: while executing 'FUNCTION toStartOfSecond(x1 :: 0) -> toStartOfSecond(x1) DateTime64(3) : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50598) (comment: 01921_datatype_date32.sql) (in query: select toStartOfSecond(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x20ef14db in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfSecondImpl const&) @ 0x20ef1482 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfSecondImpl const&) @ 0x20ef08ae in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20eefdee in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:42.778074 [ 8929 ] {6d9f93c5-120d-4ef3-b02a-d71801e9fcdf} executeQuery: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50634) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE f;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b7f2166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c36a9e5 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c367228 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c36512e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c363d0b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c351bef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3523f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c350619 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2cf86dc2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 2024.03.27 21:34:42.779164 [ 2750 ] {2efc6078-3671-4057-ab26-2f69a8d8ca75} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfSecond: while executing 'FUNCTION toStartOfSecond(x1 :: 0) -> toStartOfSecond(x1) DateTime64(3) : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x20ef14db in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfSecondImpl const&) @ 0x20ef1482 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfSecondImpl const&) @ 0x20ef08ae in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20eefdee in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:42.779714 [ 8929 ] {6d9f93c5-120d-4ef3-b02a-d71801e9fcdf} TCPHandler: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b7f2166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c36a9e5 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c367228 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c36512e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c363d0b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c351bef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3523f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c350619 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2cf86dc2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 2024.03.27 21:34:42.809116 [ 8929 ] {8953c3ae-e087-4e5d-96f2-c052b0749eeb} executeQuery: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50634) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE f WHERE (e = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b7f2166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c36a9e5 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c367228 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c36512e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c363d0b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c351bef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3523f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c350619 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2cf86dc2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 2024.03.27 21:34:42.810784 [ 8929 ] {8953c3ae-e087-4e5d-96f2-c052b0749eeb} TCPHandler: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b7f2166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c36a9e5 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c367228 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c36512e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c363d0b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c351bef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3523f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c350619 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2cf86dc2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 2024.03.27 21:34:42.973053 [ 2750 ] {6701ddff-670a-48a1-8ec1-00302b5f1a67} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfMinute: while executing 'FUNCTION toStartOfMinute(x1 :: 0) -> toStartOfMinute(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50598) (comment: 01921_datatype_date32.sql) (in query: select toStartOfMinute(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x20ec3cbb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfMinuteImpl const&) @ 0x20ee6962 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfMinuteImpl const&) @ 0x20ee598e in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20ee4823 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:42.973191 [ 8929 ] {7d65aa6c-02a1-42d2-965d-33ab717d332e} executeQuery: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50634) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE f WHERE f AND (e = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b7f2166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c36a9e5 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c367228 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c36512e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c363d0b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c351bef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3523f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c350619 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2cf86dc2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 2024.03.27 21:34:42.974233 [ 2750 ] {6701ddff-670a-48a1-8ec1-00302b5f1a67} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfMinute: while executing 'FUNCTION toStartOfMinute(x1 :: 0) -> toStartOfMinute(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x20ec3cbb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfMinuteImpl const&) @ 0x20ee6962 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfMinuteImpl const&) @ 0x20ee598e in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20ee4823 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:42.974939 [ 8929 ] {7d65aa6c-02a1-42d2-965d-33ab717d332e} TCPHandler: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b7f2166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c36a9e5 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c367228 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c36512e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c363d0b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c351bef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3523f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c350619 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2cf86dc2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 2024.03.27 21:34:43.154566 [ 8929 ] {533545b3-93c9-4705-92bd-854dd512edab} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50634) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE e;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b7f2166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c36a9e5 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c367228 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c36512e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c363d0b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c351bef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3523f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c350619 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2cf86dc2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 2024.03.27 21:34:43.156124 [ 8929 ] {533545b3-93c9-4705-92bd-854dd512edab} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b7f2166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c36a9e5 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c367228 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c36512e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c363d0b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c351bef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3523f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c350619 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2cf86dc2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 2024.03.27 21:34:43.171243 [ 2750 ] {1ed5b817-8446-4c28-b8ec-e0b4cf62171a} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfFiveMinutes: while executing 'FUNCTION toStartOfFiveMinutes(x1 :: 0) -> toStartOfFiveMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50598) (comment: 01921_datatype_date32.sql) (in query: select toStartOfFiveMinutes(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x20ecf8bb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfFiveMinutesImpl const&) @ 0x20ecf862 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfFiveMinutesImpl const&) @ 0x20ece82e in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20ecd6c3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:43.172757 [ 2750 ] {1ed5b817-8446-4c28-b8ec-e0b4cf62171a} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfFiveMinutes: while executing 'FUNCTION toStartOfFiveMinutes(x1 :: 0) -> toStartOfFiveMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x20ecf8bb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfFiveMinutesImpl const&) @ 0x20ecf862 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfFiveMinutesImpl const&) @ 0x20ece82e in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20ecd6c3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:43.326668 [ 2750 ] {f15a7886-3bc0-4e45-b2df-84c0f6cc5e05} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfTenMinutes: while executing 'FUNCTION toStartOfTenMinutes(x1 :: 0) -> toStartOfTenMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50598) (comment: 01921_datatype_date32.sql) (in query: select toStartOfTenMinutes(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x20efe8fb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfTenMinutesImpl const&) @ 0x20efe8a2 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfTenMinutesImpl const&) @ 0x20efd86e in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20efc703 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:43.326805 [ 8929 ] {659db4e5-e688-49ac-a0df-f1346118a8f6} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50634) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE e WHERE (e = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b7f2166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c36a9e5 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c367228 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c36512e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c363d0b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c351bef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3523f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c350619 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2cf86dc2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 2024.03.27 21:34:43.358825 [ 2750 ] {f15a7886-3bc0-4e45-b2df-84c0f6cc5e05} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfTenMinutes: while executing 'FUNCTION toStartOfTenMinutes(x1 :: 0) -> toStartOfTenMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x20efe8fb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfTenMinutesImpl const&) @ 0x20efe8a2 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfTenMinutesImpl const&) @ 0x20efd86e in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20efc703 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:43.359364 [ 8929 ] {659db4e5-e688-49ac-a0df-f1346118a8f6} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b7f2166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c36a9e5 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c367228 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c36512e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c363d0b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c351bef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3523f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c350619 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2cf86dc2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 2024.03.27 21:34:43.389938 [ 8929 ] {869e0390-a5cd-4689-9aaa-8bd968710113} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50634) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE e WHERE f AND (e = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b7f2166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c36a9e5 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c367228 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c36512e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c363d0b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c351bef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3523f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c350619 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2cf86dc2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 2024.03.27 21:34:43.391564 [ 8929 ] {869e0390-a5cd-4689-9aaa-8bd968710113} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b7f2166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c36a9e5 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c367228 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c36512e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c363d0b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c351bef in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3523f1 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c350619 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2cf86dc2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 2024.03.27 21:34:43.555348 [ 2750 ] {7e5c4663-3400-4518-b057-18fc6f465157} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfFifteenMinutes: while executing 'FUNCTION toStartOfFifteenMinutes(x1 :: 0) -> toStartOfFifteenMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50598) (comment: 01921_datatype_date32.sql) (in query: select toStartOfFifteenMinutes(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x20ecb97b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfFifteenMinutesImpl const&) @ 0x20ecb922 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfFifteenMinutesImpl const&) @ 0x20eca8ee in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20ec9783 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:43.556892 [ 2750 ] {7e5c4663-3400-4518-b057-18fc6f465157} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfFifteenMinutes: while executing 'FUNCTION toStartOfFifteenMinutes(x1 :: 0) -> toStartOfFifteenMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x20ecb97b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfFifteenMinutesImpl const&) @ 0x20ecb922 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfFifteenMinutesImpl const&) @ 0x20eca8ee in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20ec9783 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:43.737730 [ 2750 ] {7ad36a95-7c63-4043-9f3b-30c57d370beb} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfHour: while executing 'FUNCTION toStartOfHour(x1 :: 0) -> toStartOfHour(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50598) (comment: 01921_datatype_date32.sql) (in query: select toStartOfHour(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x20e95e3b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfHourImpl const&) @ 0x20ed36a2 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfHourImpl const&) @ 0x20ed26ce in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20ed1563 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:43.738960 [ 2750 ] {7ad36a95-7c63-4043-9f3b-30c57d370beb} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfHour: while executing 'FUNCTION toStartOfHour(x1 :: 0) -> toStartOfHour(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x20e95e3b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfHourImpl const&) @ 0x20ed36a2 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfHourImpl const&) @ 0x20ed26ce in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20ed1563 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:44.243157 [ 2750 ] {224f10b2-6621-400e-b2a7-7d68a5526fca} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toTime: while executing 'FUNCTION toTime(x1 :: 0) -> toTime(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50598) (comment: 01921_datatype_date32.sql) (in query: select toTime(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x20e53dbb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToTimeImpl const&) @ 0x20f05b42 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToTimeImpl const&) @ 0x20f0502e in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f0408e in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:44.244317 [ 2750 ] {224f10b2-6621-400e-b2a7-7d68a5526fca} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toTime: while executing 'FUNCTION toTime(x1 :: 0) -> toTime(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19ddb8d3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19ddb663 in /usr/bin/clickhouse 7. ? @ 0x20e53dbb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToTimeImpl const&) @ 0x20f05b42 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToTimeImpl const&) @ 0x20f0502e in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f0408e in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 2024.03.27 21:34:44.411493 [ 8931 ] {fa66d1fd-deb9-4ccd-8934-6f325af8212e} executeQuery: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for _table. (ILLEGAL_PREWHERE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50658) (comment: 01915_merge_prewhere_virtual_column_rand_chao_wang.sql) (in query: -- In version 20.12 this query sometimes produces an exception "Cannot find column" SELECT f2 FROM merge(currentDatabase(), '^abc$') PREWHERE _table = 'abc' AND f1 = 'a' AND rand() % 100 < 20;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:2200: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x2ad96a51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:822: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad90d64 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:44.426520 [ 8931 ] {fa66d1fd-deb9-4ccd-8934-6f325af8212e} TCPHandler: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for _table. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:2200: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x2ad96a51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:822: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad90d64 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:44.476648 [ 8931 ] {f568ff41-34c5-46c7-9879-6c775b4fad2c} executeQuery: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for _table. (ILLEGAL_PREWHERE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50658) (comment: 01915_merge_prewhere_virtual_column_rand_chao_wang.sql) (in query: SELECT f2 FROM merge(currentDatabase(), '^abc$') PREWHERE _table = 'abc' AND f1 = 'a';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:2200: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x2ad96a51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:822: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad90d64 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:44.480719 [ 8931 ] {f568ff41-34c5-46c7-9879-6c775b4fad2c} TCPHandler: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for _table. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:2200: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x2ad96a51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:822: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad90d64 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:49.452348 [ 8933 ] {01482551-61c2-4d6a-baa1-556def8adbb9} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(toUInt8(id), 1)' of type 'UInt16'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: -- `e + 1` is UInt16 SELECT DISTINCT t1.key, toUInt8(t1.id) as e FROM t1 INNER ANY JOIN t2 ON t1.id == t2.id AND e + 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2aee0ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cc63c13 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cee82fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2adad914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:49.453603 [ 8933 ] {01482551-61c2-4d6a-baa1-556def8adbb9} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(toUInt8(id), 1)' of type 'UInt16'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2aee0ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cc63c13 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cee82fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2adad914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:49.596163 [ 8933 ] {06b9974d-d7df-4d25-960d-5d1b5ff16c6b} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2aee0ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cc63c13 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cee82fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2adad914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:49.597206 [ 8933 ] {06b9974d-d7df-4d25-960d-5d1b5ff16c6b} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2aee0ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cc63c13 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cee82fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2adad914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:49.734301 [ 8933 ] {3e1f537c-dba3-4f48-b1ad-ef703440e566} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2aeddf41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05c1bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05bf69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a05bc6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a05bae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a05b30e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03c86e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:34:49.736010 [ 8933 ] {3e1f537c-dba3-4f48-b1ad-ef703440e566} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2aeddf41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05c1bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05bf69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a05bc6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a05bae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a05b30e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03c86e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:34:49.757832 [ 8933 ] {335d6a21-e5cc-402a-b022-52a925f22da5} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id + 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2aee0ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cc63c13 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cee82fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2adad914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:49.758998 [ 8933 ] {335d6a21-e5cc-402a-b022-52a925f22da5} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2aee0ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cc63c13 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cee82fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2adad914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:49.776897 [ 8933 ] {6aa77cee-f929-4068-94af-b0b00ccec4d1} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(t2.id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.id + 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2aeddf41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05c1bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05bf69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a05bc6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a05bae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a05b30e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03c86e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:34:49.778226 [ 8933 ] {6aa77cee-f929-4068-94af-b0b00ccec4d1} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(t2.id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2aeddf41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05c1bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05bf69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a05bc6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a05bae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a05b30e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03c86e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:34:49.797560 [ 8933 ] {c1773935-c1e6-452e-8553-002ddd6f1a5c} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.key;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2aee0ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cc63c13 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cee82fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2adad914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:49.798558 [ 8933 ] {c1773935-c1e6-452e-8553-002ddd6f1a5c} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2aee0ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cc63c13 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cee82fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2adad914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:49.814619 [ 8933 ] {74c7fe06-0c51-4e8c-ab20-62f96bb7da65} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.key;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2aeddf41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05c1bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05bf69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a05bc6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a05bae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a05b30e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03c86e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:34:49.815963 [ 8933 ] {74c7fe06-0c51-4e8c-ab20-62f96bb7da65} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2aeddf41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05c1bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05bf69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a05bc6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a05bae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a05b30e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03c86e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:34:49.953148 [ 8933 ] {dfbdbef5-e096-495e-9657-e26bd427f894} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '(id = t2.id) OR (t2.key2 IS NULL)': While processing (id = t2.id) OR (t2.key2 IS NULL). (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 AND (t1.id == t2.id OR isNull(t2.key2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cd366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b244be4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2449e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244de1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b244825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b233e9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:34:49.954784 [ 8933 ] {dfbdbef5-e096-495e-9657-e26bd427f894} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '(id = t2.id) OR (t2.key2 IS NULL)': While processing (id = t2.id) OR (t2.key2 IS NULL). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cd366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b244be4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2449e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244de1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b244825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b233e9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:34:50.075593 [ 8933 ] {dd9221b5-c27f-41bc-a9e5-b000a2134a32} executeQuery: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: '(t2.key = t2.key2) OR (id = t2.id)', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(t2.key, t2.key2)']; [Left keys: [id] Right keys [t2.id] Condition columns: '', '']. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 OR t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:652: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b23405d in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:50.076805 [ 8933 ] {dd9221b5-c27f-41bc-a9e5-b000a2134a32} TCPHandler: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: '(t2.key = t2.key2) OR (id = t2.id)', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(t2.key, t2.key2)']; [Left keys: [id] Right keys [t2.id] Condition columns: '', '']. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:652: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b23405d in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:50.222300 [ 8933 ] {7ada042d-bcce-42fe-9beb-e192a1f440ed} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '((key = key2) AND (key != 'XXX')) OR (id = t2.id)': While processing ((key = key2) AND (key != 'XXX')) OR (id = t2.id). (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON (t2.key == t2.key2 AND (t1.key == t1.key2 AND t1.key != 'XXX' OR t1.id == t2.id)) AND t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cd366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b244be4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2449e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244de1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b244825 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b233e9c in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:34:50.223959 [ 8933 ] {7ada042d-bcce-42fe-9beb-e192a1f440ed} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '((key = key2) AND (key != 'XXX')) OR (id = t2.id)': While processing ((key = key2) AND (key != 'XXX')) OR (id = t2.id). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cd366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b244be4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2449e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244de1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b244825 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b233e9c in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:34:50.343425 [ 8933 ] {e5140cfc-1ce5-4c34-a480-042851deb6b6} executeQuery: Code: 48. DB::Exception: Only `hash` join supports multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 AND t1.key == t1.key2 AND t1.key != 'XXX' AND t1.id == t2.id OR t2.key == t2.key2 AND t1.id == t2.id AND t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20d9db5e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:664: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b234231 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:50.344825 [ 8933 ] {e5140cfc-1ce5-4c34-a480-042851deb6b6} TCPHandler: Code: 48. DB::Exception: Only `hash` join supports multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20d9db5e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:664: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b234231 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:50.355854 [ 8933 ] {ebe7050f-be55-496c-968e-122eb03fe288} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= t2.id': While processing id >= t2.id. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: -- non-equi condition containing columns from different tables doesn't supported yet SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id >= t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cd366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b244be4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2449e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244de1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b244825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b233e9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:34:50.357141 [ 8933 ] {ebe7050f-be55-496c-968e-122eb03fe288} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= t2.id': While processing id >= t2.id. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cd366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b244be4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2449e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244de1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b244825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b233e9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:34:50.371189 [ 8933 ] {34948de4-1988-4adc-82f7-acfc2c817a97} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= length(t2.key)': While processing id >= length(t2.key). (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ANY JOIN t2 ON t1.id == t2.id AND t2.key == t2.key2 AND t1.key == t1.key2 AND t1.id >= length(t2.key);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cd366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b244be4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2449e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244de1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b244825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b233e9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:34:50.372799 [ 8933 ] {34948de4-1988-4adc-82f7-acfc2c817a97} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= length(t2.key)': While processing id >= length(t2.key). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cd366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b244be4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2449e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244de1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b244825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b233e9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:34:51.382184 [ 8933 ] {9099ce53-6b45-4407-a836-8306a4c7002e} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(toUInt8(id), 1)' of type 'UInt16'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: -- `e + 1` is UInt16 SELECT DISTINCT t1.key, toUInt8(t1.id) as e FROM t1 INNER ANY JOIN t2 ON t1.id == t2.id AND e + 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2aee0ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cc63c13 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cee82fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2adad914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:51.383499 [ 8933 ] {9099ce53-6b45-4407-a836-8306a4c7002e} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(toUInt8(id), 1)' of type 'UInt16'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2aee0ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cc63c13 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cee82fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2adad914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:51.514991 [ 8933 ] {2b0fdf66-5950-4008-8566-dbbff140c8cf} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2aee0ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cc63c13 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cee82fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2adad914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:51.516006 [ 8933 ] {2b0fdf66-5950-4008-8566-dbbff140c8cf} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2aee0ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cc63c13 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cee82fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2adad914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:51.531517 [ 8933 ] {4dd0598f-9716-438f-b7fb-b1d00fd3a01b} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2aeddf41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05c1bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05bf69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a05bc6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a05bae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a05b30e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03c86e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:34:51.533048 [ 8933 ] {4dd0598f-9716-438f-b7fb-b1d00fd3a01b} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2aeddf41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05c1bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05bf69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a05bc6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a05bae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a05b30e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03c86e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:34:51.553132 [ 8933 ] {590644f2-3803-4c09-ba14-a09a28870347} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id + 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2aee0ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cc63c13 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cee82fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2adad914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:51.554181 [ 8933 ] {590644f2-3803-4c09-ba14-a09a28870347} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2aee0ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cc63c13 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cee82fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2adad914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:51.571246 [ 8933 ] {d9ddf823-797c-4256-893c-94cdcd3294ad} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(t2.id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.id + 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2aeddf41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05c1bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05bf69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a05bc6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a05bae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a05b30e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03c86e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:34:51.572702 [ 8933 ] {d9ddf823-797c-4256-893c-94cdcd3294ad} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(t2.id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2aeddf41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05c1bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05bf69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a05bc6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a05bae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a05b30e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03c86e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:34:51.590602 [ 8933 ] {de4e03b1-678d-4d77-ab41-4d4876344485} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.key;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2aee0ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cc63c13 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cee82fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2adad914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:51.591624 [ 8933 ] {de4e03b1-678d-4d77-ab41-4d4876344485} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2aee0ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cc63c13 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cee82fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2adad914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:51.606739 [ 8933 ] {68a9cb42-3cf0-4064-980b-0eaa205b33e2} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.key;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2aeddf41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05c1bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05bf69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a05bc6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a05bae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a05b30e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03c86e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:34:51.608079 [ 8933 ] {68a9cb42-3cf0-4064-980b-0eaa205b33e2} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2aec43a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2aec41c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2aeddf41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05c1bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05bf69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a05bc6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a05bae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a05b30e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03c86e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:34:51.619709 [ 8933 ] {1464bd87-f902-4248-bf7a-c2fdbb0057e5} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '(id = t2.id) OR (t2.key2 IS NULL)': While processing (id = t2.id) OR (t2.key2 IS NULL). (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 AND (t1.id == t2.id OR isNull(t2.key2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cd366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b244be4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2449e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244de1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b244825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b233e9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:34:51.621163 [ 8933 ] {1464bd87-f902-4248-bf7a-c2fdbb0057e5} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '(id = t2.id) OR (t2.key2 IS NULL)': While processing (id = t2.id) OR (t2.key2 IS NULL). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cd366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b244be4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2449e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244de1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b244825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b233e9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:34:51.632263 [ 8933 ] {b5fb7f26-0af1-4b06-aeb5-6f843ed8182c} executeQuery: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: '(t2.key = t2.key2) OR (id = t2.id)', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(t2.key, t2.key2)']; [Left keys: [id] Right keys [t2.id] Condition columns: '', '']. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 OR t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:652: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b23405d in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:51.633417 [ 8933 ] {b5fb7f26-0af1-4b06-aeb5-6f843ed8182c} TCPHandler: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: '(t2.key = t2.key2) OR (id = t2.id)', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(t2.key, t2.key2)']; [Left keys: [id] Right keys [t2.id] Condition columns: '', '']. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:652: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b23405d in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:51.647471 [ 8933 ] {5ab836fd-e54b-410d-85e3-aed6091527ed} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '((key = key2) AND (key != 'XXX')) OR (id = t2.id)': While processing ((key = key2) AND (key != 'XXX')) OR (id = t2.id). (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON (t2.key == t2.key2 AND (t1.key == t1.key2 AND t1.key != 'XXX' OR t1.id == t2.id)) AND t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cd366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b244be4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2449e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244de1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b244825 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b233e9c in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:34:51.648981 [ 8933 ] {5ab836fd-e54b-410d-85e3-aed6091527ed} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '((key = key2) AND (key != 'XXX')) OR (id = t2.id)': While processing ((key = key2) AND (key != 'XXX')) OR (id = t2.id). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cd366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b244be4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2449e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244de1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b244825 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b233e9c in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:34:51.666525 [ 8933 ] {b11a1b66-bc89-4224-841f-b6524efa47f2} executeQuery: Code: 48. DB::Exception: Only `hash` join supports multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 AND t1.key == t1.key2 AND t1.key != 'XXX' AND t1.id == t2.id OR t2.key == t2.key2 AND t1.id == t2.id AND t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20d9db5e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:664: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b234231 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:51.667793 [ 8933 ] {b11a1b66-bc89-4224-841f-b6524efa47f2} TCPHandler: Code: 48. DB::Exception: Only `hash` join supports multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20d9db5e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:664: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b234231 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:51.678600 [ 8933 ] {2abe5e37-ba9f-4c84-9be1-9896147e21f5} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= t2.id': While processing id >= t2.id. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: -- non-equi condition containing columns from different tables doesn't supported yet SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id >= t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cd366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b244be4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2449e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244de1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b244825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b233e9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:34:51.679985 [ 8933 ] {2abe5e37-ba9f-4c84-9be1-9896147e21f5} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= t2.id': While processing id >= t2.id. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cd366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b244be4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2449e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244de1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b244825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b233e9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:34:51.693030 [ 8933 ] {fe56b522-c6f3-4b12-bb21-ba3e00b49d28} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= length(t2.key)': While processing id >= length(t2.key). (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33368) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ANY JOIN t2 ON t1.id == t2.id AND t2.key == t2.key2 AND t1.key == t1.key2 AND t1.id >= length(t2.key);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cd366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b244be4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2449e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244de1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b244825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b233e9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:34:51.694645 [ 8933 ] {fe56b522-c6f3-4b12-bb21-ba3e00b49d28} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= length(t2.key)': While processing id >= length(t2.key). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cd366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b244be4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2449e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244de1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b244825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b233e9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:34:53.193680 [ 8952 ] {9d43598a-01fc-4b18-b270-06764df3c5d7} executeQuery: Code: 36. DB::Exception: Cell is not valid: While processing s2CellsIntersect(9926595209846587392, 9223372036854775806). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33536) (comment: 01853_s2_cells_intersect.sql) (in query: SELECT s2CellsIntersect(9926595209846587392, 9223372036854775806);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [18]) @ 0x1abe3e1e in /usr/bin/clickhouse 6. /build/src/Functions/s2CellsIntersect.cpp:106: DB::(anonymous namespace)::FunctionS2CellsIntersect::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d69084 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:34:53.195033 [ 8952 ] {9d43598a-01fc-4b18-b270-06764df3c5d7} TCPHandler: Code: 36. DB::Exception: Cell is not valid: While processing s2CellsIntersect(9926595209846587392, 9223372036854775806). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [18]) @ 0x1abe3e1e in /usr/bin/clickhouse 6. /build/src/Functions/s2CellsIntersect.cpp:106: DB::(anonymous namespace)::FunctionS2CellsIntersect::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d69084 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:34:53.825553 [ 8952 ] {82680822-bd40-42b4-a16f-848dd534ee9b} executeQuery: Code: 407. DB::Exception: Decimal math overflow: While processing arrayDifference([toDecimal32(100.0000991821289, 0), -2147483647]) AS x. (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33550) (comment: 01851_array_difference_decimal_overflow_ubsan.sql) (in query: SELECT arrayDifference([toDecimal32(100.0000991821289, 0), -2147483647]) AS x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [22]) @ 0x1976075e in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayDifference.cpp:81: void DB::ArrayDifferenceImpl::impl, DB::Decimal>(DB::Decimal const*, DB::Decimal*, unsigned long, unsigned long) @ 0x213dd892 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayDifference.cpp:122: bool DB::ArrayDifferenceImpl::executeType, DB::Decimal>(COW::immutable_ptr const&, DB::ColumnArray const&, COW::immutable_ptr&) @ 0x213dc4a6 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayDifference.cpp:146: DB::ArrayDifferenceImpl::execute(DB::ColumnArray const&, COW::immutable_ptr) @ 0x213da081 in /usr/bin/clickhouse 9. /build/src/Functions/array/FunctionArrayMapped.h:307: DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x213d6f08 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:34:53.826720 [ 8952 ] {82680822-bd40-42b4-a16f-848dd534ee9b} TCPHandler: Code: 407. DB::Exception: Decimal math overflow: While processing arrayDifference([toDecimal32(100.0000991821289, 0), -2147483647]) AS x. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [22]) @ 0x1976075e in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayDifference.cpp:81: void DB::ArrayDifferenceImpl::impl, DB::Decimal>(DB::Decimal const*, DB::Decimal*, unsigned long, unsigned long) @ 0x213dd892 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayDifference.cpp:122: bool DB::ArrayDifferenceImpl::executeType, DB::Decimal>(COW::immutable_ptr const&, DB::ColumnArray const&, COW::immutable_ptr&) @ 0x213dc4a6 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayDifference.cpp:146: DB::ArrayDifferenceImpl::execute(DB::ColumnArray const&, COW::immutable_ptr) @ 0x213da081 in /usr/bin/clickhouse 9. /build/src/Functions/array/FunctionArrayMapped.h:307: DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x213d6f08 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:34:54.616341 [ 8952 ] {63c3d5a3-cb6c-4d29-81b5-26d3b2c62d7b} executeQuery: Code: 16. DB::Exception: Missing column `_partition_value` because there is no partition column in table tbl2. (NO_SUCH_COLUMN_IN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33556) (comment: 01848_partition_value_column.sql) (in query: select _partition_value from tbl2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1249: DB::selectColumnNames(std::vector> const&, DB::MergeTreeData const&, std::vector>&, std::vector>&, bool&) @ 0x2c20205b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1337: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6c79 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:54.617750 [ 8952 ] {63c3d5a3-cb6c-4d29-81b5-26d3b2c62d7b} TCPHandler: Code: 16. DB::Exception: Missing column `_partition_value` because there is no partition column in table tbl2. (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1249: DB::selectColumnNames(std::vector> const&, DB::MergeTreeData const&, std::vector>&, std::vector>&, bool&) @ 0x2c20205b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1337: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6c79 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:54.626890 [ 8952 ] {d33f427f-d656-474b-a2aa-1f3a8f166cee} executeQuery: Code: 16. DB::Exception: Missing column `_partition_value` because there is no partition column in table tbl2. (NO_SUCH_COLUMN_IN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33556) (comment: 01848_partition_value_column.sql) (in query: select _partition_value from tbl2 group by 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1249: DB::selectColumnNames(std::vector> const&, DB::MergeTreeData const&, std::vector>&, std::vector>&, bool&) @ 0x2c20205b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1337: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6c79 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:54.628145 [ 8952 ] {d33f427f-d656-474b-a2aa-1f3a8f166cee} TCPHandler: Code: 16. DB::Exception: Missing column `_partition_value` because there is no partition column in table tbl2. (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1249: DB::selectColumnNames(std::vector> const&, DB::MergeTreeData const&, std::vector>&, std::vector>&, bool&) @ 0x2c20205b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1337: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c1f6c79 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c1f33b1 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c56dbdf in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:55.597333 [ 8952 ] {fa8dbde4-d266-48c0-a0e4-d62405c0fa3a} executeQuery: Code: 691. DB::Exception: Unknown element 'Helo' for enum, maybe you meant: ['Hello']: While processing CAST('Helo', 'Enum(\'Hello\' = 1, \'World\' = 2)'). (UNKNOWN_ELEMENT_OF_ENUM) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41842) (comment: 01852_hints_enum_name.sh) (in query: SELECT CAST('Helo' AS Enum('Hello' = 1, 'World' = 2))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0476ec in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x29a31b0a in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3663: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19dbe594 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dbe1c6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dbe12c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dbe0c0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19dbe068 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 2024.03.27 21:34:55.599618 [ 8952 ] {fa8dbde4-d266-48c0-a0e4-d62405c0fa3a} TCPHandler: Code: 691. DB::Exception: Unknown element 'Helo' for enum, maybe you meant: ['Hello']: While processing CAST('Helo', 'Enum(\'Hello\' = 1, \'World\' = 2)'). (UNKNOWN_ELEMENT_OF_ENUM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0476ec in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x29a31b0a in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3663: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19dbe594 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dbe1c6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dbe12c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dbe0c0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19dbe068 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 2024.03.27 21:34:56.716399 [ 6021 ] {3fe4f21f-af11-4d63-ab6c-e2a51b3a8d9a} executeQuery: Code: 44. DB::Exception: Cannot create table with column of type Object, because storage Log doesn't support dynamic subcolumns. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41872) (comment: 01825_type_json_1.sql) (in query: CREATE TABLE t_json(id UInt64, data Object('JSON')) ENGINE = Log;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1470: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4e94c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:34:56.717295 [ 6021 ] {3fe4f21f-af11-4d63-ab6c-e2a51b3a8d9a} TCPHandler: Code: 44. DB::Exception: Cannot create table with column of type Object, because storage Log doesn't support dynamic subcolumns. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1470: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4e94c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:07.064981 [ 1011 ] {bb805b1f-0cb2-4b6a-bf39-dce43eeb09c8} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59490) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:07.065812 [ 1011 ] {bb805b1f-0cb2-4b6a-bf39-dce43eeb09c8} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:07.336748 [ 8960 ] {dc05ea36-805d-4ac9-8e6e-15d1fe9f3811} executeQuery: Code: 53. DB::Exception: Uncompatible types of subcolumn 'k1': Array(Int8) and String. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59498) (comment: 01825_type_json_4.sh) (in query: INSERT INTO t_json_4 FORMAT JSONEachRow), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/DataTypes/ObjectUtils.cpp:340: DB::getLeastCommonTypeForObject(std::vector, std::allocator>> const&, bool) @ 0x29a5baf3 in /usr/bin/clickhouse 7. /build/src/DataTypes/ObjectUtils.cpp:418: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x29a56090 in /usr/bin/clickhouse 8. /build/src/DataTypes/ObjectUtils.cpp:451: DB::getLeastCommonTypeForDynamicColumns(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x29a55a5a in /usr/bin/clickhouse 9. /build/src/DataTypes/ObjectUtils.cpp:254: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x29a54f86 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeSink.cpp:62: DB::MergeTreeSink::consume(DB::Chunk) @ 0x2c5af3d2 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 2024.03.27 21:35:07.338834 [ 8960 ] {dc05ea36-805d-4ac9-8e6e-15d1fe9f3811} TCPHandler: Code: 53. DB::Exception: Uncompatible types of subcolumn 'k1': Array(Int8) and String. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/DataTypes/ObjectUtils.cpp:340: DB::getLeastCommonTypeForObject(std::vector, std::allocator>> const&, bool) @ 0x29a5baf3 in /usr/bin/clickhouse 7. /build/src/DataTypes/ObjectUtils.cpp:418: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x29a56090 in /usr/bin/clickhouse 8. /build/src/DataTypes/ObjectUtils.cpp:451: DB::getLeastCommonTypeForDynamicColumns(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x29a55a5a in /usr/bin/clickhouse 9. /build/src/DataTypes/ObjectUtils.cpp:254: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x29a54f86 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeSink.cpp:62: DB::MergeTreeSink::consume(DB::Chunk) @ 0x2c5af3d2 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 2024.03.27 21:35:12.919452 [ 1011 ] {95d12280-0860-4a4e-97f0-aac2f55c3861} executeQuery: Code: 36. DB::Exception: Aggregate function mannWhitneyUTest require both samples to be non empty. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59664) (comment: 01802_rank_corr_mann_whitney_over_window.sql) (in query: SELECT mannWhitneyUTest(salary, salary) OVER (ORDER BY salary ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) AS func FROM 01802_empsalary;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionMannWhitney.h:233: DB::AggregateFunctionMannWhitney::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x25d24e8e in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/IAggregateFunction.h:190: DB::IAggregateFunction::insertMergeResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x22553bcf in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:982: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd53280 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:35:12.922003 [ 1011 ] {95d12280-0860-4a4e-97f0-aac2f55c3861} TCPHandler: Code: 36. DB::Exception: Aggregate function mannWhitneyUTest require both samples to be non empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionMannWhitney.h:233: DB::AggregateFunctionMannWhitney::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x25d24e8e in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/IAggregateFunction.h:190: DB::IAggregateFunction::insertMergeResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x22553bcf in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:982: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd53280 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:35:13.067856 [ 1011 ] {a5b3ad9b-96ea-4df5-9da4-ac4443931db1} executeQuery: Code: 36. DB::Exception: All numbers in both samples are identical. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59664) (comment: 01802_rank_corr_mann_whitney_over_window.sql) (in query: SELECT rankCorr(salary, 0.5) OVER (ORDER BY salary ASC ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) AS func FROM 01802_empsalary;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19ee1dfe in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/StatCommon.h:50: std::pair>, double> DB::computeRanksAndTieCorrection, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>>(DB::PODArray, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul> const&) @ 0x25d206ab in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionRankCorrelation.h:32: DB::RankCorrelationData::getResult() @ 0x25d2012e in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionRankCorrelation.h:92: DB::AggregateFunctionRankCorrelation::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x25d1e789 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/IAggregateFunction.h:190: DB::IAggregateFunction::insertMergeResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x22553bcf in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:982: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd53280 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 2024.03.27 21:35:13.069957 [ 1011 ] {a5b3ad9b-96ea-4df5-9da4-ac4443931db1} TCPHandler: Code: 36. DB::Exception: All numbers in both samples are identical. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19ee1dfe in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/StatCommon.h:50: std::pair>, double> DB::computeRanksAndTieCorrection, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>>(DB::PODArray, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul> const&) @ 0x25d206ab in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionRankCorrelation.h:32: DB::RankCorrelationData::getResult() @ 0x25d2012e in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionRankCorrelation.h:92: DB::AggregateFunctionRankCorrelation::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x25d1e789 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/IAggregateFunction.h:190: DB::IAggregateFunction::insertMergeResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x22553bcf in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:982: DB::WindowTransform::writeOutCurrentRow() @ 0x2cd53280 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cd53b70 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cd57be1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 2024.03.27 21:35:16.094133 [ 6021 ] {82fe6ca3-785f-4952-a28b-bc93ac9341e2} executeQuery: Code: 53. DB::Exception: Cast to Object from Map can be performed only from Map with String or FixedString key. Got: Map(UInt64, UInt64): while converting source column `CAST(tuple(range(modulo(number, 10)), range(modulo(number, 10))), 'Map(UInt64, UInt64)')` to destination column obj. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41952) (comment: 01825_type_json_from_map.sql) (in query: INSERT INTO t_json SELECT number, (range(number % 10), range(number % 10))::Map(UInt64, UInt64) FROM numbers(1000000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3462: DB::FunctionCast::createMapToObjectWrapper(DB::DataTypeMap const&, bool) const @ 0x19b5f765 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3541: DB::FunctionCast::createObjectWrapper(std::shared_ptr const&, DB::DataTypeObject const*) const @ 0x19720e04 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:4048: DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x1971e851 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:3800: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x1971cb3c in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:3726: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19717b4d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x1971737c in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36d49 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:1304: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x29d40046 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:481: DB::InterpreterInsertQuery::execute() @ 0x2ad68044 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:16.095364 [ 6021 ] {82fe6ca3-785f-4952-a28b-bc93ac9341e2} TCPHandler: Code: 53. DB::Exception: Cast to Object from Map can be performed only from Map with String or FixedString key. Got: Map(UInt64, UInt64): while converting source column `CAST(tuple(range(modulo(number, 10)), range(modulo(number, 10))), 'Map(UInt64, UInt64)')` to destination column obj. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3462: DB::FunctionCast::createMapToObjectWrapper(DB::DataTypeMap const&, bool) const @ 0x19b5f765 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3541: DB::FunctionCast::createObjectWrapper(std::shared_ptr const&, DB::DataTypeObject const*) const @ 0x19720e04 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:4048: DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x1971e851 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:3800: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x1971cb3c in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:3726: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19717b4d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x1971737c in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36d49 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:1304: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x29d40046 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:481: DB::InterpreterInsertQuery::execute() @ 0x2ad68044 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:18.602811 [ 3331 ] {107986ac-54a4-41c9-ae40-52b7b4d91c01} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.00 GiB (attempt to allocate chunk of 8589934592 bytes), maximum: 953.67 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39428) (comment: 01783_parallel_formatting_memory.sh) (in query: SELECT range(65535) FROM system.one ARRAY JOIN range(65536) AS number), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a6c05 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a6a99 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:238: COW::immutable_ptr DB::ColumnArray::replicateNumber(DB::PODArray, 63ul, 64ul> const&) const @ 0x2b48f0e4 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnArray.cpp:975: DB::ColumnArray::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x2b4809fb in /usr/bin/clickhouse 15. /build/src/Columns/ColumnConst.cpp:48: DB::ColumnConst::convertToFullColumn() const @ 0x2b4b8a42 in /usr/bin/clickhouse 16. /build/src/Columns/ColumnConst.h:39: DB::ColumnConst::convertToFullColumnIfConst() const @ 0x1a1928a0 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/MaterializingTransform.cpp:16: DB::MaterializingTransform::transform(DB::Chunk&) @ 0x2cc72cd3 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 28. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 29. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 30. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:35:18.604706 [ 3331 ] {107986ac-54a4-41c9-ae40-52b7b4d91c01} DynamicQueryHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.00 GiB (attempt to allocate chunk of 8589934592 bytes), maximum: 953.67 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a6c05 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a6a99 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:238: COW::immutable_ptr DB::ColumnArray::replicateNumber(DB::PODArray, 63ul, 64ul> const&) const @ 0x2b48f0e4 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnArray.cpp:975: DB::ColumnArray::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x2b4809fb in /usr/bin/clickhouse 15. /build/src/Columns/ColumnConst.cpp:48: DB::ColumnConst::convertToFullColumn() const @ 0x2b4b8a42 in /usr/bin/clickhouse 16. /build/src/Columns/ColumnConst.h:39: DB::ColumnConst::convertToFullColumnIfConst() const @ 0x1a1928a0 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/MaterializingTransform.cpp:16: DB::MaterializingTransform::transform(DB::Chunk&) @ 0x2cc72cd3 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 28. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 29. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 30. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:35:25.632095 [ 8960 ] {7da7dd92-7a75-458a-a133-c065886e6039} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 483.35 MiB (attempt to allocate chunk of 1048616 bytes), maximum: 476.84 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43638) (comment: 01782_field_oom.sql) (in query: SELECT sumMap([number], [number]) FROM system.numbers_mt;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/AllocatorWithMemoryTracking.h:35: AllocatorWithMemoryTracking::allocate(unsigned long) @ 0x19e59e36 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:35: std::allocation_result>::pointer> std::allocate_at_least[abi:v15000]>(AllocatorWithMemoryTracking&, unsigned long) @ 0x19e59d9d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42: auto std::__allocate_at_least[abi:v15000]>(AllocatorWithMemoryTracking&, unsigned long) @ 0x19e59c7d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__split_buffer:316: std::__split_buffer&>::__split_buffer(unsigned long, unsigned long, AllocatorWithMemoryTracking&) @ 0x1a7b1c6b in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/vector:1048: std::vector>::__append(unsigned long) @ 0x21117c3f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/vector:1918: std::vector>::resize(unsigned long) @ 0x21117580 in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:253: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x245804df in /usr/bin/clickhouse 17. /build/src/AggregateFunctions/IAggregateFunction.h:519: DB::IAggregateFunctionHelper>::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x2458290a in /usr/bin/clickhouse 18. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x2a15224e in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:1584: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aae65 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 2024.03.27 21:35:28.343540 [ 8949 ] {8c57481b-34c8-4465-949f-47153c0de8f8} executeQuery: Code: 36. DB::Exception: Encrypted data is smaller than the size of additional data for AEAD mode, cannot decrypt.: While processing decrypt('aes-128-gcm', '[HIDDEN]'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52632) (comment: 01776_decrypt_aead_size_check.sql) (in query: SELECT decrypt('aes-128-gcm', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [90]) @ 0x1c05b2be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsAES.h:563: COW::immutable_ptr DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::doDecryptImpl<(OpenSSLDetails::CipherMode)2, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x1c059a07 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsAES.h:516: COW::immutable_ptr DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x1c0597ab in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsAES.h:484: DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c058de3 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:35:28.344770 [ 8949 ] {8c57481b-34c8-4465-949f-47153c0de8f8} TCPHandler: Code: 36. DB::Exception: Encrypted data is smaller than the size of additional data for AEAD mode, cannot decrypt.: While processing decrypt('aes-128-gcm', '[HIDDEN]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [90]) @ 0x1c05b2be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsAES.h:563: COW::immutable_ptr DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::doDecryptImpl<(OpenSSLDetails::CipherMode)2, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x1c059a07 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsAES.h:516: COW::immutable_ptr DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x1c0597ab in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsAES.h:484: DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c058de3 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:35:28.566169 [ 8949 ] {51bb4b04-c8ad-41db-8086-8a079a053af7} executeQuery: Code: 36. DB::Exception: Value of width must not be NaN and Inf: While processing greatCircleAngle(1048575, 257, -9223372036854775808, 1048576) - NULL, bar(7, -inf, 1024). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52642) (comment: 01774_bar_with_illegal_value.sql) (in query: SELECT greatCircleAngle(1048575, 257, -9223372036854775808, 1048576) - NULL, bar(7, -inf, 1024);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [39]) @ 0x1a9e965e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:115: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a9e8c7b in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:35:28.568052 [ 8949 ] {51bb4b04-c8ad-41db-8086-8a079a053af7} TCPHandler: Code: 36. DB::Exception: Value of width must not be NaN and Inf: While processing greatCircleAngle(1048575, 257, -9223372036854775808, 1048576) - NULL, bar(7, -inf, 1024). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [39]) @ 0x1a9e965e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:115: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a9e8c7b in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:35:29.853129 [ 8949 ] {2d4e1b32-994e-4f16-bada-a4983e45ca21} executeQuery: Code: 407. DB::Exception: Convert overflow: While processing toUnixTimestamp(toDateTime64('1900-12-12 11:22:33', 0, 'UTC')). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52686) (comment: 01768_extended_range.sql) (in query: SELECT toUnixTimestamp(toDateTime64('1900-12-12 11:22:33', 0, 'UTC'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Core/DecimalFunctions.h:342: void DB::DecimalUtils::convertToImpl(DB::DateTime64 const&, unsigned int, unsigned int&) @ 0x197d8106 in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:176: void DB::convertFromDecimalImpl, void>(DB::DataTypeDateTime64::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x197d8083 in /usr/bin/clickhouse 8. /build/src/DataTypes/DataTypesDecimal.h:187: DB::DataTypeNumber::FieldType DB::convertFromDecimal>(DB::DataTypeDateTime64::FieldType const&, unsigned int) @ 0x197d803f in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:262: COW::immutable_ptr DB::ConvertImpl, DB::NameToUnixTimestamp, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19ff30c3 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1948: bool DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19feca18 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:202: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19fd8999 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19fd7ce8 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19fd6efe in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 2024.03.27 21:35:29.854590 [ 8949 ] {2d4e1b32-994e-4f16-bada-a4983e45ca21} TCPHandler: Code: 407. DB::Exception: Convert overflow: While processing toUnixTimestamp(toDateTime64('1900-12-12 11:22:33', 0, 'UTC')). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Core/DecimalFunctions.h:342: void DB::DecimalUtils::convertToImpl(DB::DateTime64 const&, unsigned int, unsigned int&) @ 0x197d8106 in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:176: void DB::convertFromDecimalImpl, void>(DB::DataTypeDateTime64::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x197d8083 in /usr/bin/clickhouse 8. /build/src/DataTypes/DataTypesDecimal.h:187: DB::DataTypeNumber::FieldType DB::convertFromDecimal>(DB::DataTypeDateTime64::FieldType const&, unsigned int) @ 0x197d803f in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:262: COW::immutable_ptr DB::ConvertImpl, DB::NameToUnixTimestamp, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19ff30c3 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1948: bool DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19feca18 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:202: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19fd8999 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19fd7ce8 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19fd6efe in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 2024.03.27 21:35:33.539285 [ 634 ] {cc6aa423-40a9-41ff-97c3-6e1d119ee841} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n3 which is referenced by materialized view ['01746_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52776) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_merge_tree` DROP COLUMN n3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3077: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e7388 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:33.540124 [ 634 ] {cc6aa423-40a9-41ff-97c3-6e1d119ee841} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n3 which is referenced by materialized view ['01746_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3077: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e7388 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:33.552695 [ 634 ] {0a909840-1b6a-4835-b2f6-4ddfe28c3568} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52776) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_merge_tree` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3077: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e7388 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:33.553457 [ 634 ] {0a909840-1b6a-4835-b2f6-4ddfe28c3568} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3077: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e7388 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:33.702871 [ 634 ] {3b07c43b-ca81-40e8-aa25-31cc8568cdd0} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_null_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52776) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_null` DROP COLUMN n1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageNull.cpp:56: DB::StorageNull::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b9b33bd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:33.704047 [ 634 ] {3b07c43b-ca81-40e8-aa25-31cc8568cdd0} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_null_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageNull.cpp:56: DB::StorageNull::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b9b33bd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:33.712453 [ 634 ] {a3ad7766-40a2-407c-9090-601571b41bc3} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_null_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52776) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_null` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageNull.cpp:56: DB::StorageNull::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b9b33bd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:33.713263 [ 634 ] {a3ad7766-40a2-407c-9090-601571b41bc3} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_null_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageNull.cpp:56: DB::StorageNull::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b9b33bd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:33.862123 [ 634 ] {f72a8b0d-2dea-4119-92f5-4da2edd66db9} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_dist_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52776) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_dist` DROP COLUMN n1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1419: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b8a5b6c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:33.863111 [ 634 ] {f72a8b0d-2dea-4119-92f5-4da2edd66db9} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_dist_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1419: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b8a5b6c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:33.871758 [ 634 ] {0f09ac50-e395-4ffd-9d9d-c36151e42490} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_dist_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52776) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_dist` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1419: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b8a5b6c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:33.872515 [ 634 ] {0f09ac50-e395-4ffd-9d9d-c36151e42490} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_dist_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1419: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b8a5b6c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:34.025124 [ 634 ] {d18175c6-c3fb-4377-89be-bb68e29775d8} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_merge_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52776) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_merge` DROP COLUMN n1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:938: DB::StorageMerge::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b98c07d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:34.026073 [ 634 ] {d18175c6-c3fb-4377-89be-bb68e29775d8} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_merge_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:938: DB::StorageMerge::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b98c07d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:34.034454 [ 634 ] {a3b3d774-7942-404e-af07-cf7061fa5304} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_merge_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52776) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_merge` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:938: DB::StorageMerge::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b98c07d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:34.035266 [ 634 ] {a3b3d774-7942-404e-af07-cf7061fa5304} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_merge_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:938: DB::StorageMerge::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b98c07d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:34.193859 [ 634 ] {9c31229d-205c-4860-b3be-7c8fe6643b21} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_buffer_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52776) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_buffer` DROP COLUMN n1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:1033: DB::StorageBuffer::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2bc3595d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:34.194785 [ 634 ] {9c31229d-205c-4860-b3be-7c8fe6643b21} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_buffer_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:1033: DB::StorageBuffer::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2bc3595d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:34.202249 [ 634 ] {6c4abf47-60dc-48e7-98e2-dfcbb8337989} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_buffer_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52776) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_buffer` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:1033: DB::StorageBuffer::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2bc3595d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:34.203108 [ 634 ] {6c4abf47-60dc-48e7-98e2-dfcbb8337989} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_buffer_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:1033: DB::StorageBuffer::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2bc3595d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:35.706277 [ 634 ] {7b82d7ca-6cba-460d-bed3-eb816ebfc673} executeQuery: Code: 558. DB::Exception: Expected ALL or DISTINCT in SelectWithUnion query, because setting (union_default_mode) is empty: While processing SELECT 1 UNION SELECT 1 UNION ALL SELECT 1. (EXPECTED_ALL_OR_DISTINCT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36718) (comment: 01732_union_and_union_all.sql) (in query: select 1 UNION select 1 UNION ALL select 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [97]) @ 0x1976f37e in /usr/bin/clickhouse 6. /build/src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:68: DB::NormalizeSelectWithUnionQueryMatcher::visit(DB::ASTSelectWithUnionQuery&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x2b370091 in /usr/bin/clickhouse 7. /build/src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:33: DB::NormalizeSelectWithUnionQueryMatcher::visit(std::shared_ptr&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x2b36fd7d in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b3668a0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b3669ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b36676a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b363b85 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:511: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b34edb9 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:35.707375 [ 634 ] {7b82d7ca-6cba-460d-bed3-eb816ebfc673} TCPHandler: Code: 558. DB::Exception: Expected ALL or DISTINCT in SelectWithUnion query, because setting (union_default_mode) is empty: While processing SELECT 1 UNION SELECT 1 UNION ALL SELECT 1. (EXPECTED_ALL_OR_DISTINCT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [97]) @ 0x1976f37e in /usr/bin/clickhouse 6. /build/src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:68: DB::NormalizeSelectWithUnionQueryMatcher::visit(DB::ASTSelectWithUnionQuery&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x2b370091 in /usr/bin/clickhouse 7. /build/src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:33: DB::NormalizeSelectWithUnionQueryMatcher::visit(std::shared_ptr&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x2b36fd7d in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b3668a0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b3669ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b36676a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b363b85 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:511: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b34edb9 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:37.189640 [ 6095 ] {ceb634fe-9c00-4d77-afb8-686d53ae6162} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP key s column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36738) (comment: 01716_drop_rename_sign_column.sql) (in query: ALTER TABLE signed_table DROP COLUMN s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3063: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e71cb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:37.190629 [ 6095 ] {ceb634fe-9c00-4d77-afb8-686d53ae6162} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP key s column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3063: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e71cb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:37.284396 [ 6095 ] {10814350-cd15-41ed-b498-3ed528bb10e2} executeQuery: Code: 524. DB::Exception: Trying to ALTER RENAME key s column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36738) (comment: 01716_drop_rename_sign_column.sql) (in query: ALTER TABLE signed_table RENAME COLUMN s TO s1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3043: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e6e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:37.285335 [ 6095 ] {10814350-cd15-41ed-b498-3ed528bb10e2} TCPHandler: Code: 524. DB::Exception: Trying to ALTER RENAME key s column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3043: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e6e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:38.966252 [ 8931 ] {c61c58e2-7c70-478e-b84d-468ce6fd3757} executeQuery: Code: 46. DB::Exception: Table function 'view' cannot be used as an expression. (UNKNOWN_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36792) (comment: 01715_table_function_view_fix.sql) (in query: SELECT sumIf(dummy, dummy) FROM remote('127.0.0.{1,2}', numbers(2, 100), view(SELECT CAST(NULL, 'Nullable(UInt8)') AS dummy FROM system.one));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTFunction.cpp:476: DB::ASTFunction::appendColumnNameImpl(DB::WriteBuffer&) const @ 0x2d32c4d3 in /usr/bin/clickhouse 7. /build/src/Parsers/ASTWithAlias.cpp:49: DB::ASTWithAlias::appendColumnName(DB::WriteBuffer&) const @ 0x2d3775bd in /usr/bin/clickhouse 8. /build/src/Parsers/IAST.cpp:201: DB::IAST::getColumnName() const @ 0x2d3cbdd6 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1749: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a041dd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a042243 in /usr/bin/clickhouse 11. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b89b1b3 in /usr/bin/clickhouse 12. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b899c48 in /usr/bin/clickhouse 13. /build/src/Storages/StorageDistributed.cpp:395: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x2b89bf7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9ad70 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9aa02 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9a654 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9a41f in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c95b08 in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionRemote.cpp:285: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c929e7 in /usr/bin/clickhouse 20. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 22. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:35:38.967850 [ 8931 ] {c61c58e2-7c70-478e-b84d-468ce6fd3757} TCPHandler: Code: 46. DB::Exception: Table function 'view' cannot be used as an expression. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTFunction.cpp:476: DB::ASTFunction::appendColumnNameImpl(DB::WriteBuffer&) const @ 0x2d32c4d3 in /usr/bin/clickhouse 7. /build/src/Parsers/ASTWithAlias.cpp:49: DB::ASTWithAlias::appendColumnName(DB::WriteBuffer&) const @ 0x2d3775bd in /usr/bin/clickhouse 8. /build/src/Parsers/IAST.cpp:201: DB::IAST::getColumnName() const @ 0x2d3cbdd6 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1749: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a041dd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a042243 in /usr/bin/clickhouse 11. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b89b1b3 in /usr/bin/clickhouse 12. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b899c48 in /usr/bin/clickhouse 13. /build/src/Storages/StorageDistributed.cpp:395: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x2b89bf7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9ad70 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9aa02 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9a654 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c9a41f in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28c95b08 in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionRemote.cpp:285: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c929e7 in /usr/bin/clickhouse 20. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 22. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:35:40.239746 [ 6095 ] {84f46fc5-66d2-47b5-accf-c4956f1ba205} executeQuery: Code: 583. DB::Exception: When aggregation is used in projection, ORDER BY cannot be specified. (ILLEGAL_PROJECTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36798) (comment: 01710_projection_group_by_order_by.sql) (in query: create table tp (type Int32, eventcnt UInt64, projection p (select sum(eventcnt), type group by type order by sum(eventcnt))) engine = MergeTree order by type;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [69]) @ 0x1bb9af1e in /usr/bin/clickhouse 6. /build/src/Storages/ProjectionsDescription.cpp:126: DB::ProjectionDescription::getProjectionFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x2b87bd65 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:701: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab42101 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:40.240793 [ 6095 ] {84f46fc5-66d2-47b5-accf-c4956f1ba205} TCPHandler: Code: 583. DB::Exception: When aggregation is used in projection, ORDER BY cannot be specified. (ILLEGAL_PROJECTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [69]) @ 0x1bb9af1e in /usr/bin/clickhouse 6. /build/src/Storages/ProjectionsDescription.cpp:126: DB::ProjectionDescription::getProjectionFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x2b87bd65 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:701: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab42101 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:44.108916 [ 634 ] {d9b6ac21-c15e-44dd-89c4-87dfdd2da49e} executeQuery: Code: 584. DB::Exception: No projection is used when allow_experimental_projection_optimization = 1 and force_optimize_projection = 1. (PROJECTION_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36866) (comment: 01710_force_use_projection.sql) (in query: select avg(eventcnt) eventcnt, d1 from tp group by d1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [108]) @ 0x29c152fe in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:174: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x2cfa30e7 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/QueryPlan.cpp:465: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x2cefba1d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:167: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb517 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:44.110292 [ 634 ] {d9b6ac21-c15e-44dd-89c4-87dfdd2da49e} TCPHandler: Code: 584. DB::Exception: No projection is used when allow_experimental_projection_optimization = 1 and force_optimize_projection = 1. (PROJECTION_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [108]) @ 0x29c152fe in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:174: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x2cfa30e7 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/QueryPlan.cpp:465: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x2cefba1d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:167: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb517 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:44.926248 [ 8960 ] {7da7dd92-7a75-458a-a133-c065886e6039} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 483.35 MiB (attempt to allocate chunk of 1048616 bytes), maximum: 476.84 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/AllocatorWithMemoryTracking.h:35: AllocatorWithMemoryTracking::allocate(unsigned long) @ 0x19e59e36 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:35: std::allocation_result>::pointer> std::allocate_at_least[abi:v15000]>(AllocatorWithMemoryTracking&, unsigned long) @ 0x19e59d9d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42: auto std::__allocate_at_least[abi:v15000]>(AllocatorWithMemoryTracking&, unsigned long) @ 0x19e59c7d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__split_buffer:316: std::__split_buffer&>::__split_buffer(unsigned long, unsigned long, AllocatorWithMemoryTracking&) @ 0x1a7b1c6b in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/vector:1048: std::vector>::__append(unsigned long) @ 0x21117c3f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/vector:1918: std::vector>::resize(unsigned long) @ 0x21117580 in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:253: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x245804df in /usr/bin/clickhouse 17. /build/src/AggregateFunctions/IAggregateFunction.h:519: DB::IAggregateFunctionHelper>::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x2458290a in /usr/bin/clickhouse 18. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x2a15224e in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:1584: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aae65 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 2024.03.27 21:35:48.563101 [ 8949 ] {b1a8bc06-5aba-4879-8724-638920ae8e8f} executeQuery: Code: 43. DB::Exception: Illegal type String expression, must be numeric type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47736) (comment: 01702_system_numbers_scientific_notation.sql) (in query: select * from numbers_mt('100') format Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:64: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28c9f348 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c9e4d9 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:48.564341 [ 8949 ] {b1a8bc06-5aba-4879-8724-638920ae8e8f} TCPHandler: Code: 43. DB::Exception: Illegal type String expression, must be numeric type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:64: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28c9f348 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c9e4d9 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:48.686220 [ 8949 ] {072339f5-a9a5-48f0-bf1f-e223f7d36ba1} executeQuery: Code: 43. DB::Exception: The value inf is not representable as UInt64. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47736) (comment: 01702_system_numbers_scientific_notation.sql) (in query: select * from numbers_mt(inf) format Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:68: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28c9f51d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c9e4d9 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:48.687492 [ 8949 ] {072339f5-a9a5-48f0-bf1f-e223f7d36ba1} TCPHandler: Code: 43. DB::Exception: The value inf is not representable as UInt64. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:68: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28c9f51d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c9e4d9 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:48.693714 [ 8949 ] {169568c3-07eb-40d6-960d-c2708d5816ca} executeQuery: Code: 43. DB::Exception: The value nan is not representable as UInt64. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47736) (comment: 01702_system_numbers_scientific_notation.sql) (in query: select * from numbers_mt(nan) format Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:68: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28c9f51d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c9e4d9 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:48.694887 [ 8949 ] {169568c3-07eb-40d6-960d-c2708d5816ca} TCPHandler: Code: 43. DB::Exception: The value nan is not representable as UInt64. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:68: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28c9f51d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c9e4d9 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:50.718565 [ 8949 ] {b75a250c-8ae4-4a8f-a86b-80e4107748fe} executeQuery: Code: 36. DB::Exception: The coordinates of the point are such that subsequent calculations cannot be performed correctly. Most likely they are very large in modulus.: While processing pointInPolygon((0, 0), [[(0, 0), (10, 10), (256, -9223372036854775808)]]). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47810) (comment: 01700_point_in_polygon_ubsan.sql) (in query: SELECT pointInPolygon((0, 0), [[(0, 0), (10, 10), (256, -9223372036854775808)]]) FORMAT Null ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [142]) @ 0x2057489e in /usr/bin/clickhouse 6. /build/src/Functions/pointInPolygon.cpp:432: void DB::(anonymous namespace)::FunctionPointInPolygon>::parseRing, false, true, std::vector, std::allocator>>(double const*, double const*, unsigned long, unsigned long, boost::geometry::model::ring, false, true, std::vector, std::allocator>&) const @ 0x2057184e in /usr/bin/clickhouse 7. /build/src/Functions/pointInPolygon.cpp:472: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonWithHolesFromSingleColumn(DB::IColumn const&, unsigned long, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x20571593 in /usr/bin/clickhouse 8. /build/src/Functions/pointInPolygon.cpp:534: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonFromSingleColumn(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x20570674 in /usr/bin/clickhouse 9. /build/src/Functions/pointInPolygon.cpp:555: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygon(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x2056fb83 in /usr/bin/clickhouse 10. /build/src/Functions/pointInPolygon.cpp:183: DB::(anonymous namespace)::FunctionPointInPolygon>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2056dfb9 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:35:50.720030 [ 8949 ] {b75a250c-8ae4-4a8f-a86b-80e4107748fe} TCPHandler: Code: 36. DB::Exception: The coordinates of the point are such that subsequent calculations cannot be performed correctly. Most likely they are very large in modulus.: While processing pointInPolygon((0, 0), [[(0, 0), (10, 10), (256, -9223372036854775808)]]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [142]) @ 0x2057489e in /usr/bin/clickhouse 6. /build/src/Functions/pointInPolygon.cpp:432: void DB::(anonymous namespace)::FunctionPointInPolygon>::parseRing, false, true, std::vector, std::allocator>>(double const*, double const*, unsigned long, unsigned long, boost::geometry::model::ring, false, true, std::vector, std::allocator>&) const @ 0x2057184e in /usr/bin/clickhouse 7. /build/src/Functions/pointInPolygon.cpp:472: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonWithHolesFromSingleColumn(DB::IColumn const&, unsigned long, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x20571593 in /usr/bin/clickhouse 8. /build/src/Functions/pointInPolygon.cpp:534: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonFromSingleColumn(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x20570674 in /usr/bin/clickhouse 9. /build/src/Functions/pointInPolygon.cpp:555: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygon(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x2056fb83 in /usr/bin/clickhouse 10. /build/src/Functions/pointInPolygon.cpp:183: DB::(anonymous namespace)::FunctionPointInPolygon>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2056dfb9 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:35:52.071866 [ 635 ] {360fb784-1e27-430a-8ad4-06aa3d62b5ad} executeQuery: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47852) (comment: 01684_insert_specify_shard_id.sql) (in query: -- no sharding key INSERT INTO x_dist SELECT * FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1157: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b8a2276 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:52.165864 [ 8933 ] {6cc3e756-0b3f-4826-9b35-af67aacc3d3a} executeQuery: Code: 128. DB::Exception: Too large array size: 9223372036854775808, maximum: 1073741824: While processing arrayResize([1, 2, 3], -9223372036854775808). (TOO_LARGE_ARRAY_SIZE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47886) (comment: 01682_gather_utils_ubsan.sql) (in query: SELECT arrayResize([1, 2, 3], -9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x1a92334c in /usr/bin/clickhouse 6. /build/src/Functions/GatherUtils/Algorithms.h:719: void DB::GatherUtils::resizeDynamicSize&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&>(DB::GatherUtils::NumericArraySource&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&, DB::IColumn const&) @ 0x2897e400 in /usr/bin/clickhouse 7. /build/src/Functions/GatherUtils/resizeDynamicSize.cpp:20: void DB::GatherUtils::(anonymous namespace)::ArrayResizeDynamic::selectArrayAndValueSourceBySink&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&>(DB::GatherUtils::NumericArraySource&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&, DB::IColumn const&) @ 0x289352cd in /usr/bin/clickhouse 8. /build/src/Functions/GatherUtils/Selectors.h:151: auto void DB::GatherUtils::ArrayAndValueSourceSelectorBySink::selectImpl&, DB::IColumn const&>(DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&)::'lambda'(DB::GatherUtils::NumericArraySink&, auto)::operator()*, DB::GatherUtils::ConstSource>*>(DB::GatherUtils::NumericArraySink&, auto) const @ 0x289346b2 in /usr/bin/clickhouse 9. /build/src/Functions/GatherUtils/Selectors.h:160: void DB::GatherUtils::ArrayAndValueSourceSelectorBySink::selectImpl&, DB::IColumn const&>(DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x28934557 in /usr/bin/clickhouse 10. /build/src/Functions/GatherUtils/Selectors.h:33: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 3, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x28934431 in /usr/bin/clickhouse 11. /build/src/Functions/GatherUtils/Selectors.h:33: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 2, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&) @ 0x289343f9 in /usr/bin/clickhouse 12. /build/src/Functions/GatherUtils/Selectors.h:33: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 1, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&) @ 0x28934389 in /usr/bin/clickhouse 13. /build/src/Functions/GatherUtils/Selectors.h:33: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 0, DB::GatherUtils::NumericArraySink&>(std::tuple&, DB::GatherUtils::NumericArraySink&) @ 0x28934339 in /usr/bin/clickhouse 14. /build/src/Functions/GatherUtils/Selectors.h:84: void DB::GatherUtils::ArraySinkSelectorVisitor, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>::visitImpl>(DB::GatherUtils::NumericArraySink&) @ 0x289342e1 in /usr/bin/clickhouse 15. /build/src/Common/Visitor.h:134: DB::VisitorImplHelper, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>, DB::GatherUtils::ArraySinkVisitor, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>>, DB::GatherUtils::NumericArraySink>>, DB::GatherUtils::NumericArraySink, DB::UUIDTag>>, DB::GatherUtils::GenericArraySink, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>>, DB::GatherUtils::NullableArraySink>>>, DB::GatherUtils::NullableArraySink, DB::UUIDTag>>>, DB::GatherUtils::NullableArraySink>::visit(DB::GatherUtils::NumericArraySink&) @ 0x2890b9bd in /usr/bin/clickhouse 16. /build/src/Common/Visitor.h:165: DB::Visitable, DB::GatherUtils::IArraySink, DB::GatherUtils::ArraySinkVisitor>::accept(DB::GatherUtils::ArraySinkVisitor&) @ 0x1d85df21 in /usr/bin/clickhouse 17. /build/src/Functions/GatherUtils/Selectors.h:97: void DB::GatherUtils::ArraySinkSelector>::select(DB::GatherUtils::IArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x2890af1b in /usr/bin/clickhouse 18. /build/src/Functions/GatherUtils/resizeDynamicSize.cpp:28: DB::GatherUtils::resizeDynamicSize(DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::GatherUtils::IArraySink&, DB::IColumn const&) @ 0x2890aecd in /usr/bin/clickhouse 19. /build/src/Functions/array/arrayResize.cpp:126: DB::FunctionArrayResize::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b39fc3 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:35:52.166070 [ 635 ] {360fb784-1e27-430a-8ad4-06aa3d62b5ad} TCPHandler: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1157: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b8a2276 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:52.167355 [ 8933 ] {6cc3e756-0b3f-4826-9b35-af67aacc3d3a} TCPHandler: Code: 128. DB::Exception: Too large array size: 9223372036854775808, maximum: 1073741824: While processing arrayResize([1, 2, 3], -9223372036854775808). (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x1a92334c in /usr/bin/clickhouse 6. /build/src/Functions/GatherUtils/Algorithms.h:719: void DB::GatherUtils::resizeDynamicSize&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&>(DB::GatherUtils::NumericArraySource&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&, DB::IColumn const&) @ 0x2897e400 in /usr/bin/clickhouse 7. /build/src/Functions/GatherUtils/resizeDynamicSize.cpp:20: void DB::GatherUtils::(anonymous namespace)::ArrayResizeDynamic::selectArrayAndValueSourceBySink&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&>(DB::GatherUtils::NumericArraySource&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&, DB::IColumn const&) @ 0x289352cd in /usr/bin/clickhouse 8. /build/src/Functions/GatherUtils/Selectors.h:151: auto void DB::GatherUtils::ArrayAndValueSourceSelectorBySink::selectImpl&, DB::IColumn const&>(DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&)::'lambda'(DB::GatherUtils::NumericArraySink&, auto)::operator()*, DB::GatherUtils::ConstSource>*>(DB::GatherUtils::NumericArraySink&, auto) const @ 0x289346b2 in /usr/bin/clickhouse 9. /build/src/Functions/GatherUtils/Selectors.h:160: void DB::GatherUtils::ArrayAndValueSourceSelectorBySink::selectImpl&, DB::IColumn const&>(DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x28934557 in /usr/bin/clickhouse 10. /build/src/Functions/GatherUtils/Selectors.h:33: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 3, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x28934431 in /usr/bin/clickhouse 11. /build/src/Functions/GatherUtils/Selectors.h:33: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 2, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&) @ 0x289343f9 in /usr/bin/clickhouse 12. /build/src/Functions/GatherUtils/Selectors.h:33: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 1, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&) @ 0x28934389 in /usr/bin/clickhouse 13. /build/src/Functions/GatherUtils/Selectors.h:33: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 0, DB::GatherUtils::NumericArraySink&>(std::tuple&, DB::GatherUtils::NumericArraySink&) @ 0x28934339 in /usr/bin/clickhouse 14. /build/src/Functions/GatherUtils/Selectors.h:84: void DB::GatherUtils::ArraySinkSelectorVisitor, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>::visitImpl>(DB::GatherUtils::NumericArraySink&) @ 0x289342e1 in /usr/bin/clickhouse 15. /build/src/Common/Visitor.h:134: DB::VisitorImplHelper, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>, DB::GatherUtils::ArraySinkVisitor, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>>, DB::GatherUtils::NumericArraySink>>, DB::GatherUtils::NumericArraySink, DB::UUIDTag>>, DB::GatherUtils::GenericArraySink, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>>, DB::GatherUtils::NullableArraySink>>>, DB::GatherUtils::NullableArraySink, DB::UUIDTag>>>, DB::GatherUtils::NullableArraySink>::visit(DB::GatherUtils::NumericArraySink&) @ 0x2890b9bd in /usr/bin/clickhouse 16. /build/src/Common/Visitor.h:165: DB::Visitable, DB::GatherUtils::IArraySink, DB::GatherUtils::ArraySinkVisitor>::accept(DB::GatherUtils::ArraySinkVisitor&) @ 0x1d85df21 in /usr/bin/clickhouse 17. /build/src/Functions/GatherUtils/Selectors.h:97: void DB::GatherUtils::ArraySinkSelector>::select(DB::GatherUtils::IArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x2890af1b in /usr/bin/clickhouse 18. /build/src/Functions/GatherUtils/resizeDynamicSize.cpp:28: DB::GatherUtils::resizeDynamicSize(DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::GatherUtils::IArraySink&, DB::IColumn const&) @ 0x2890aecd in /usr/bin/clickhouse 19. /build/src/Functions/array/arrayResize.cpp:126: DB::FunctionArrayResize::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b39fc3 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:35:52.176567 [ 635 ] {b64a3285-61f3-4081-b572-e94100c18d8a} executeQuery: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47852) (comment: 01684_insert_specify_shard_id.sql) (in query: INSERT INTO y_dist SELECT * FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1157: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b8a2276 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:52.177537 [ 635 ] {b64a3285-61f3-4081-b572-e94100c18d8a} TCPHandler: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1157: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b8a2276 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:52.269109 [ 635 ] {ec6b2be5-7e59-435c-8c12-ee41ca651555} executeQuery: Code: 577. DB::Exception: Shard id should be range from 1 to shard number. (INVALID_SHARD_ID) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47852) (comment: 01684_insert_specify_shard_id.sql) (in query: -- invalid shard id INSERT INTO x_dist SELECT * FROM numbers(10) settings insert_shard_id = 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19de705e in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1163: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b8a2386 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:52.270066 [ 635 ] {ec6b2be5-7e59-435c-8c12-ee41ca651555} TCPHandler: Code: 577. DB::Exception: Shard id should be range from 1 to shard number. (INVALID_SHARD_ID), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19de705e in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1163: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b8a2386 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:52.279904 [ 635 ] {7e1dd607-60ec-4a67-b0b2-c6167271dde1} executeQuery: Code: 577. DB::Exception: Shard id should be range from 1 to shard number. (INVALID_SHARD_ID) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47852) (comment: 01684_insert_specify_shard_id.sql) (in query: INSERT INTO y_dist SELECT * FROM numbers(10) settings insert_shard_id = 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19de705e in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1163: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b8a2386 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:52.280747 [ 635 ] {7e1dd607-60ec-4a67-b0b2-c6167271dde1} TCPHandler: Code: 577. DB::Exception: Shard id should be range from 1 to shard number. (INVALID_SHARD_ID), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19de705e in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1163: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b8a2386 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:53.783820 [ 634 ] {42940ef3-bf4e-4569-adbe-bdcf415a2d83} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'input' of function encrypt, expected plaintext, got Array(Nullable(Int16)): While processing encrypt('aes-128-ecb', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47934) (comment: 01667_aes_args_check.sql) (in query: SELECT encrypt('aes-128-ecb', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x290af75a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x290ada5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290ad1e0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsAES.h:168: DB::FunctionEncrypt<(anonymous namespace)::EncryptImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x1c4602dd in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:35:53.785254 [ 634 ] {42940ef3-bf4e-4569-adbe-bdcf415a2d83} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'input' of function encrypt, expected plaintext, got Array(Nullable(Int16)): While processing encrypt('aes-128-ecb', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x290af75a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x290ada5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290ad1e0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsAES.h:168: DB::FunctionEncrypt<(anonymous namespace)::EncryptImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x1c4602dd in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:35:54.851278 [ 634 ] {6878bfe7-af45-470c-ae4d-80784e34e08b} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = 9223372036854775807, signed b = -9223372036854775808, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775807, -9223372036854775808). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47964) (comment: 01666_gcd_ubsan.sql) (in query: -- { echo } SELECT gcd(9223372036854775807, -9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb0f944 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, long) @ 0x1c9880f7 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(unsigned long, long) @ 0x1c987d1d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca6edc2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1ca6eb7b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca6a864 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1ca6a061 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca69c7d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca54733 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1ca53e47 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca53cbd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1ca53c91 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca539df in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca51696 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca50b6c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 2024.03.27 21:35:54.853818 [ 634 ] {6878bfe7-af45-470c-ae4d-80784e34e08b} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = 9223372036854775807, signed b = -9223372036854775808, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775807, -9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb0f944 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, long) @ 0x1c9880f7 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(unsigned long, long) @ 0x1c987d1d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca6edc2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1ca6eb7b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca6a864 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1ca6a061 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca69c7d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca54733 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1ca53e47 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca53cbd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1ca53c91 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca539df in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca51696 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca50b6c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 2024.03.27 21:35:54.863886 [ 634 ] {ff928ed3-305f-44a4-b1f3-94e2c5cd101f} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = -9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775808, -9223372036854775807). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47964) (comment: 01666_gcd_ubsan.sql) (in query: SELECT gcd(9223372036854775808, -9223372036854775807);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb0f944 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, long) @ 0x1c9880f7 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(unsigned long, long) @ 0x1c987d1d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca6edc2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1ca6eb7b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca6a864 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1ca6a061 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca69c7d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca54733 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1ca53e47 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca53cbd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1ca53c91 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca539df in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca51696 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca50b6c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 2024.03.27 21:35:54.865979 [ 634 ] {ff928ed3-305f-44a4-b1f3-94e2c5cd101f} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = -9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775808, -9223372036854775807). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb0f944 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, long) @ 0x1c9880f7 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(unsigned long, long) @ 0x1c987d1d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca6edc2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1ca6eb7b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca6a864 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1ca6a061 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca69c7d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca54733 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1ca53e47 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca53cbd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1ca53c91 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca539df in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca51696 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca50b6c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 2024.03.27 21:35:54.963820 [ 634 ] {57d6b780-8acd-40f8-b606-79115c238b80} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = 9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(-9223372036854775808, 9223372036854775807). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47964) (comment: 01666_gcd_ubsan.sql) (in query: SELECT gcd(-9223372036854775808, 9223372036854775807);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb0f944 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(long, unsigned long) @ 0x1c9cc517 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(long, unsigned long) @ 0x1c9cc13d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca966c2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1ca9647b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca94aa4 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1ca941c7 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca9403d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca548b3 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1ca540a1 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca53cbd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1ca53c91 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca539df in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca51696 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca50b6c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 2024.03.27 21:35:54.966035 [ 634 ] {57d6b780-8acd-40f8-b606-79115c238b80} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = 9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(-9223372036854775808, 9223372036854775807). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb0f944 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(long, unsigned long) @ 0x1c9cc517 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(long, unsigned long) @ 0x1c9cc13d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca966c2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1ca9647b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca94aa4 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1ca941c7 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca9403d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca548b3 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1ca540a1 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca53cbd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1ca53c91 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca539df in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca51696 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca50b6c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 2024.03.27 21:35:54.973932 [ 634 ] {fa76d455-b5a2-4f55-990f-6be18626b8c4} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775807, signed b = -9223372036854775808, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(-9223372036854775807, 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47964) (comment: 01666_gcd_ubsan.sql) (in query: SELECT gcd(-9223372036854775807, 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb0f944 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(long, unsigned long) @ 0x1c9cc517 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(long, unsigned long) @ 0x1c9cc13d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca966c2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1ca9647b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca94aa4 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1ca941c7 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca9403d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca548b3 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1ca540a1 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca53cbd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1ca53c91 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca539df in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca51696 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca50b6c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 2024.03.27 21:35:54.976019 [ 634 ] {fa76d455-b5a2-4f55-990f-6be18626b8c4} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775807, signed b = -9223372036854775808, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(-9223372036854775807, 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb0f944 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(long, unsigned long) @ 0x1c9cc517 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(long, unsigned long) @ 0x1c9cc13d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca966c2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1ca9647b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca94aa4 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1ca941c7 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca9403d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca548b3 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1ca540a1 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca53cbd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1ca53c91 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca539df in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca51696 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca50b6c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 2024.03.27 21:35:55.073357 [ 634 ] {28988c8c-c44d-406f-aa99-9f4296084462} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = -1, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775808, -1). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47964) (comment: 01666_gcd_ubsan.sql) (in query: SELECT gcd(9223372036854775808, -1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb0f944 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, signed char) @ 0x1c985b98 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(unsigned long, signed char) @ 0x1c9857bf in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca6d883 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1ca6d63b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca6a7a4 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1ca69f2d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca69c7d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca54733 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1ca53e47 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca53cbd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1ca53c91 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca539df in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca51696 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca50b6c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 2024.03.27 21:35:55.075721 [ 634 ] {28988c8c-c44d-406f-aa99-9f4296084462} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = -1, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775808, -1). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb0f944 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, signed char) @ 0x1c985b98 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(unsigned long, signed char) @ 0x1c9857bf in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca6d883 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1ca6d63b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca6a7a4 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1ca69f2d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca69c7d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1ca54733 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1ca53e47 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1ca53cbd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1ca53c91 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1ca539df in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca51696 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1ca50b6c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 2024.03.27 21:35:55.198100 [ 634 ] {e582cfa3-4c6d-4d22-8c0d-48cb6cb4c75b} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(-1.7014118346046923e38, -1.7014118346046923e38). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47964) (comment: 01666_gcd_ubsan.sql) (in query: SELECT lcm(-170141183460469231731687303715884105728, -170141183460469231731687303715884105728);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1410: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1e1067e9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1df98e6f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a52a909 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:35:55.199232 [ 634 ] {e582cfa3-4c6d-4d22-8c0d-48cb6cb4c75b} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(-1.7014118346046923e38, -1.7014118346046923e38). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1410: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1e1067e9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1df98e6f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a52a909 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:35:56.533307 [ 635 ] {eef70291-dbbf-4af2-8064-c5837a380320} executeQuery: Code: 574. DB::Exception: Too many bytes pending for async INSERT: 2.18 KiB (bytes_to_delay_insert=1.00 B). (DISTRIBUTED_TOO_MANY_PENDING_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34744) (comment: 01675_distributed_bytes_to_delay_insert.sh) (in query: insert into dist_01675 select * from numbers(1) settings prefer_localhost_replica=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1892: DB::StorageDistributed::delayInsertOrThrowIfNeeded() const @ 0x2b8ae404 in /usr/bin/clickhouse 7. /build/src/Storages/Distributed/DistributedSink.cpp:144: DB::DistributedSink::consume(DB::Chunk) @ 0x2bf4279b in /usr/bin/clickhouse 8. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 26. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 27. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 28. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 2024.03.27 21:35:56.535770 [ 635 ] {eef70291-dbbf-4af2-8064-c5837a380320} DynamicQueryHandler: Code: 574. DB::Exception: Too many bytes pending for async INSERT: 2.18 KiB (bytes_to_delay_insert=1.00 B). (DISTRIBUTED_TOO_MANY_PENDING_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1892: DB::StorageDistributed::delayInsertOrThrowIfNeeded() const @ 0x2b8ae404 in /usr/bin/clickhouse 7. /build/src/Storages/Distributed/DistributedSink.cpp:144: DB::DistributedSink::consume(DB::Chunk) @ 0x2bf4279b in /usr/bin/clickhouse 8. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 26. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 27. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 28. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:35:56.920668 [ 8933 ] {4e554eb6-54b4-4790-84c2-2aafc515852f} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41042) (comment: 01662_date_ubsan.sql) (in query: -- tests with INT64_MIN (via overflow) SELECT addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a8a9ea0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a8ad4b9 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a8acfa3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a8a58c7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a8acd43 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a8a8bde in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a8a7594 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:56.922229 [ 8933 ] {4e554eb6-54b4-4790-84c2-2aafc515852f} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a8a9ea0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a8ad4b9 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a8acfa3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a8a58c7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a8acd43 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a8a8bde in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a8a7594 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:57.011568 [ 8933 ] {37f2ea8a-d5da-4782-b516-0d665f92b82c} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41042) (comment: 01662_date_ubsan.sql) (in query: SELECT addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a89de80 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a8a1499 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a8a0f83 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a8998a7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a8a0d23 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a89cbbe in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a89b574 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:57.013204 [ 8933 ] {37f2ea8a-d5da-4782-b516-0d665f92b82c} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a89de80 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a8a1499 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a8a0f83 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a8998a7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a8a0d23 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a89cbbe in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a89b574 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:57.106009 [ 8933 ] {a9fba63e-91da-4718-a221-fef0aef85ca2} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41042) (comment: 01662_date_ubsan.sql) (in query: SELECT addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a8fde20 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a901399 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a900e83 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a8f9807 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a900be3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a8fcb1e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a8fb4d4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:57.107507 [ 8933 ] {a9fba63e-91da-4718-a221-fef0aef85ca2} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a8fde20 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a901399 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a900e83 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a8f9807 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a900be3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a8fcb1e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a8fb4d4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:57.196392 [ 8933 ] {4d926033-8f08-484e-8849-c171753e768c} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41042) (comment: 01662_date_ubsan.sql) (in query: SELECT addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a891fa0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a895619 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a895103 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a88d987 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a894d43 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a890c9e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a88f654 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:57.197895 [ 8933 ] {4d926033-8f08-484e-8849-c171753e768c} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a891fa0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a895619 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a895103 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a88d987 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a894d43 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a890c9e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a88f654 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:57.287861 [ 8933 ] {5b3ef307-2ff9-4d82-8b39-c8729a62436b} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41042) (comment: 01662_date_ubsan.sql) (in query: SELECT addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a909d80 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a90d539 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a90d023 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a9055e7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a90cb63 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a9088fe in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a9072b4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:57.289547 [ 8933 ] {5b3ef307-2ff9-4d82-8b39-c8729a62436b} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a909d80 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a90d539 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a90d023 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a9055e7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a90cb63 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a9088fe in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a9072b4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:57.381145 [ 8933 ] {c32e46f1-7a15-4e9f-a506-fb20f04f1cd0} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41042) (comment: 01662_date_ubsan.sql) (in query: -- tests with inf SELECT addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a8aa640 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a8ad93a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a8ad1e3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a8a5b21 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a8acd43 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a8a8bde in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a8a7594 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:57.382552 [ 8933 ] {c32e46f1-7a15-4e9f-a506-fb20f04f1cd0} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a8aa640 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a8ad93a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a8ad1e3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a8a5b21 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a8acd43 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a8a8bde in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a8a7594 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:57.484702 [ 8933 ] {6aeef108-bc6b-40ca-87f6-c774a3a71600} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41042) (comment: 01662_date_ubsan.sql) (in query: SELECT addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a89e620 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a8a191a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a8a11c3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a899b01 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a8a0d23 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a89cbbe in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a89b574 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:57.486368 [ 8933 ] {6aeef108-bc6b-40ca-87f6-c774a3a71600} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a89e620 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a8a191a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a8a11c3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a899b01 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a8a0d23 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a89cbbe in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a89b574 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:57.577019 [ 8933 ] {de646aaf-4850-4721-91f9-9845918a5d92} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41042) (comment: 01662_date_ubsan.sql) (in query: SELECT addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a8fe660 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a90181a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a9010c3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a8f9a61 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a900be3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a8fcb1e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a8fb4d4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:57.578428 [ 8933 ] {de646aaf-4850-4721-91f9-9845918a5d92} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a8fe660 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a90181a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a9010c3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a8f9a61 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a900be3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a8fcb1e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a8fb4d4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:57.672594 [ 8933 ] {e2eea280-7f39-44bd-95e7-ae14ed1ea992} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41042) (comment: 01662_date_ubsan.sql) (in query: SELECT addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a8927e0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a895a9a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a895343 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a88dbe1 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a894d43 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a890c9e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a88f654 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:57.674168 [ 8933 ] {e2eea280-7f39-44bd-95e7-ae14ed1ea992} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a8927e0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a895a9a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a895343 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a88dbe1 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a894d43 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a890c9e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a88f654 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:57.770117 [ 8933 ] {43b50521-a59a-4b3a-91fe-399e5867cf91} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41042) (comment: 01662_date_ubsan.sql) (in query: SELECT addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a90a5c0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a90d9ba in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a90d263 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a905841 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a90cb63 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a9088fe in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a9072b4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:57.771579 [ 8933 ] {43b50521-a59a-4b3a-91fe-399e5867cf91} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x1977519e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a90a5c0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a90d9ba in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a90d263 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a905841 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a90cb63 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a9088fe in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a9072b4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:35:58.130009 [ 8933 ] {673ee3c6-3f11-4b1a-b97d-b7323e1346dd} executeQuery: Code: 36. DB::Exception: Table function VALUES requires all but first argument (rows specification) to be either tuples or single values. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41102) (comment: 01658_values_ubsan.sql) (in query: SELECT * FROM VALUES('x UInt8, y UInt16', 1 + 2, 'Hello');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [112]) @ 0x28cc717e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionValues.cpp:53: DB::parseAndInsertValues(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block const&, unsigned long, std::shared_ptr) @ 0x28cc6402 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionValues.cpp:140: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28cc5ed6 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:58.131338 [ 8933 ] {673ee3c6-3f11-4b1a-b97d-b7323e1346dd} TCPHandler: Code: 36. DB::Exception: Table function VALUES requires all but first argument (rows specification) to be either tuples or single values. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [112]) @ 0x28cc717e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionValues.cpp:53: DB::parseAndInsertValues(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block const&, unsigned long, std::shared_ptr) @ 0x28cc6402 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionValues.cpp:140: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28cc5ed6 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:35:59.349497 [ 6021 ] {19f3e39e-e81a-4aec-8a8e-8bf15bc1b1df} executeQuery: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41130) (comment: 01655_sleep_infinite_float.sql) (in query: SELECT sleep(nan);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20d9db5e in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:100: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x20d9d784 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:82: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d9d2fa in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:35:59.350634 [ 6021 ] {19f3e39e-e81a-4aec-8a8e-8bf15bc1b1df} TCPHandler: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20d9db5e in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:100: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x20d9d784 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:82: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d9d2fa in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:35:59.358150 [ 6021 ] {4cb3b333-d181-4748-bf6e-0d0e45a56038} executeQuery: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41130) (comment: 01655_sleep_infinite_float.sql) (in query: SELECT sleep(inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20d9db5e in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:100: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x20d9d784 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:82: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d9d2fa in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:35:59.359123 [ 6021 ] {4cb3b333-d181-4748-bf6e-0d0e45a56038} TCPHandler: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20d9db5e in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:100: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x20d9d784 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:82: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d9d2fa in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:36:00.262983 [ 6021 ] {b42a411c-3920-4740-8398-dd990e1a2872} executeQuery: Code: 386. DB::Exception: There is no supertype for types String, UInt8 because some of them are String/FixedString and some of them are not: While processing mapContains(a, 10). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41162) (comment: 01651_map_functions.sql) (in query: select mapContains(a, 10) from table_map;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2019ac8c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29a7cfc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29a812ef in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:479: DB::FunctionArrayIndex::allowArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x1eae1e8a in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:410: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x1ead103f in /usr/bin/clickhouse 10. /build/src/Functions/map.cpp:253: DB::(anonymous namespace)::FunctionMapContains::getReturnTypeImpl(std::vector> const&) const @ 0x1ead0841 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:36:00.264232 [ 6021 ] {b42a411c-3920-4740-8398-dd990e1a2872} TCPHandler: Code: 386. DB::Exception: There is no supertype for types String, UInt8 because some of them are String/FixedString and some of them are not: While processing mapContains(a, 10). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2019ac8c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29a7cfc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29a812ef in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:479: DB::FunctionArrayIndex::allowArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x1eae1e8a in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:410: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x1ead103f in /usr/bin/clickhouse 10. /build/src/Functions/map.cpp:253: DB::(anonymous namespace)::FunctionMapContains::getReturnTypeImpl(std::vector> const&) const @ 0x1ead0841 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:36:00.394973 [ 6021 ] {d97a52a9-f9f2-4925-96d8-a84d5c2c774a} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of them are String/FixedString and some of them are not: While processing mapContains(a, 'aaa'). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41162) (comment: 01651_map_functions.sql) (in query: select mapContains(a, 'aaa') from table_map;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2019ac8c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29a7cfc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29a812ef in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:479: DB::FunctionArrayIndex::allowArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x1eae1e8a in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:410: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x1ead103f in /usr/bin/clickhouse 10. /build/src/Functions/map.cpp:253: DB::(anonymous namespace)::FunctionMapContains::getReturnTypeImpl(std::vector> const&) const @ 0x1ead0841 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:36:00.396101 [ 6021 ] {d97a52a9-f9f2-4925-96d8-a84d5c2c774a} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of them are String/FixedString and some of them are not: While processing mapContains(a, 'aaa'). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2019ac8c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29a7cfc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29a812ef in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:479: DB::FunctionArrayIndex::allowArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x1eae1e8a in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:410: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x1ead103f in /usr/bin/clickhouse 10. /build/src/Functions/map.cpp:253: DB::(anonymous namespace)::FunctionMapContains::getReturnTypeImpl(std::vector> const&) const @ 0x1ead0841 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:36:00.508703 [ 6021 ] {d08b1098-2796-4bfe-a1bf-ee72b265ea01} executeQuery: Code: 43. DB::Exception: First argument for function mapContains must be an array or map. Actual UInt8: While processing mapContains(b, 'aaa'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41162) (comment: 01651_map_functions.sql) (in query: select mapContains(b, 'aaa') from table_map;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayIndex.h:392: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x1ead0f11 in /usr/bin/clickhouse 7. /build/src/Functions/map.cpp:253: DB::(anonymous namespace)::FunctionMapContains::getReturnTypeImpl(std::vector> const&) const @ 0x1ead0841 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:36:00.509896 [ 6021 ] {d08b1098-2796-4bfe-a1bf-ee72b265ea01} TCPHandler: Code: 43. DB::Exception: First argument for function mapContains must be an array or map. Actual UInt8: While processing mapContains(b, 'aaa'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayIndex.h:392: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x1ead0f11 in /usr/bin/clickhouse 7. /build/src/Functions/map.cpp:253: DB::(anonymous namespace)::FunctionMapContains::getReturnTypeImpl(std::vector> const&) const @ 0x1ead0841 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:36:00.804554 [ 6021 ] {23034625-9579-401f-bad6-7ae00e8c36b7} executeQuery: Code: 43. DB::Exception: First argument for function mapFromArrays must be an Array: While processing mapFromArrays('aa', [4, 5]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41162) (comment: 01651_map_functions.sql) (in query: select mapFromArrays('aa', [4, 5]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:178: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1eaec045 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:36:00.908383 [ 8925 ] {c4ebb380-b5a3-4046-821f-d4e201f48f33} executeQuery: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41174) (comment: 01650_any_null_if.sql) (in query: EXPLAIN SYNTAX select any(nullIf('', ''), 'some text');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225523e1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:24: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23e2e455 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23e2e32d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b296a in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:352: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8cba9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:194: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8ca06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x2abfb30b in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:65: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x2abfb221 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2abfb020 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2abfb541 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2abfafaa in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2abfb5e6 in /usr/bin/clickhouse 2024.03.27 21:36:00.908584 [ 6021 ] {23034625-9579-401f-bad6-7ae00e8c36b7} TCPHandler: Code: 43. DB::Exception: First argument for function mapFromArrays must be an Array: While processing mapFromArrays('aa', [4, 5]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:178: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1eaec045 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:36:00.909950 [ 8925 ] {c4ebb380-b5a3-4046-821f-d4e201f48f33} TCPHandler: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225523e1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:24: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23e2e455 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23e2e32d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b296a in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:352: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8cba9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:194: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8ca06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x2abfb30b in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:65: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x2abfb221 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2abfb020 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2abfb541 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2abfafaa in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2abfb5e6 in /usr/bin/clickhouse 2024.03.27 21:36:01.029194 [ 6021 ] {9e4487ca-533c-4b8e-82cc-ae83777cb2fe} executeQuery: Code: 43. DB::Exception: Second argument for function mapFromArrays must be an Array: While processing mapFromArrays(['aa', 'bb'], 5). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41162) (comment: 01651_map_functions.sql) (in query: select mapFromArrays(['aa', 'bb'], 5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:182: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1eaec197 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:36:01.029186 [ 8925 ] {662ea2ee-12f1-45d3-90ac-c2ceb4767d07} executeQuery: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41174) (comment: 01650_any_null_if.sql) (in query: EXPLAIN SYNTAX select any(nullIf('', ''), 'some text');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225523e1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:24: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23e2e455 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23e2e32d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b296a in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:352: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8cba9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:194: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8ca06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x2abfb30b in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:65: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x2abfb221 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2abfb020 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2abfb541 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2abfafaa in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2abfb5e6 in /usr/bin/clickhouse 2024.03.27 21:36:01.030490 [ 6021 ] {9e4487ca-533c-4b8e-82cc-ae83777cb2fe} TCPHandler: Code: 43. DB::Exception: Second argument for function mapFromArrays must be an Array: While processing mapFromArrays(['aa', 'bb'], 5). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:182: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1eaec197 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:36:01.030996 [ 8925 ] {662ea2ee-12f1-45d3-90ac-c2ceb4767d07} TCPHandler: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225523e1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:24: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23e2e455 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23e2e32d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b296a in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:352: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8cba9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:194: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8ca06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x2abfb30b in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:65: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x2abfb221 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2abfb020 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2abfb541 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2abfafaa in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2abfb5e6 in /usr/bin/clickhouse 2024.03.27 21:36:01.040154 [ 6021 ] {d10bd2ee-b363-44d7-8b4e-fa307941855e} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapFromArrays doesn't match: passed 3, should be 2: While processing mapFromArrays(['aa', 'bb'], [4, 5], [6, 7]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41162) (comment: 01651_map_functions.sql) (in query: select mapFromArrays(['aa', 'bb'], [4, 5], [6, 7]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:36:01.041436 [ 6021 ] {d10bd2ee-b363-44d7-8b4e-fa307941855e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapFromArrays doesn't match: passed 3, should be 2: While processing mapFromArrays(['aa', 'bb'], [4, 5], [6, 7]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:36:01.156742 [ 6021 ] {7a039502-91fe-4468-beda-e62da2a20e8e} executeQuery: Code: 190. DB::Exception: Array arguments for function mapFromArrays must have equal sizes: While processing mapFromArrays(['aa', 'bb'], [4, 5, 6]). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41162) (comment: 01651_map_functions.sql) (in query: select mapFromArrays(['aa', 'bb'], [4, 5, 6]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:221: DB::(anonymous namespace)::FunctionMapFromArrays::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1eaeb984 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:36:01.158502 [ 6021 ] {7a039502-91fe-4468-beda-e62da2a20e8e} TCPHandler: Code: 190. DB::Exception: Array arguments for function mapFromArrays must have equal sizes: While processing mapFromArrays(['aa', 'bb'], [4, 5, 6]). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:221: DB::(anonymous namespace)::FunctionMapFromArrays::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1eaeb984 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:36:01.269316 [ 6021 ] {f17b534b-9720-4fb5-bfae-a5fbfc1b228c} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Array(UInt8) given: While processing mapFromArrays([[1, 2], [3, 4]], [4, 5, 6]). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41162) (comment: 01651_map_functions.sql) (in query: select mapFromArrays([[1,2], [3,4]], [4, 5, 6]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x29a0b407 in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypeMap.cpp:53: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x29a0b59b in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], std::allocator>>&, DB::DataTypeMap*>(DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x1eaec8e6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>&, void, void>(std::allocator&, DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x1eaec861 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>&>(std::allocator, std::vector, std::allocator>>&) @ 0x1eaec7e7 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x1eaec717 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>&, void>(std::vector, std::allocator>>&) @ 0x1eaec6c6 in /usr/bin/clickhouse 13. /build/src/Functions/map.cpp:185: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1eaec305 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 21:36:01.270591 [ 6021 ] {f17b534b-9720-4fb5-bfae-a5fbfc1b228c} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Array(UInt8) given: While processing mapFromArrays([[1, 2], [3, 4]], [4, 5, 6]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x29a0b407 in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypeMap.cpp:53: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x29a0b59b in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], std::allocator>>&, DB::DataTypeMap*>(DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x1eaec8e6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>&, void, void>(std::allocator&, DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x1eaec861 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>&>(std::allocator, std::vector, std::allocator>>&) @ 0x1eaec7e7 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x1eaec717 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>&, void>(std::vector, std::allocator>>&) @ 0x1eaec6c6 in /usr/bin/clickhouse 13. /build/src/Functions/map.cpp:185: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1eaec305 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 21:36:01.905742 [ 3331 ] {08a25262-d470-478b-9572-f23e6bd2f81c} executeQuery: Code: 241. DB::Exception: Memory limit to apply mutate/merge in a9ecf9e4-885e-4513-92d3-db524ed39432::all_1_120_13 exceeded: would use 11.32 MiB (attempt to allocate chunk of 2772764 bytes), maximum: 10.00 MiB.: while executing 'FUNCTION repeat(value : 1, 40 :: 2) -> repeat(value, 40) String : 3'. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41168) (comment: 01641_memory_tracking_insert_optimize.sql) (in query: optimize table data_01641 final;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:64: void DB::(anonymous namespace)::RepeatImpl::vectorStrConstRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, char8_t) @ 0x20d07340 in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:219: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x20d06400 in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&&) @ 0x20d05ec7 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:175: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x20d05c5d in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:213: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d0549a in /usr/bin/clickhouse 19. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 2024.03.27 21:36:01.906841 [ 3331 ] {08a25262-d470-478b-9572-f23e6bd2f81c} TCPHandler: Code: 241. DB::Exception: Memory limit to apply mutate/merge in a9ecf9e4-885e-4513-92d3-db524ed39432::all_1_120_13 exceeded: would use 11.32 MiB (attempt to allocate chunk of 2772764 bytes), maximum: 10.00 MiB.: while executing 'FUNCTION repeat(value : 1, 40 :: 2) -> repeat(value, 40) String : 3'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:64: void DB::(anonymous namespace)::RepeatImpl::vectorStrConstRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, char8_t) @ 0x20d07340 in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:219: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x20d06400 in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&&) @ 0x20d05ec7 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:175: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x20d05c5d in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:213: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d0549a in /usr/bin/clickhouse 19. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 2024.03.27 21:36:02.740472 [ 6021 ] {caaf67d0-0bfe-4a73-bf10-0347a68071b8} executeQuery: Code: 43. DB::Exception: Values for sumMap cannot be summed, passed type Nullable(Nothing): While processing initializeAggregation('sumMap', [1, 2, 1], [1, 1, 1], [NULL, NULL, NULL]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41208) (comment: 01634_sum_map_nulls.sql) (in query: SELECT initializeAggregation('sumMap', [1, 2, 1], [1, 1, 1], [null, null, null]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:134: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x2457bf02 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:84: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x24577e7c in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:446: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x24577515 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/Helpers.h:18: DB::IAggregateFunction* DB::createWithNumericType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2448d81f in /usr/bin/clickhouse 10. /build/src/AggregateFunctions/Helpers.h:124: DB::IAggregateFunction* DB::createWithNumericBasedType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2448cad8 in /usr/bin/clickhouse 11. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:93: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2448a906 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 18. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionMap.cpp:124: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x26019073 in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:200: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b3e18 in /usr/bin/clickhouse 22. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 23. /build/src/Functions/initializeAggregation.cpp:86: DB::(anonymous namespace)::FunctionInitializeAggregation::getReturnTypeImpl(std::vector> const&) const @ 0x1d8e53cd in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:36:02.742203 [ 6021 ] {caaf67d0-0bfe-4a73-bf10-0347a68071b8} TCPHandler: Code: 43. DB::Exception: Values for sumMap cannot be summed, passed type Nullable(Nothing): While processing initializeAggregation('sumMap', [1, 2, 1], [1, 1, 1], [NULL, NULL, NULL]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:134: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x2457bf02 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:84: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x24577e7c in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:446: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x24577515 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/Helpers.h:18: DB::IAggregateFunction* DB::createWithNumericType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2448d81f in /usr/bin/clickhouse 10. /build/src/AggregateFunctions/Helpers.h:124: DB::IAggregateFunction* DB::createWithNumericBasedType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2448cad8 in /usr/bin/clickhouse 11. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:93: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2448a906 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 18. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionMap.cpp:124: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x26019073 in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:200: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b3e18 in /usr/bin/clickhouse 22. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 23. /build/src/Functions/initializeAggregation.cpp:86: DB::(anonymous namespace)::FunctionInitializeAggregation::getReturnTypeImpl(std::vector> const&) const @ 0x1d8e53cd in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:36:03.459359 [ 6021 ] {f37276ec-a12e-468e-a094-c4a734116c49} executeQuery: Code: 565. DB::Exception: Too many partitions to read. Current 2, max 1. (TOO_MANY_PARTITIONS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41234) (comment: 01632_max_partitions_to_read.sql) (in query: select * from p order by i;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity&>::type>, unsigned long&&, DB::SettingFieldNumber&) @ 0x2c20c0ac in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1193: DB::MergeTreeDataSelectExecutor::checkLimits(DB::MergeTreeData const&, DB::ReadFromMergeTree::AnalysisResult const&, std::shared_ptr const&) @ 0x2c201713 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1654: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf243af in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:03.460233 [ 6021 ] {f37276ec-a12e-468e-a094-c4a734116c49} TCPHandler: Code: 565. DB::Exception: Too many partitions to read. Current 2, max 1. (TOO_MANY_PARTITIONS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity&>::type>, unsigned long&&, DB::SettingFieldNumber&) @ 0x2c20c0ac in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1193: DB::MergeTreeDataSelectExecutor::checkLimits(DB::MergeTreeData const&, DB::ReadFromMergeTree::AnalysisResult const&, std::shared_ptr const&) @ 0x2c201713 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1654: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf243af in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:06.301013 [ 3331 ] {f8ea5d0c-13ed-47f2-b772-1e750940e00e} executeQuery: Code: 43. DB::Exception: Values for sumMapWithOverflow cannot be summed, passed type Nullable(Nothing). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38584) (comment: 01621_summap_check_types.sql) (in query: SELECT [NULL], sumMapWithOverflow(events, [NULL], [[(NULL)]], counts) FROM sum_map_overflow;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:134: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, false, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x24976582 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:84: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, false, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x249724fc in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:446: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x24971b95 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/Helpers.h:18: DB::IAggregateFunction* DB::createWithNumericType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x244926df in /usr/bin/clickhouse 10. /build/src/AggregateFunctions/Helpers.h:124: DB::IAggregateFunction* DB::createWithNumericBasedType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x24491998 in /usr/bin/clickhouse 11. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:93: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2448b3e6 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 18. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:36:06.302974 [ 3331 ] {f8ea5d0c-13ed-47f2-b772-1e750940e00e} TCPHandler: Code: 43. DB::Exception: Values for sumMapWithOverflow cannot be summed, passed type Nullable(Nothing). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:134: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, false, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x24976582 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:84: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, false, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x249724fc in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:446: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x24971b95 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/Helpers.h:18: DB::IAggregateFunction* DB::createWithNumericType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x244926df in /usr/bin/clickhouse 10. /build/src/AggregateFunctions/Helpers.h:124: DB::IAggregateFunction* DB::createWithNumericBasedType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x24491998 in /usr/bin/clickhouse 11. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:93: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2448b3e6 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 18. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:36:06.524773 [ 3331 ] {2bab9463-dbfd-44ae-a494-79e0f15d8457} executeQuery: Code: 43. DB::Exception: Argument 'max_width' must not be NaN: While processing bar((greatCircleAngle(65537, 2, 1, 1) - 1) * 65535, 1048576, 1048577, nan). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38596) (comment: 01621_bar_nan_arguments.sql) (in query: SELECT bar((greatCircleAngle(65537, 2, 1, 1) - 1) * 65535, 1048576, 1048577, nan);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1a9e957e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:86: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a9e8885 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:36:06.526631 [ 3331 ] {2bab9463-dbfd-44ae-a494-79e0f15d8457} TCPHandler: Code: 43. DB::Exception: Argument 'max_width' must not be NaN: While processing bar((greatCircleAngle(65537, 2, 1, 1) - 1) * 65535, 1048576, 1048577, nan). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1a9e957e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:86: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a9e8885 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:36:06.533608 [ 3331 ] {26631798-b5fe-425a-b85b-1dba12fd59b0} executeQuery: Code: 43. DB::Exception: Argument 'max_width' must not be NaN: While processing bar(1, 1, 1, nan). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38596) (comment: 01621_bar_nan_arguments.sql) (in query: select bar(1,1,1,nan);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1a9e957e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:86: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a9e8885 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:36:06.534634 [ 3331 ] {26631798-b5fe-425a-b85b-1dba12fd59b0} TCPHandler: Code: 43. DB::Exception: Argument 'max_width' must not be NaN: While processing bar(1, 1, 1, nan). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1a9e957e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:86: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a9e8885 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:36:07.966971 [ 8925 ] {91a11985-f053-4e99-87c2-f57022ab321a} executeQuery: Code: 524. DB::Exception: ALTER of key column enum_key from type Enum8('y' = 1, 'x' = 2, 'z' = 3) to type Enum16('y' = 1, 'x' = 2, 'z' = 3) is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38630) (comment: 01611_string_to_low_cardinality_key_alter.sql) (in query: ALTER TABLE table_with_lc_key MODIFY COLUMN enum_key Enum16('x' = 2, 'y' = 1, 'z' = 3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e817c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:07.967934 [ 8925 ] {91a11985-f053-4e99-87c2-f57022ab321a} TCPHandler: Code: 524. DB::Exception: ALTER of key column enum_key from type Enum8('y' = 1, 'x' = 2, 'z' = 3) to type Enum16('y' = 1, 'x' = 2, 'z' = 3) is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e817c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:08.324897 [ 8925 ] {c37a2fb4-afba-438d-8cea-fbee1a914e39} executeQuery: Code: 524. DB::Exception: ALTER of key column int_key from type Int8 to type Enum8('y' = 1, 'x' = 2) is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38630) (comment: 01611_string_to_low_cardinality_key_alter.sql) (in query: ALTER TABLE table_with_string_key MODIFY COLUMN int_key Enum8('y' = 1, 'x' = 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e817c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:08.326322 [ 8925 ] {c37a2fb4-afba-438d-8cea-fbee1a914e39} TCPHandler: Code: 524. DB::Exception: ALTER of key column int_key from type Int8 to type Enum8('y' = 1, 'x' = 2) is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e817c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:10.829509 [ 8925 ] {48b46fd6-1b50-4cd6-b9bd-8d376fb697f1} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''): While processing (SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n: While processing tryBase64Decode((SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n, (SELECT regionIn('l. ')) AS srocpnuv). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38706) (comment: 01602_modified_julian_day_msan.sql) (in query: SELECT tryBase64Decode(( SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '') ) AS n, ( SELECT regionIn('l. ') ) AS srocpnuv);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1bfc05dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:476: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a05a3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:36:10.830885 [ 8925 ] {48b46fd6-1b50-4cd6-b9bd-8d376fb697f1} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''): While processing (SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n: While processing tryBase64Decode((SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n, (SELECT regionIn('l. ')) AS srocpnuv). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1bfc05dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:476: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a05a3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:36:10.839342 [ 8925 ] {1d52e647-7bf1-408b-a193-6697bb77bc56} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38706) (comment: 01602_modified_julian_day_msan.sql) (in query: SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1bfc05dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:476: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a05a3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:36:10.840444 [ 8925 ] {1d52e647-7bf1-408b-a193-6697bb77bc56} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1bfc05dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:476: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a05a3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:36:10.847598 [ 8925 ] {c5144d8f-f97c-4c90-b57d-15c3f6854094} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toInt32OrNull('123qwe123'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38706) (comment: 01602_modified_julian_day_msan.sql) (in query: SELECT countSubstrings(toInt32OrNull('123qwe123'), '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1bfc05dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:476: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a05a3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:36:10.848879 [ 8925 ] {c5144d8f-f97c-4c90-b57d-15c3f6854094} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toInt32OrNull('123qwe123'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1bfc05dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:476: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a05a3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:36:12.138041 [ 8925 ] {12786ccc-423d-4fe2-9ff0-291c2f5e4b73} executeQuery: Code: 44. DB::Exception: Constant columns are not supported at the moment. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38722) (comment: 01602_runningConcurrency.sql) (in query: -- Constant columns are currently not supported. SELECT runningConcurrency(toDate(arrayJoin([1, 2])), toDate('2000-01-01'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [49]) @ 0x1a93459e in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:40: DB::ExecutableFunctionRunningConcurrency>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d4e255 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 14. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:12.139266 [ 8925 ] {12786ccc-423d-4fe2-9ff0-291c2f5e4b73} TCPHandler: Code: 44. DB::Exception: Constant columns are not supported at the moment. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [49]) @ 0x1a93459e in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:40: DB::ExecutableFunctionRunningConcurrency>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d4e255 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 14. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:12.251602 [ 8925 ] {e718a940-82a8-4f6f-b4c5-7abcd2eeb654} executeQuery: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency('strings are', 'not supported'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38722) (comment: 01602_runningConcurrency.sql) (in query: -- Unsupported data types SELECT runningConcurrency('strings are', 'not supported');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x20d4d90d in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x20d4d67a in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a073e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 2024.03.27 21:36:12.253007 [ 8925 ] {e718a940-82a8-4f6f-b4c5-7abcd2eeb654} TCPHandler: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency('strings are', 'not supported'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x20d4d90d in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x20d4d67a in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a073e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 2024.03.27 21:36:12.260261 [ 8925 ] {c0a7551a-2268-4ec1-9a4f-9216375e7f6c} executeQuery: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency(NULL, NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38722) (comment: 01602_runningConcurrency.sql) (in query: SELECT runningConcurrency(NULL, NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x20d4d90d in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x20d4d67a in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a073e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 2024.03.27 21:36:12.261645 [ 8925 ] {c0a7551a-2268-4ec1-9a4f-9216375e7f6c} TCPHandler: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency(NULL, NULL). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x20d4d90d in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x20d4d67a in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a073e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 2024.03.27 21:36:12.270418 [ 8925 ] {e7f132ef-8136-409e-938b-9b1bf58c3ee9} executeQuery: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency(CAST(NULL, 'Nullable(DateTime)'), CAST(NULL, 'Nullable(DateTime)')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38722) (comment: 01602_runningConcurrency.sql) (in query: SELECT runningConcurrency(CAST(NULL, 'Nullable(DateTime)'), CAST(NULL, 'Nullable(DateTime)'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x20d4d90d in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x20d4d67a in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a073e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 2024.03.27 21:36:12.271793 [ 8925 ] {e7f132ef-8136-409e-938b-9b1bf58c3ee9} TCPHandler: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency(CAST(NULL, 'Nullable(DateTime)'), CAST(NULL, 'Nullable(DateTime)')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x20d4d90d in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x20d4d67a in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a073e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 2024.03.27 21:36:12.388783 [ 8925 ] {f5c02c28-afb1-49a1-bbdf-faeb7605f5a0} executeQuery: Code: 43. DB::Exception: Function runningConcurrency must be called with two arguments having the same type.: While processing runningConcurrency(toDate('2000-01-01'), toDateTime('2000-01-01 00:00:00')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38722) (comment: 01602_runningConcurrency.sql) (in query: -- Mismatching data types SELECT runningConcurrency(toDate('2000-01-01'), toDateTime('2000-01-01 00:00:00'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:170: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x20d4d4ad in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a073e in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 2024.03.27 21:36:12.390302 [ 8925 ] {f5c02c28-afb1-49a1-bbdf-faeb7605f5a0} TCPHandler: Code: 43. DB::Exception: Function runningConcurrency must be called with two arguments having the same type.: While processing runningConcurrency(toDate('2000-01-01'), toDateTime('2000-01-01 00:00:00')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:170: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x20d4d4ad in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a073e in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 2024.03.27 21:36:12.502621 [ 8925 ] {7d0bda7f-6b8c-4adc-843b-9b6010d8735f} executeQuery: Code: 117. DB::Exception: Incorrect order of events: '2000-01-02' > '2000-01-01': While processing runningConcurrency(toDate('2000-01-02'), toDate('2000-01-01')). (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38722) (comment: 01602_runningConcurrency.sql) (in query: -- begin > end SELECT runningConcurrency(toDate('2000-01-02'), toDate('2000-01-01'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x20d4f12c in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:63: DB::ExecutableFunctionRunningConcurrency>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d4ec1d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:36:12.504042 [ 8925 ] {7d0bda7f-6b8c-4adc-843b-9b6010d8735f} TCPHandler: Code: 117. DB::Exception: Incorrect order of events: '2000-01-02' > '2000-01-01': While processing runningConcurrency(toDate('2000-01-02'), toDate('2000-01-01')). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x20d4f12c in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:63: DB::ExecutableFunctionRunningConcurrency>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d4ec1d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:36:12.623698 [ 8933 ] {be3cb6dc-dfd4-4b12-82d7-8c1e89b857d8} executeQuery: Code: 63. DB::Exception: Aggregate function sequenceNextNode is experimental. Set `allow_experimental_funnel_functions` setting to enable it. (UNKNOWN_AGGREGATE_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41120) (comment: 01656_sequence_next_node_long.sql) (in query: SELECT '(backward, first_match, 1, B->C)', id, sequenceNextNode('backward', 'first_match')(dt, action, referrer = '2', action = 'B', action = 'A') AS next_node FROM test_base_condition GROUP BY id ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSequenceNextNode.cpp:45: DB::(anonymous namespace)::createAggregateFunctionSequenceNode(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x25d29342 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:36:12.625257 [ 8933 ] {be3cb6dc-dfd4-4b12-82d7-8c1e89b857d8} TCPHandler: Code: 63. DB::Exception: Aggregate function sequenceNextNode is experimental. Set `allow_experimental_funnel_functions` setting to enable it. (UNKNOWN_AGGREGATE_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSequenceNextNode.cpp:45: DB::(anonymous namespace)::createAggregateFunctionSequenceNode(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x25d29342 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:36:14.854221 [ 3331 ] {e2a7534c-e951-4f2e-9474-c06298efece9} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_htnolopn` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2024-06-14 00:19:49. Name of quota template: `quota_by_ip_test_htnolopn`. (QUOTA_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34058) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3512fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:14.855531 [ 3331 ] {e2a7534c-e951-4f2e-9474-c06298efece9} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_htnolopn` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2024-06-14 00:19:49. Name of quota template: `quota_by_ip_test_htnolopn`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3512fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:36:15.054399 [ 3331 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 104, Connection reset by peer, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:22: Poco::Exception::Exception(int) @ 0x31de9efc in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(int) @ 0x31ded37f in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(int) @ 0x31df14bf in /usr/bin/clickhouse 5. /build/base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(int) @ 0x31c0be9f in /usr/bin/clickhouse 6. /build/base/poco/Net/src/NetException.cpp:31: Poco::Net::ConnectionResetException::ConnectionResetException(int) @ 0x31c0d0bf in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:985: Poco::Net::SocketImpl::error(int, String const&) @ 0x31c1b644 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/SocketImpl.cpp:923: Poco::Net::SocketImpl::error(int) @ 0x31c1c2a4 in /usr/bin/clickhouse 9. /build/base/poco/Net/src/SocketImpl.cpp:299: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x31c1ce3f in /usr/bin/clickhouse 10. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x31c24ade in /usr/bin/clickhouse 11. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x31c20932 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/HTTPSession.cpp:152: Poco::Net::HTTPSession::write(char const*, long) @ 0x31bfb24e in /usr/bin/clickhouse 13. /build/base/poco/Net/src/HTTPChunkedStream.cpp:57: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x31bea68d in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x31beb05a in /usr/bin/clickhouse 15. /build/base/poco/Net/src/HTTPChunkedStream.cpp:236: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31beb7e1 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31beb820 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c7d070d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c7d06b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x2c7d0699 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x2c7d050e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x196b69d4 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x196b6979 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x2c733fec in /usr/bin/clickhouse 24. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x2c7cab5b in /usr/bin/clickhouse 25. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x2c7ca698 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:36:15.054438 [ 8947 ] {22d609ce-ed55-45ce-b038-f715e9bd965c} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_htnolopn` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2024-06-14 00:19:49. Name of quota template: `quota_by_ip_test_htnolopn`. (QUOTA_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34066) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3512fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:15.055806 [ 8947 ] {22d609ce-ed55-45ce-b038-f715e9bd965c} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_htnolopn` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2024-06-14 00:19:49. Name of quota template: `quota_by_ip_test_htnolopn`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3512fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:36:15.075213 [ 8947 ] {b8bf1cc6-77ee-44b9-ab26-b8d25e339f37} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_htnolopn` for 31556952s has been exceeded: queries = 4/1. Interval will end at 2024-06-14 00:19:49. Name of quota template: `quota_by_ip_test_htnolopn`. (QUOTA_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34068) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3512fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:15.076286 [ 8947 ] {b8bf1cc6-77ee-44b9-ab26-b8d25e339f37} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_htnolopn` for 31556952s has been exceeded: queries = 4/1. Interval will end at 2024-06-14 00:19:49. Name of quota template: `quota_by_ip_test_htnolopn`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3512fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:36:15.137941 [ 8947 ] {501a7e0e-41d8-4beb-833e-e7f66b020712} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_htnolopn` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2025-03-11 00:04:39. Name of quota template: `quota_by_forwarded_ip_test_htnolopn`. (QUOTA_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34078) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3512fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:15.138974 [ 8947 ] {501a7e0e-41d8-4beb-833e-e7f66b020712} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_htnolopn` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2025-03-11 00:04:39. Name of quota template: `quota_by_forwarded_ip_test_htnolopn`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3512fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:36:15.140315 [ 8947 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 104, Connection reset by peer, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:22: Poco::Exception::Exception(int) @ 0x31de9efc in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(int) @ 0x31ded37f in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(int) @ 0x31df14bf in /usr/bin/clickhouse 5. /build/base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(int) @ 0x31c0be9f in /usr/bin/clickhouse 6. /build/base/poco/Net/src/NetException.cpp:31: Poco::Net::ConnectionResetException::ConnectionResetException(int) @ 0x31c0d0bf in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:985: Poco::Net::SocketImpl::error(int, String const&) @ 0x31c1b644 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/SocketImpl.cpp:923: Poco::Net::SocketImpl::error(int) @ 0x31c1c2a4 in /usr/bin/clickhouse 9. /build/base/poco/Net/src/SocketImpl.cpp:299: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x31c1ce3f in /usr/bin/clickhouse 10. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x31c24ade in /usr/bin/clickhouse 11. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x31c20932 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/HTTPSession.cpp:152: Poco::Net::HTTPSession::write(char const*, long) @ 0x31bfb24e in /usr/bin/clickhouse 13. /build/base/poco/Net/src/HTTPChunkedStream.cpp:57: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x31bea68d in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x31beb05a in /usr/bin/clickhouse 15. /build/base/poco/Net/src/HTTPChunkedStream.cpp:236: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31beb7e1 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31beb820 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c7d070d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c7d06b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x2c7d0699 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x2c7d050e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x196b69d4 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x196b6979 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x2c733fec in /usr/bin/clickhouse 24. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x2c7cab5b in /usr/bin/clickhouse 25. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x2c7ca698 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:36:15.153690 [ 8947 ] {0400b35c-6baa-4b8f-871b-2d0c336ab19b} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_htnolopn` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2025-03-11 00:04:39. Name of quota template: `quota_by_forwarded_ip_test_htnolopn`. (QUOTA_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34094) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3512fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:15.154698 [ 8947 ] {0400b35c-6baa-4b8f-871b-2d0c336ab19b} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_htnolopn` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2025-03-11 00:04:39. Name of quota template: `quota_by_forwarded_ip_test_htnolopn`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3512fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:36:15.220482 [ 8947 ] {e687b6b1-9c11-4539-95be-e714b214eab7} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_htnolopn` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2024-12-29 17:52:37. Name of quota template: `quota_by_forwarded_ip_test_htnolopn`. (QUOTA_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55978) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3512fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:15.221527 [ 8947 ] {e687b6b1-9c11-4539-95be-e714b214eab7} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_htnolopn` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2024-12-29 17:52:37. Name of quota template: `quota_by_forwarded_ip_test_htnolopn`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3512fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:36:15.238840 [ 8947 ] {4686aff5-91bc-457a-90ae-62bd16952e82} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_htnolopn` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2024-12-29 17:52:37. Name of quota template: `quota_by_forwarded_ip_test_htnolopn`. (QUOTA_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55982) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3512fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:15.239928 [ 8947 ] {4686aff5-91bc-457a-90ae-62bd16952e82} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_htnolopn` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2024-12-29 17:52:37. Name of quota template: `quota_by_forwarded_ip_test_htnolopn`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3512fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:36:15.255929 [ 8947 ] {279fd9b0-9216-4394-966b-7a5cf7cf9648} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_htnolopn` for 31556952s has been exceeded: queries = 4/1. Interval will end at 2024-12-29 17:52:37. Name of quota template: `quota_by_forwarded_ip_test_htnolopn`. (QUOTA_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55990) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3512fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:15.257102 [ 8947 ] {279fd9b0-9216-4394-966b-7a5cf7cf9648} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_htnolopn` for 31556952s has been exceeded: queries = 4/1. Interval will end at 2024-12-29 17:52:37. Name of quota template: `quota_by_forwarded_ip_test_htnolopn`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3512fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:36:15.441229 [ 2750 ] {db1cccac-6385-4941-89d9-8f63065aa793} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of first argument (haystack) of function countMatches. Must be String/FixedString.: While processing countMatches(1, 'foo'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38802) (comment: 01595_countMatches.sql) (in query: select countMatches(1, 'foo') from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:43: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x1bfbcb62 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:36:15.442497 [ 2750 ] {db1cccac-6385-4941-89d9-8f63065aa793} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of first argument (haystack) of function countMatches. Must be String/FixedString.: While processing countMatches(1, 'foo'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:43: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x1bfbcb62 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:36:15.555522 [ 2750 ] {7b2c2173-1d6d-453b-992e-f54d827bc766} executeQuery: Code: 44. DB::Exception: The second argument of function countMatches should be a constant string with the pattern: While processing countMatches('foobarfoo', toString(number)). (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38802) (comment: 01595_countMatches.sql) (in query: select countMatches('foobarfoo', toString(number)) from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:48: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x1bfbccdc in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:36:15.556783 [ 2750 ] {7b2c2173-1d6d-453b-992e-f54d827bc766} TCPHandler: Code: 44. DB::Exception: The second argument of function countMatches should be a constant string with the pattern: While processing countMatches('foobarfoo', toString(number)). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:48: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x1bfbccdc in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:36:16.319935 [ 2750 ] {7473b2af-0819-429f-b62e-bb85335225fd} executeQuery: Code: 252. DB::Exception: Too many partitions for single INSERT block (more than 1). The limit is controlled by 'max_partitions_per_insert_block' setting. Large number of partitions is a common misconception. It will lead to severe negative performance impact, including slow server startup, slow INSERT queries and slow SELECT queries. Recommended total number of partitions for a table is under 1000..10000. Please note, that partitioning is not intended to speed up SELECT queries (ORDER BY key is sufficient to make range queries fast). Partitions are intended for data manipulation (DROP PARTITION, etc). (TOO_MANY_PARTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35756) (comment: 01593_insert_settings.sql) (in query: insert into data_01593 select * from numbers_mt(10) settings max_partitions_per_insert_block=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a52fed3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:78: DB::(anonymous namespace)::buildScatterSelector(std::vector> const&, DB::PODArray, 0ul, 0ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x2c3fd0c5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:223: DB::MergeTreeDataWriter::splitBlockIntoParts(DB::Block const&, unsigned long, std::shared_ptr const&, std::shared_ptr, std::shared_ptr) @ 0x2c3fbeb1 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeSink.cpp:64: DB::MergeTreeSink::consume(DB::Chunk) @ 0x2c5af49a in /usr/bin/clickhouse 9. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c82e207 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c82e0a1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c82e055 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c82e039 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c82df9d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c82dea2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c82de15 in /usr/bin/clickhouse 2024.03.27 21:36:16.321502 [ 2750 ] {7473b2af-0819-429f-b62e-bb85335225fd} TCPHandler: Code: 252. DB::Exception: Too many partitions for single INSERT block (more than 1). The limit is controlled by 'max_partitions_per_insert_block' setting. Large number of partitions is a common misconception. It will lead to severe negative performance impact, including slow server startup, slow INSERT queries and slow SELECT queries. Recommended total number of partitions for a table is under 1000..10000. Please note, that partitioning is not intended to speed up SELECT queries (ORDER BY key is sufficient to make range queries fast). Partitions are intended for data manipulation (DROP PARTITION, etc). (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a52fed3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:78: DB::(anonymous namespace)::buildScatterSelector(std::vector> const&, DB::PODArray, 0ul, 0ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x2c3fd0c5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:223: DB::MergeTreeDataWriter::splitBlockIntoParts(DB::Block const&, unsigned long, std::shared_ptr const&, std::shared_ptr, std::shared_ptr) @ 0x2c3fbeb1 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeSink.cpp:64: DB::MergeTreeSink::consume(DB::Chunk) @ 0x2c5af49a in /usr/bin/clickhouse 9. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c82e207 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c82e0a1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c82e055 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c82e039 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c82df9d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c82dea2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c82de15 in /usr/bin/clickhouse 2024.03.27 21:36:17.759124 [ 2750 ] {8c1de3c8-d81f-4bb3-a977-2da5fd1fd8df} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 512.00 GiB (attempt to allocate chunk of 549756592760 bytes), maximum: 9.31 GiB.: while executing 'FUNCTION repeat(toString(number) :: 2, 1000000 :: 1) -> repeat(toString(number), 1000000) String : 3'. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35778) (comment: 01586_columns_pruning.sql) (in query: -- Unneeded column cannot be removed from subquery and the query is out of memory SELECT count() FROM (SELECT number, groupArray(repeat(toString(number), 1000000)) AS agg FROM numbers(1000000) GROUP BY number HAVING notEmpty(agg));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:64: void DB::(anonymous namespace)::RepeatImpl::vectorStrConstRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned int) @ 0x20d0777a in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:219: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x20d0657f in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&&) @ 0x20d05f87 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:175: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x20d05c5d in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:213: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d0549a in /usr/bin/clickhouse 19. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 2024.03.27 21:36:17.762255 [ 2750 ] {8c1de3c8-d81f-4bb3-a977-2da5fd1fd8df} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 512.00 GiB (attempt to allocate chunk of 549756592760 bytes), maximum: 9.31 GiB.: while executing 'FUNCTION repeat(toString(number) :: 2, 1000000 :: 1) -> repeat(toString(number), 1000000) String : 3'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:64: void DB::(anonymous namespace)::RepeatImpl::vectorStrConstRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned int) @ 0x20d0777a in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:219: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x20d0657f in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&&) @ 0x20d05f87 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:175: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x20d05c5d in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:213: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d0549a in /usr/bin/clickhouse 19. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 2024.03.27 21:36:23.273669 [ 8960 ] {839a14ca-9f6b-4d29-962c-30c99ae26eec} executeQuery: Code: 42. DB::Exception: Aggregate function any requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35854) (comment: 01560_crash_in_agg_empty_arglist.sql) (in query: SELECT any() as t, substring(query, 1, 70) AS query, avg(memory_usage) usage, count() count FROM system.query_log WHERE current_database = currentDatabase() AND event_date >= toDate(1604295323) AND event_time >= toDateTime(1604295323) AND type in (1,2,3,4) and initial_user in ('') and('all' = 'all' or(positionCaseInsensitive(query, 'all') = 1)) GROUP BY query ORDER BY usage desc LIMIT 5;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225523e1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:24: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23e2e455 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23e2e32d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:107: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x29032eca in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/KeyCondition.cpp:714: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c01a40d in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:55: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x2c3ee94d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:645: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad931c3 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 2024.03.27 21:36:23.275676 [ 8960 ] {839a14ca-9f6b-4d29-962c-30c99ae26eec} TCPHandler: Code: 42. DB::Exception: Aggregate function any requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225523e1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:24: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23e2e455 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23e2e32d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:107: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x29032eca in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/KeyCondition.cpp:714: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c01a40d in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:55: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x2c3ee94d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:645: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad931c3 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 2024.03.27 21:36:31.892972 [ 8949 ] {d81731cb-ccf4-4302-8837-c8bb576d0a11} executeQuery: Code: 53. DB::Exception: CAST AS Map can only be performed from tuple of arrays with equal sizes.: While processing CAST(([2, 1, 1023], ['', '']), 'Map(UInt8, String)') AS map, map[10]. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56940) (comment: 01550_create_map_type.sql) (in query: SELECT CAST(([2, 1, 1023], ['', '']), 'Map(UInt8, String)') AS map, map[10] -- { serverError 53} ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [73]) @ 0x19b4cebe in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3318: DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19dcf631 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dcf0a6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dcf040 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dcefe0 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19dcef8b in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:36:31.894450 [ 8949 ] {d81731cb-ccf4-4302-8837-c8bb576d0a11} TCPHandler: Code: 53. DB::Exception: CAST AS Map can only be performed from tuple of arrays with equal sizes.: While processing CAST(([2, 1, 1023], ['', '']), 'Map(UInt8, String)') AS map, map[10]. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [73]) @ 0x19b4cebe in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3318: DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19dcf631 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dcf0a6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dcf040 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dcefe0 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19dcef8b in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:36:33.444468 [ 635 ] {b8475f0a-2db8-4b01-8026-92954cfea449} executeQuery: Code: 44. DB::Exception: Having clause cannot contain arrayJoin. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56998) (comment: 01548_with_totals_having.sql) (in query: SELECT * FROM numbers(4) GROUP BY number WITH TOTALS HAVING sum(number) <= arrayJoin([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [39]) @ 0x1a9e965e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:192: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x2cd4c4b2 in /usr/bin/clickhouse 7. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 8. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x2cd4bcfd in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:33.447256 [ 635 ] {b8475f0a-2db8-4b01-8026-92954cfea449} TCPHandler: Code: 44. DB::Exception: Having clause cannot contain arrayJoin. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [39]) @ 0x1a9e965e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:192: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x2cd4c4b2 in /usr/bin/clickhouse 7. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 8. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x2cd4bcfd in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:33.479205 [ 635 ] {c93bc3df-1706-4118-bfec-1ae9f021d8b7} executeQuery: Code: 44. DB::Exception: Having clause cannot contain arrayJoin. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56998) (comment: 01548_with_totals_having.sql) (in query: SELECT * FROM numbers(4) GROUP BY number WITH TOTALS HAVING sum(number) <= arrayJoin([3, 2, 1, 0]) ORDER BY number;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [39]) @ 0x1a9e965e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:192: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x2cd4c4b2 in /usr/bin/clickhouse 7. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 8. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x2cd4bcfd in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:33.483792 [ 635 ] {c93bc3df-1706-4118-bfec-1ae9f021d8b7} TCPHandler: Code: 44. DB::Exception: Having clause cannot contain arrayJoin. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [39]) @ 0x1a9e965e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:192: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x2cd4c4b2 in /usr/bin/clickhouse 7. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 8. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x2cd4bcfd in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:34.993067 [ 635 ] {eb36fe62-c476-4562-b252-69d16447a361} executeQuery: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(-678942). (CANNOT_FORMAT_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57044) (comment: 01544_fromModifiedJulianDay.sql) (in query: SELECT fromModifiedJulianDay(-678942);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [62]) @ 0x1a13985e in /usr/bin/clickhouse 6. /build/src/Functions/GregorianDate.h:333: DB::OrdinalDate::OrdinalDate(int) @ 0x1c939ccf in /usr/bin/clickhouse 7. /build/src/Functions/GregorianDate.h:260: DB::GregorianDate::GregorianDate(int) @ 0x1c939c03 in /usr/bin/clickhouse 8. /build/src/Functions/fromModifiedJulianDay.cpp:77: DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c939a80 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:36:34.994193 [ 635 ] {eb36fe62-c476-4562-b252-69d16447a361} TCPHandler: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(-678942). (CANNOT_FORMAT_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [62]) @ 0x1a13985e in /usr/bin/clickhouse 6. /build/src/Functions/GregorianDate.h:333: DB::OrdinalDate::OrdinalDate(int) @ 0x1c939ccf in /usr/bin/clickhouse 7. /build/src/Functions/GregorianDate.h:260: DB::GregorianDate::GregorianDate(int) @ 0x1c939c03 in /usr/bin/clickhouse 8. /build/src/Functions/fromModifiedJulianDay.cpp:77: DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c939a80 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:36:35.095370 [ 635 ] {282139aa-8121-4028-ab9b-b68132a7de7d} executeQuery: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(2973484). (CANNOT_FORMAT_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57044) (comment: 01544_fromModifiedJulianDay.sql) (in query: SELECT fromModifiedJulianDay(2973484);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [62]) @ 0x1a13985e in /usr/bin/clickhouse 6. /build/src/Functions/GregorianDate.h:339: DB::OrdinalDate::OrdinalDate(unsigned int) @ 0x1c92922f in /usr/bin/clickhouse 7. /build/src/Functions/GregorianDate.h:260: DB::GregorianDate::GregorianDate(unsigned int) @ 0x1c929163 in /usr/bin/clickhouse 8. /build/src/Functions/fromModifiedJulianDay.cpp:77: DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c928fe0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:36:35.096477 [ 635 ] {282139aa-8121-4028-ab9b-b68132a7de7d} TCPHandler: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(2973484). (CANNOT_FORMAT_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [62]) @ 0x1a13985e in /usr/bin/clickhouse 6. /build/src/Functions/GregorianDate.h:339: DB::OrdinalDate::OrdinalDate(unsigned int) @ 0x1c92922f in /usr/bin/clickhouse 7. /build/src/Functions/GregorianDate.h:260: DB::GregorianDate::GregorianDate(unsigned int) @ 0x1c929163 in /usr/bin/clickhouse 8. /build/src/Functions/fromModifiedJulianDay.cpp:77: DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c928fe0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:36:38.271761 [ 8244 ] {6a9a46e2-71c9-441e-9af7-d70527290f6f} executeQuery: Code: 47. DB::Exception: Unknown identifier 'ns' in aggregate function 'sum(ns)'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49582) (comment: 01538_fuzz_aggregate.sql) (in query: SELECT count(), sum(ns) FROM ( SELECT intDiv(number, NULL) AS k FROM system.numbers_mt GROUP BY k ) ARRAY JOIN ns;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:653: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034bb3 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:38.273027 [ 8244 ] {6a9a46e2-71c9-441e-9af7-d70527290f6f} TCPHandler: Code: 47. DB::Exception: Unknown identifier 'ns' in aggregate function 'sum(ns)'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:653: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034bb3 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:38.518641 [ 8244 ] {52f60754-62db-4be9-9f1f-85d9e3b00e4e} executeQuery: Code: 69. DB::Exception: Scale argument for rounding function is too large: While processing round(toDecimal32(1, 0), -9223372036854775806). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49602) (comment: 01535_decimal_round_scale_overflow_check.sql) (in query: SELECT round(toDecimal32(1, 0), -9223372036854775806);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [50]) @ 0x1973983e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:569: DB::FunctionRounding::getScaleArg(std::vector> const&) @ 0x1a5cb0d5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsRound.h:582: DB::FunctionRounding::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a5ca7d5 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:36:38.519796 [ 8244 ] {52f60754-62db-4be9-9f1f-85d9e3b00e4e} TCPHandler: Code: 69. DB::Exception: Scale argument for rounding function is too large: While processing round(toDecimal32(1, 0), -9223372036854775806). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [50]) @ 0x1973983e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:569: DB::FunctionRounding::getScaleArg(std::vector> const&) @ 0x1a5cb0d5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsRound.h:582: DB::FunctionRounding::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a5ca7d5 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:36:43.280755 [ 8933 ] {78048c5e-4ff6-4123-a24c-bae5c8952583} executeQuery: Code: 36. DB::Exception: Materialized view test_u1ukcf7a.v cannot point to itself. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49716) (comment: 01527_materialized_view_stack_overflow.sql) (in query: CREATE MATERIALIZED VIEW v to v AS SELECT c FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMaterializedView.cpp:97: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x2b95c6ff in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b96235a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9620cd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b961d99 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b961bee in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b961b54 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMaterializedView.cpp:469: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b960e2d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b960dbd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b960d5d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2b960d1d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2b960ce5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:36:43.282288 [ 8933 ] {78048c5e-4ff6-4123-a24c-bae5c8952583} TCPHandler: Code: 36. DB::Exception: Materialized view test_u1ukcf7a.v cannot point to itself. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMaterializedView.cpp:97: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x2b95c6ff in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b96235a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9620cd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b961d99 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b961bee in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b961b54 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMaterializedView.cpp:469: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b960e2d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b960dbd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b960d5d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2b960d1d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2b960ce5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:36:43.419719 [ 8933 ] {3f4d6fb5-bd57-4632-a2d1-5104f7f40c34} executeQuery: Code: 60. DB::Exception: Table test_u1ukcf7a.v doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49716) (comment: 01527_materialized_view_stack_overflow.sql) (in query: CREATE MATERIALIZED VIEW v to t AS SELECT * FROM v;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7bf13 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:286: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x2ae7e731 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab42b86 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:43.524275 [ 8244 ] {ad3c7c13-ade6-4828-8bdc-e76ced92426e} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49728) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:43.524573 [ 8933 ] {3f4d6fb5-bd57-4632-a2d1-5104f7f40c34} TCPHandler: Code: 60. DB::Exception: Table test_u1ukcf7a.v doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7bf13 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:286: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x2ae7e731 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab42b86 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:43.530107 [ 8244 ] {ad3c7c13-ade6-4828-8bdc-e76ced92426e} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:44.386330 [ 8933 ] {42a5f5d5-da70-4df0-8e46-4c8c794d25ea} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1e52757000, frame address: 0x7f1e52b56ff0, stack size: 4194320, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49716) (comment: 01527_materialized_view_stack_overflow.sql) (in query: INSERT INTO t1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x221ce264 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x221ce01c in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteCountVariantsVisitor.cpp:19: DB::RewriteCountVariantsVisitor::visit(std::shared_ptr&) @ 0x2b25af1d in /usr/bin/clickhouse 8. /build/src/Interpreters/RewriteCountVariantsVisitor.cpp:22: DB::RewriteCountVariantsVisitor::visit(std::shared_ptr&) @ 0x2b25afc1 in /usr/bin/clickhouse 9. /build/src/Interpreters/TreeOptimizer.cpp:720: DB::TreeOptimizer::optimizeCountConstantAndSumOne(std::shared_ptr&, std::shared_ptr) @ 0x2b24b084 in /usr/bin/clickhouse 10. /build/src/Interpreters/TreeRewriter.cpp:1188: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22fa6d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:332: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd77fe4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 2024.03.27 21:36:44.387852 [ 8933 ] {42a5f5d5-da70-4df0-8e46-4c8c794d25ea} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1e52757000, frame address: 0x7f1e52b56ff0, stack size: 4194320, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x221ce264 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x221ce01c in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteCountVariantsVisitor.cpp:19: DB::RewriteCountVariantsVisitor::visit(std::shared_ptr&) @ 0x2b25af1d in /usr/bin/clickhouse 8. /build/src/Interpreters/RewriteCountVariantsVisitor.cpp:22: DB::RewriteCountVariantsVisitor::visit(std::shared_ptr&) @ 0x2b25afc1 in /usr/bin/clickhouse 9. /build/src/Interpreters/TreeOptimizer.cpp:720: DB::TreeOptimizer::optimizeCountConstantAndSumOne(std::shared_ptr&, std::shared_ptr) @ 0x2b24b084 in /usr/bin/clickhouse 10. /build/src/Interpreters/TreeRewriter.cpp:1188: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22fa6d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:332: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd77fe4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 2024.03.27 21:36:44.951732 [ 8244 ] {eb742a45-dee0-4910-91af-23b711dc6479} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 224.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49752) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:44.957755 [ 8244 ] {eb742a45-dee0-4910-91af-23b711dc6479} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 224.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:45.117334 [ 8933 ] {7b03d243-38fa-4b14-8841-b9cdd42589a8} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1e52757000, frame address: 0x7f1e52b56ff0, stack size: 4194320, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49716) (comment: 01527_materialized_view_stack_overflow.sql) (in query: INSERT INTO t2 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x221ce264 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x221ce01c in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteCountVariantsVisitor.cpp:19: DB::RewriteCountVariantsVisitor::visit(std::shared_ptr&) @ 0x2b25af1d in /usr/bin/clickhouse 8. /build/src/Interpreters/RewriteCountVariantsVisitor.cpp:22: DB::RewriteCountVariantsVisitor::visit(std::shared_ptr&) @ 0x2b25afc1 in /usr/bin/clickhouse 9. /build/src/Interpreters/TreeOptimizer.cpp:720: DB::TreeOptimizer::optimizeCountConstantAndSumOne(std::shared_ptr&, std::shared_ptr) @ 0x2b24b084 in /usr/bin/clickhouse 10. /build/src/Interpreters/TreeRewriter.cpp:1188: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22fa6d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:332: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd77fe4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 2024.03.27 21:36:45.118641 [ 8933 ] {7b03d243-38fa-4b14-8841-b9cdd42589a8} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1e52757000, frame address: 0x7f1e52b56ff0, stack size: 4194320, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x221ce264 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x221ce01c in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteCountVariantsVisitor.cpp:19: DB::RewriteCountVariantsVisitor::visit(std::shared_ptr&) @ 0x2b25af1d in /usr/bin/clickhouse 8. /build/src/Interpreters/RewriteCountVariantsVisitor.cpp:22: DB::RewriteCountVariantsVisitor::visit(std::shared_ptr&) @ 0x2b25afc1 in /usr/bin/clickhouse 9. /build/src/Interpreters/TreeOptimizer.cpp:720: DB::TreeOptimizer::optimizeCountConstantAndSumOne(std::shared_ptr&, std::shared_ptr) @ 0x2b24b084 in /usr/bin/clickhouse 10. /build/src/Interpreters/TreeRewriter.cpp:1188: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22fa6d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:332: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd77fe4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd782a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2ad65844 in /usr/bin/clickhouse 2024.03.27 21:36:46.304580 [ 8244 ] {1b306c36-0552-48f1-8953-195d7123d95b} executeQuery: Code: 6. DB::Exception: Cannot parse string 'some_string' as Int32: syntax error at begin of string. Note: there are toInt32OrZero and toInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing _CAST('some_string' AS Value_tmp_alter104879433992473365, 'Int32') AS Value: default expression and column type are incompatible. (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39528) (comment: 01522_validate_alter_default.sql) (in query: ALTER TABLE table2 MODIFY COLUMN `Value` DEFAULT 'some_string';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x198f6867 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x198f1678 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x198e0279 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x198df5a8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x198de7be in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19758470 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758406 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197583a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758340 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197582eb in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 2024.03.27 21:36:46.308931 [ 8244 ] {1b306c36-0552-48f1-8953-195d7123d95b} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'some_string' as Int32: syntax error at begin of string. Note: there are toInt32OrZero and toInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing _CAST('some_string' AS Value_tmp_alter104879433992473365, 'Int32') AS Value: default expression and column type are incompatible. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x198f6867 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x198f1678 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x198e0279 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x198df5a8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x198de7be in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19758470 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758406 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197583a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758340 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197582eb in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 2024.03.27 21:36:46.390946 [ 8244 ] {4510c3c5-0802-4422-a359-c5addd091344} executeQuery: Code: 36. DB::Exception: Data type have to be specified for column `Value2` to add. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39528) (comment: 01522_validate_alter_default.sql) (in query: ALTER TABLE table2 ADD COLUMN `Value2` DEFAULT 'some_string';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1075: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b8078e2 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:46.391101 [ 8933 ] {0dc8fa00-716f-4dde-8656-b1734db0562a} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39538) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:46.392413 [ 8244 ] {4510c3c5-0802-4422-a359-c5addd091344} TCPHandler: Code: 36. DB::Exception: Data type have to be specified for column `Value2` to add. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1075: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b8078e2 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:46.399504 [ 8933 ] {0dc8fa00-716f-4dde-8656-b1734db0562a} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:47.816045 [ 8952 ] {db3f69ce-5da3-44d3-a4c0-b47256120938} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39568) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:47.822179 [ 8952 ] {db3f69ce-5da3-44d3-a4c0-b47256120938} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:49.181764 [ 8952 ] {164d490b-d09e-4f92-ba6a-c22bb0ed0be9} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39590) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:49.188437 [ 8952 ] {164d490b-d09e-4f92-ba6a-c22bb0ed0be9} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:50.640199 [ 8244 ] {6c169e3e-4eda-43d5-ab73-1ae1f1b5040e} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 224.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39618) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:50.646466 [ 8244 ] {6c169e3e-4eda-43d5-ab73-1ae1f1b5040e} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 224.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:52.026237 [ 8244 ] {e649f7d4-c53a-4a6c-b302-e65424d38d19} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39636) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:52.032272 [ 8244 ] {e649f7d4-c53a-4a6c-b302-e65424d38d19} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:53.405839 [ 8947 ] {248795cd-8174-4ded-bf0d-0e7921b8f4c9} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39652) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:53.411678 [ 8947 ] {248795cd-8174-4ded-bf0d-0e7921b8f4c9} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:53.933597 [ 8931 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:39656). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ab9546c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ab94828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c7a7fa6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 15. ? @ 0x7f2098f50609 in ? 16. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:36:54.793830 [ 8931 ] {f928cfd3-9988-43c2-bdd7-e1ba221dcb6c} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39662) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:54.800119 [ 8931 ] {f928cfd3-9988-43c2-bdd7-e1ba221dcb6c} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:55.845187 [ 8931 ] {39abec1a-995d-46d9-9bbc-783e4d471367} executeQuery: Code: 36. DB::Exception: Expected two string literal arguments: zookeeper_path and replica_name. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39900) (comment: 01512_create_replicate_merge_tree_one_arg.sql) (in query: CREATE TABLE mt (`v` UInt8) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/test_01497/mt') ORDER BY tuple() SETTINGS index_granularity = 55339, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 4802, prefer_fetch_merged_part_size_threshold = 4780115257, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 22507360), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [71]) @ 0x269a50de in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:428: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c563a1b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:55.846398 [ 8931 ] {39abec1a-995d-46d9-9bbc-783e4d471367} TCPHandler: Code: 36. DB::Exception: Expected two string literal arguments: zookeeper_path and replica_name. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [71]) @ 0x269a50de in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:428: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c563a1b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:36:56.251161 [ 8931 ] {7298fd9a-4a4f-4f15-9b42-a67f788ec833} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39904) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:56.259573 [ 8931 ] {7298fd9a-4a4f-4f15-9b42-a67f788ec833} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b904f06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b903ec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b903341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:36:59.647283 [ 8180 ] {6e986818-80d0-4a62-8e6b-0cec410fe219} HashedDictionary: 'prellocate' attribute is obsolete, consider looking at 'shards' 2024.03.27 21:37:10.558758 [ 8933 ] {8ee49318-2465-4808-a9a0-c48fa6da96af} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 515.23 MiB (attempt to allocate chunk of 134295776 bytes), maximum: 476.84 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39650) (comment: 01513_optimize_aggregation_in_order_memory_long.sql) (in query: select key, groupArray(repeat('a', 200)), count() from data_01513 group by key format Null settings optimize_aggregation_in_order=0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/Arena.h:53: DB::Arena::MemoryChunk::MemoryChunk(unsigned long, DB::Arena::MemoryChunk*) @ 0x19ee1724 in /usr/bin/clickhouse 12. /build/src/Common/Arena.h:121: DB::Arena::addMemoryChunk(unsigned long) @ 0x19ee32ba in /usr/bin/clickhouse 13. /build/src/Common/Arena.h:171: DB::Arena::alignedAlloc(unsigned long, unsigned long) @ 0x1a9179e2 in /usr/bin/clickhouse 14. /build/src/Common/Arena.h:278: DB::Arena::alignedRealloc(char const*, unsigned long, unsigned long, unsigned long) @ 0x22cb00ed in /usr/bin/clickhouse 15. /build/src/Common/ArenaAllocator.h:69: DB::AlignedArenaAllocator<8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x22cc1480 in /usr/bin/clickhouse 16. /build/src/Common/ArenaAllocator.h:101: DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x22cc12c7 in /usr/bin/clickhouse 17. /build/src/Common/PODArray.h:168: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::realloc(unsigned long, DB::Arena*&) @ 0x22cc1127 in /usr/bin/clickhouse 18. /build/src/Common/PODArray.h:199: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::reserveForNextSize(DB::Arena*&) @ 0x22cc104d in /usr/bin/clickhouse 19. /build/src/Common/PODArray.h:0: void DB::PODArray, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::push_back(DB::GroupArrayNodeString*&, DB::Arena*&) @ 0x22d10b89 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:518: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x22d0f044 in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/IAggregateFunction.h:465: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x22d0f78b in /usr/bin/clickhouse 22. /build/src/Interpreters/Aggregator.cpp:1298: void DB::Aggregator::executeImplBatch>, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::AggregationMethodStringNoCache>, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2ab101 in /usr/bin/clickhouse 23. /build/src/Interpreters/Aggregator.cpp:1077: void DB::Aggregator::executeImpl>, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a76c in /usr/bin/clickhouse 24. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5c2a in /usr/bin/clickhouse 25. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 2024.03.27 21:37:10.592584 [ 8933 ] {8ee49318-2465-4808-a9a0-c48fa6da96af} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 515.23 MiB (attempt to allocate chunk of 134295776 bytes), maximum: 476.84 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/Arena.h:53: DB::Arena::MemoryChunk::MemoryChunk(unsigned long, DB::Arena::MemoryChunk*) @ 0x19ee1724 in /usr/bin/clickhouse 12. /build/src/Common/Arena.h:121: DB::Arena::addMemoryChunk(unsigned long) @ 0x19ee32ba in /usr/bin/clickhouse 13. /build/src/Common/Arena.h:171: DB::Arena::alignedAlloc(unsigned long, unsigned long) @ 0x1a9179e2 in /usr/bin/clickhouse 14. /build/src/Common/Arena.h:278: DB::Arena::alignedRealloc(char const*, unsigned long, unsigned long, unsigned long) @ 0x22cb00ed in /usr/bin/clickhouse 15. /build/src/Common/ArenaAllocator.h:69: DB::AlignedArenaAllocator<8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x22cc1480 in /usr/bin/clickhouse 16. /build/src/Common/ArenaAllocator.h:101: DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x22cc12c7 in /usr/bin/clickhouse 17. /build/src/Common/PODArray.h:168: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::realloc(unsigned long, DB::Arena*&) @ 0x22cc1127 in /usr/bin/clickhouse 18. /build/src/Common/PODArray.h:199: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::reserveForNextSize(DB::Arena*&) @ 0x22cc104d in /usr/bin/clickhouse 19. /build/src/Common/PODArray.h:0: void DB::PODArray, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::push_back(DB::GroupArrayNodeString*&, DB::Arena*&) @ 0x22d10b89 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:518: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x22d0f044 in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/IAggregateFunction.h:465: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x22d0f78b in /usr/bin/clickhouse 22. /build/src/Interpreters/Aggregator.cpp:1298: void DB::Aggregator::executeImplBatch>, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::AggregationMethodStringNoCache>, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2ab101 in /usr/bin/clickhouse 23. /build/src/Interpreters/Aggregator.cpp:1077: void DB::Aggregator::executeImpl>, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a76c in /usr/bin/clickhouse 24. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5c2a in /usr/bin/clickhouse 25. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 2024.03.27 21:37:12.472860 [ 2750 ] {822fb8b2-bd24-4b2d-8d60-1df84115e628} executeQuery: Code: 47. DB::Exception: Unknown qualified identifier: insert_select_src: While processing insert_select_src.* EXCEPT (middle_a, middle_b). (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:32966) (comment: 01470_test_insert_select_asterisk.sql) (in query: INSERT INTO insert_select_dst(insert_select_src.* EXCEPT (middle_a, middle_b)) SELECT * FROM insert_select_src;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:170: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTQualifiedAsterisk const&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d5799 in /usr/bin/clickhouse 7. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:225: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d44ee in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d3c79 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b240880 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b240a61 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b24080a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2406a5 in /usr/bin/clickhouse 13. /build/src/Interpreters/processColumnTransformers.cpp:44: DB::processColumnTransformers(String const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b390054 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterInsertQuery.cpp:134: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2ad64f42 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:344: DB::InterpreterInsertQuery::execute() @ 0x2ad66b46 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:37:12.474695 [ 2750 ] {822fb8b2-bd24-4b2d-8d60-1df84115e628} TCPHandler: Code: 47. DB::Exception: Unknown qualified identifier: insert_select_src: While processing insert_select_src.* EXCEPT (middle_a, middle_b). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:170: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTQualifiedAsterisk const&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d5799 in /usr/bin/clickhouse 7. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:225: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d44ee in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d3c79 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b240880 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b240a61 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b24080a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2406a5 in /usr/bin/clickhouse 13. /build/src/Interpreters/processColumnTransformers.cpp:44: DB::processColumnTransformers(String const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b390054 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterInsertQuery.cpp:134: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2ad64f42 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:344: DB::InterpreterInsertQuery::execute() @ 0x2ad66b46 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:37:14.133030 [ 8947 ] {6f8f1577-0c48-4348-9d1c-efe662963fc5} executeQuery: Code: 47. DB::Exception: Missing columns: 'j1' while processing query: 'SELECT j, k, j1 FROM columns_transformers', required columns: 'j' 'k' 'j1', maybe you meant: 'j' or 'k'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33004) (comment: 01470_columns_transformers.sql) (in query: SELECT * EXCEPT STRICT i, j1 from columns_transformers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:37:14.134108 [ 8947 ] {6f8f1577-0c48-4348-9d1c-efe662963fc5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'j1' while processing query: 'SELECT j, k, j1 FROM columns_transformers', required columns: 'j' 'k' 'j1', maybe you meant: 'j' or 'k'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:37:14.272364 [ 8947 ] {c51d2901-8d95-46ed-83e7-c0a6800c9ce9} executeQuery: Code: 16. DB::Exception: Columns transformer EXCEPT expects following column(s) : j1: While processing . (NO_SUCH_COLUMN_IN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33004) (comment: 01470_columns_transformers.sql) (in query: SELECT * EXCEPT STRICT(i, j1) from columns_transformers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:266: DB::ASTColumnsExceptTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x2d30be4f in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:40: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x2d307254 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:269: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d49ee in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d3c79 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b240880 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b240a61 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b24080a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b240b06 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b240a6e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b24080a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2406a5 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:308: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2b2317fc in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22fc74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:14.273969 [ 8947 ] {c51d2901-8d95-46ed-83e7-c0a6800c9ce9} TCPHandler: Code: 16. DB::Exception: Columns transformer EXCEPT expects following column(s) : j1: While processing . (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:266: DB::ASTColumnsExceptTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x2d30be4f in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:40: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x2d307254 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:269: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d49ee in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d3c79 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b240880 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b240a61 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b24080a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b240b06 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b240a6e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b24080a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2406a5 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:308: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2b2317fc in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22fc74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:14.422622 [ 8947 ] {1cbb5a73-2732-460f-89f4-b4515d4f398c} executeQuery: Code: 16. DB::Exception: Columns transformer REPLACE expects following column(s) : col: While processing . (NO_SUCH_COLUMN_IN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33004) (comment: 01470_columns_transformers.sql) (in query: SELECT * REPLACE STRICT(i + 1 AS col) from columns_transformers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:425: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x2d30e31d in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x2d307287 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:269: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d49ee in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d3c79 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b240880 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b240a61 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b24080a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b240b06 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b240a6e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b24080a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2406a5 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:308: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2b2317fc in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22fc74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:14.424103 [ 8947 ] {1cbb5a73-2732-460f-89f4-b4515d4f398c} TCPHandler: Code: 16. DB::Exception: Columns transformer REPLACE expects following column(s) : col: While processing . (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:425: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x2d30e31d in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x2d307287 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:269: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d49ee in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d3c79 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b240880 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b240a61 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b24080a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b240b06 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b240a6e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b24080a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2406a5 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:308: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2b2317fc in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22fc74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:14.633528 [ 8947 ] {1325ed98-96fd-425c-ad89-62abdb1248e8} executeQuery: Code: 43. DB::Exception: Expressions in columns transformer REPLACE should not contain the same replacement more than once: While processing . (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33004) (comment: 01470_columns_transformers.sql) (in query: SELECT columns_transformers.* REPLACE(j + 1 AS j, j + 2 AS j) APPLY(avg) from columns_transformers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [98]) @ 0x2b9a06fe in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:384: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x2d30dc24 in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x2d307287 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:321: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d522e in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d3c79 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b240880 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b240a61 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b24080a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b240b06 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b240a6e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b24080a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2406a5 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:308: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2b2317fc in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22fc74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:14.635069 [ 8947 ] {1325ed98-96fd-425c-ad89-62abdb1248e8} TCPHandler: Code: 43. DB::Exception: Expressions in columns transformer REPLACE should not contain the same replacement more than once: While processing . (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [98]) @ 0x2b9a06fe in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:384: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x2d30dc24 in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x2d307287 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:321: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d522e in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d3c79 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b240880 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b240a61 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b24080a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b240b06 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b240a6e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b24080a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2406a5 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:308: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2b2317fc in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22fc74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:14.826670 [ 8947 ] {6818cd8f-45bc-416b-b7fe-3536adab73b7} executeQuery: Code: 16. DB::Exception: Columns transformer REPLACE expects following column(s) : i: While processing . (NO_SUCH_COLUMN_IN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33004) (comment: 01470_columns_transformers.sql) (in query: SELECT a.* APPLY(toDate) REPLACE STRICT(i + 1 AS i) APPLY(any) from columns_transformers a;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:425: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x2d30e31d in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x2d307287 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:321: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d522e in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d3c79 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b240880 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b240a61 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b24080a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b240b06 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b240a6e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b24080a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2406a5 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:308: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2b2317fc in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22fc74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:14.828349 [ 8947 ] {6818cd8f-45bc-416b-b7fe-3536adab73b7} TCPHandler: Code: 16. DB::Exception: Columns transformer REPLACE expects following column(s) : i: While processing . (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:425: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x2d30e31d in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x2d307287 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:321: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d522e in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b2d3c79 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b240880 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b240a61 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b24080a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b240b06 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b240a6e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b24080a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2406a5 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:308: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2b2317fc in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22fc74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:19.437534 [ 8947 ] {ee81a4d4-320b-4516-931c-7701a6c36a2d} executeQuery: Code: 232. DB::Exception: No part all_100_100_0 in committed state. (NO_SUCH_DATA_PART) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40476) (comment: 01451_detach_drop_part.sql) (in query: ALTER TABLE mt_01451 DETACH PART 'all_100_100_0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c101c35 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103a30 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:37:19.438431 [ 8947 ] {ee81a4d4-320b-4516-931c-7701a6c36a2d} TCPHandler: Code: 232. DB::Exception: No part all_100_100_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c101c35 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103a30 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:37:19.817150 [ 8947 ] {14d5121f-4383-40d1-9732-8111e842f018} executeQuery: Code: 233. DB::Exception: Detached part "all_4_4_0" not found. (BAD_DATA_PART_NAME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40476) (comment: 01451_detach_drop_part.sql) (in query: ALTER TABLE mt_01451 ATTACH PART 'all_4_4_0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7230: DB::MergeTreeData::getDiskForDetachedPart(String const&) const @ 0x2c10b19c in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5590: DB::MergeTreeData::tryLoadPartsToAttach(std::shared_ptr const&, bool, std::shared_ptr, DB::MergeTreeData::PartsTemporaryRename&) @ 0x2c10b309 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1793: DB::StorageMergeTree::attachPartition(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c585c9d in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:4823: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103c50 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:37:19.818099 [ 8947 ] {14d5121f-4383-40d1-9732-8111e842f018} TCPHandler: Code: 233. DB::Exception: Detached part "all_4_4_0" not found. (BAD_DATA_PART_NAME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7230: DB::MergeTreeData::getDiskForDetachedPart(String const&) const @ 0x2c10b19c in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5590: DB::MergeTreeData::tryLoadPartsToAttach(std::shared_ptr const&, bool, std::shared_ptr, DB::MergeTreeData::PartsTemporaryRename&) @ 0x2c10b309 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1793: DB::StorageMergeTree::attachPartition(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c585c9d in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:4823: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103c50 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:37:20.052555 [ 8933 ] {03382876-1c58-48e7-9890-08b5debdd55a} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 482.81 MiB (attempt to allocate chunk of 8650752 bytes), maximum: 476.84 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39650) (comment: 01513_optimize_aggregation_in_order_memory_long.sql) (in query: -- for WITH TOTALS previous groups should be kept. select key, groupArray(repeat('a', 200)), count() from data_01513 group by key with totals format Null settings optimize_aggregation_in_order=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220f6579 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:168: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x19722442 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnString.h:158: DB::ColumnString::insertData(char const*, unsigned long) @ 0x19e0b3ea in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:398: DB::GroupArrayNodeString::insertInto(DB::IColumn&) @ 0x22ce8ee1 in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:664: DB::GroupArrayGeneralImpl>::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x22d0f608 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnAggregateFunction.cpp:168: DB::ColumnAggregateFunction::convertToValues(COW::mutable_ptr) @ 0x2b46f52d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/finalizeChunk.cpp:26: DB::finalizeChunk(DB::Chunk&, std::vector> const&) @ 0x2cd8dfcc in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:173: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x2cd4c25d in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 21. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x2cd4bcfd in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 2024.03.27 21:37:20.081413 [ 8933 ] {03382876-1c58-48e7-9890-08b5debdd55a} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 482.81 MiB (attempt to allocate chunk of 8650752 bytes), maximum: 476.84 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220f6579 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:168: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x19722442 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnString.h:158: DB::ColumnString::insertData(char const*, unsigned long) @ 0x19e0b3ea in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:398: DB::GroupArrayNodeString::insertInto(DB::IColumn&) @ 0x22ce8ee1 in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:664: DB::GroupArrayGeneralImpl>::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x22d0f608 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnAggregateFunction.cpp:168: DB::ColumnAggregateFunction::convertToValues(COW::mutable_ptr) @ 0x2b46f52d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/finalizeChunk.cpp:26: DB::finalizeChunk(DB::Chunk&, std::vector> const&) @ 0x2cd8dfcc in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:173: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x2cd4c25d in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 21. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x2cd4bcfd in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 2024.03.27 21:37:21.456965 [ 8949 ] {482d396e-4ae1-438a-96be-4cf326e3a45a} executeQuery: Code: 12. DB::Exception: Too large 'k' argument for h3kRing function, maximum 10000: While processing h3kRing(581276613233082367, 65535). (PARAMETER_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40510) (comment: 01442_h3kring_range_check.sql) (in query: SELECT h3kRing(581276613233082367, 65535);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, int const&) @ 0x1d5f968c in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:112: DB::(anonymous namespace)::FunctionH3KRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d61530d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:37:21.458161 [ 8949 ] {482d396e-4ae1-438a-96be-4cf326e3a45a} TCPHandler: Code: 12. DB::Exception: Too large 'k' argument for h3kRing function, maximum 10000: While processing h3kRing(581276613233082367, 65535). (PARAMETER_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, int const&) @ 0x1d5f968c in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:112: DB::(anonymous namespace)::FunctionH3KRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d61530d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:37:21.564995 [ 8949 ] {8feb048b-b00f-49ed-8d8e-36bc9569db6d} executeQuery: Code: 43. DB::Exception: Illegal type Int8 of argument 2 of function h3kRing. Must be unsigned native integer.: While processing h3kRing(581276613233082367, -1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40510) (comment: 01442_h3kring_range_check.sql) (in query: SELECT h3kRing(581276613233082367, -1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x1cb38128 in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d615af1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:37:21.566397 [ 8949 ] {8feb048b-b00f-49ed-8d8e-36bc9569db6d} TCPHandler: Code: 43. DB::Exception: Illegal type Int8 of argument 2 of function h3kRing. Must be unsigned native integer.: While processing h3kRing(581276613233082367, -1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x1cb38128 in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d615af1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:37:21.719111 [ 8949 ] {23bff3c5-d48f-45a8-acab-ed924ef25d0e} executeQuery: Code: 43. DB::Exception: Illegal type Float64 of argument 2 of function h3kRing. Must be unsigned native integer.: While processing h3kRing(581276613233082367, nan). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40510) (comment: 01442_h3kring_range_check.sql) (in query: SELECT h3kRing(581276613233082367, nan);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x1cb38128 in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d615af1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:37:21.720158 [ 8949 ] {23bff3c5-d48f-45a8-acab-ed924ef25d0e} TCPHandler: Code: 43. DB::Exception: Illegal type Float64 of argument 2 of function h3kRing. Must be unsigned native integer.: While processing h3kRing(581276613233082367, nan). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x1cb38128 in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d615af1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:37:21.919378 [ 634 ] {3f60d34e-e847-46ee-a707-d7c053a6b89e} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTimeBestEffort('', 3) AS a, toTypeName(a). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40526) (comment: 01442_date_time_with_params.sql) (in query: SELECT parseDateTimeBestEffort('', 3) AS a, toTypeName(a);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x197813b7 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x22217378 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:579: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x22210796 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:660: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x22216cc4 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:701: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x22216c73 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1283: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a0d6d30 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a0d5934 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2184: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a0d459a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:37:21.920834 [ 634 ] {3f60d34e-e847-46ee-a707-d7c053a6b89e} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTimeBestEffort('', 3) AS a, toTypeName(a). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x197813b7 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x22217378 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:579: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x22210796 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:660: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x22216cc4 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:701: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x22216c73 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1283: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a0d6d30 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a0d5934 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2184: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a0d459a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:37:23.150147 [ 634 ] {0257cb34-f78a-4e9b-af15-8e0ab64a8302} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTime32BestEffort('') AS a, toTypeName(a). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40526) (comment: 01442_date_time_with_params.sql) (in query: SELECT parseDateTime32BestEffort('') AS a, toTypeName(a);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x197813b7 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x22217378 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:579: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x22210796 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:682: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x2220e8f2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1289: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a0eeb31 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a0ee4f4 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2189: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a0ed1fc in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:37:23.151558 [ 634 ] {0257cb34-f78a-4e9b-af15-8e0ab64a8302} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTime32BestEffort('') AS a, toTypeName(a). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x197813b7 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x22217378 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:579: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x22210796 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:682: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x2220e8f2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1289: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a0eeb31 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a0ee4f4 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2189: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a0ed1fc in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:37:24.501386 [ 2750 ] {16c887d0-4b28-4ced-a30a-e46a631fa847} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3ToChildren is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToChildren(599405990164561919, 100). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40580) (comment: 01428_h3_range_check.sql) (in query: SELECT h3ToChildren(599405990164561919, 100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Functions/h3ToChildren.cpp:108: DB::(anonymous namespace)::FunctionH3ToChildren::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d60b9e6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:37:24.502856 [ 2750 ] {16c887d0-4b28-4ced-a30a-e46a631fa847} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3ToChildren is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToChildren(599405990164561919, 100). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Functions/h3ToChildren.cpp:108: DB::(anonymous namespace)::FunctionH3ToChildren::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d60b9e6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:37:24.607662 [ 2750 ] {da442ff6-db30-4fa2-92b0-b7be6f2dec1f} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3ToParent is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToParent(599405990164561919, 100). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40580) (comment: 01428_h3_range_check.sql) (in query: SELECT h3ToParent(599405990164561919, 100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Functions/h3ToParent.cpp:99: DB::(anonymous namespace)::FunctionH3ToParent::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6102f0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:37:24.609019 [ 2750 ] {da442ff6-db30-4fa2-92b0-b7be6f2dec1f} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3ToParent is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToParent(599405990164561919, 100). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Functions/h3ToParent.cpp:99: DB::(anonymous namespace)::FunctionH3ToParent::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6102f0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:37:25.222191 [ 2750 ] {92211068-c2f2-4db7-897b-74799d7a103b} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e9. Expected to read decimal with scale 0 and precision 9: While processing '-1E9-1E9-1E9-1E9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40616) (comment: 01425_decimal_parse_big_negative_exponent.sql) (in query: SELECT '-1E9-1E9-1E9-1E9' AS x, toDecimal32(x, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x29a2817a in /usr/bin/clickhouse 6. /build/src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x29a24fd3 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x29ab0e7e in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1318: COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x19f499e1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1922: bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19f43f96 in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19f2fdb9 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19f2f0e8 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19f2e2fe in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:37:25.223584 [ 2750 ] {92211068-c2f2-4db7-897b-74799d7a103b} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e9. Expected to read decimal with scale 0 and precision 9: While processing '-1E9-1E9-1E9-1E9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x29a2817a in /usr/bin/clickhouse 6. /build/src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x29a24fd3 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x29ab0e7e in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1318: COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x19f499e1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1922: bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19f43f96 in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19f2fdb9 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19f2f0e8 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19f2e2fe in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:37:25.231906 [ 2750 ] {3cbca5b1-6dac-496b-986a-978adbbe9763} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e9. Expected to read decimal with scale 0 and precision 9: While processing '-1E9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40616) (comment: 01425_decimal_parse_big_negative_exponent.sql) (in query: SELECT '-1E9' AS x, toDecimal32(x, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x29a2817a in /usr/bin/clickhouse 6. /build/src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x29a24fd3 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x29ab0e7e in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1318: COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x19f499e1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1922: bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19f43f96 in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19f2fdb9 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19f2f0e8 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19f2e2fe in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:37:25.233165 [ 2750 ] {3cbca5b1-6dac-496b-986a-978adbbe9763} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e9. Expected to read decimal with scale 0 and precision 9: While processing '-1E9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x29a2817a in /usr/bin/clickhouse 6. /build/src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x29a24fd3 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x29ab0e7e in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1318: COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x19f499e1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1922: bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19f43f96 in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19f2fdb9 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19f2f0e8 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19f2e2fe in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:37:25.432203 [ 2750 ] {f3b81089-14d1-4de0-a77f-8a10be5d29af} executeQuery: Code: 69. DB::Exception: Scale 10 is out of bounds: While processing '1E-9' AS x, toDecimal32(x, 10). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40616) (comment: 01425_decimal_parse_big_negative_exponent.sql) (in query: SELECT '1E-9' AS x, toDecimal32(x, 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDecimalBase.h:76: DB::DataTypeDecimalBase>::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x199fa25c in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:37: DB::DataTypeDecimal>::DataTypeDecimal(unsigned int, unsigned int) @ 0x199f9ea5 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDecimal>* std::construct_at[abi:v15000]>, unsigned long const&, unsigned long&, DB::DataTypeDecimal>*>(DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x19f4b914 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>>::construct[abi:v15000]>, unsigned long const&, unsigned long&, void, void>(std::allocator>>&, DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x19f4b6c9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>, std::allocator>>>::__shared_ptr_emplace[abi:v15000](std::allocator>>, unsigned long const&, unsigned long&) @ 0x19f4b3af in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr>> std::allocate_shared[abi:v15000]>, std::allocator>>, unsigned long const&, unsigned long&, void>(std::allocator>> const&, unsigned long const&, unsigned long&) @ 0x19f4b222 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr>> std::make_shared[abi:v15000]>, unsigned long const&, unsigned long&, void>(unsigned long const&, unsigned long&) @ 0x19f4b12e in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypesDecimal.h:261: std::shared_ptr DB::createDecimalMaxPrecision>(unsigned long) @ 0x19f4b0bc in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1781: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x19f4af4d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x19f4ad60 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x19f4ad1d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x19f4acdd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x19f4ac9d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x19f4ac65 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1978481e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x197834dd in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x19f4aa9b in /usr/bin/clickhouse 23. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x19f2ea5a in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:37:25.433623 [ 2750 ] {f3b81089-14d1-4de0-a77f-8a10be5d29af} TCPHandler: Code: 69. DB::Exception: Scale 10 is out of bounds: While processing '1E-9' AS x, toDecimal32(x, 10). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDecimalBase.h:76: DB::DataTypeDecimalBase>::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x199fa25c in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:37: DB::DataTypeDecimal>::DataTypeDecimal(unsigned int, unsigned int) @ 0x199f9ea5 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDecimal>* std::construct_at[abi:v15000]>, unsigned long const&, unsigned long&, DB::DataTypeDecimal>*>(DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x19f4b914 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>>::construct[abi:v15000]>, unsigned long const&, unsigned long&, void, void>(std::allocator>>&, DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x19f4b6c9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>, std::allocator>>>::__shared_ptr_emplace[abi:v15000](std::allocator>>, unsigned long const&, unsigned long&) @ 0x19f4b3af in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr>> std::allocate_shared[abi:v15000]>, std::allocator>>, unsigned long const&, unsigned long&, void>(std::allocator>> const&, unsigned long const&, unsigned long&) @ 0x19f4b222 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr>> std::make_shared[abi:v15000]>, unsigned long const&, unsigned long&, void>(unsigned long const&, unsigned long&) @ 0x19f4b12e in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypesDecimal.h:261: std::shared_ptr DB::createDecimalMaxPrecision>(unsigned long) @ 0x19f4b0bc in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1781: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x19f4af4d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x19f4ad60 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x19f4ad1d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x19f4acdd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x19f4ac9d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x19f4ac65 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1978481e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x197834dd in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x19f4aa9b in /usr/bin/clickhouse 23. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x19f2ea5a in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:37:25.441658 [ 2750 ] {64f6d59e-38d3-49f9-bde0-3d2f3cad80de} executeQuery: Code: 69. DB::Exception: Scale 10 is out of bounds: While processing '1E-10' AS x, toDecimal32(x, 10). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40616) (comment: 01425_decimal_parse_big_negative_exponent.sql) (in query: SELECT '1E-10' AS x, toDecimal32(x, 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDecimalBase.h:76: DB::DataTypeDecimalBase>::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x199fa25c in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:37: DB::DataTypeDecimal>::DataTypeDecimal(unsigned int, unsigned int) @ 0x199f9ea5 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDecimal>* std::construct_at[abi:v15000]>, unsigned long const&, unsigned long&, DB::DataTypeDecimal>*>(DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x19f4b914 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>>::construct[abi:v15000]>, unsigned long const&, unsigned long&, void, void>(std::allocator>>&, DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x19f4b6c9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>, std::allocator>>>::__shared_ptr_emplace[abi:v15000](std::allocator>>, unsigned long const&, unsigned long&) @ 0x19f4b3af in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr>> std::allocate_shared[abi:v15000]>, std::allocator>>, unsigned long const&, unsigned long&, void>(std::allocator>> const&, unsigned long const&, unsigned long&) @ 0x19f4b222 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr>> std::make_shared[abi:v15000]>, unsigned long const&, unsigned long&, void>(unsigned long const&, unsigned long&) @ 0x19f4b12e in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypesDecimal.h:261: std::shared_ptr DB::createDecimalMaxPrecision>(unsigned long) @ 0x19f4b0bc in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1781: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x19f4af4d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x19f4ad60 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x19f4ad1d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x19f4acdd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x19f4ac9d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x19f4ac65 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1978481e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x197834dd in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x19f4aa9b in /usr/bin/clickhouse 23. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x19f2ea5a in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:37:25.442912 [ 2750 ] {64f6d59e-38d3-49f9-bde0-3d2f3cad80de} TCPHandler: Code: 69. DB::Exception: Scale 10 is out of bounds: While processing '1E-10' AS x, toDecimal32(x, 10). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDecimalBase.h:76: DB::DataTypeDecimalBase>::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x199fa25c in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:37: DB::DataTypeDecimal>::DataTypeDecimal(unsigned int, unsigned int) @ 0x199f9ea5 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDecimal>* std::construct_at[abi:v15000]>, unsigned long const&, unsigned long&, DB::DataTypeDecimal>*>(DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x19f4b914 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>>::construct[abi:v15000]>, unsigned long const&, unsigned long&, void, void>(std::allocator>>&, DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x19f4b6c9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>, std::allocator>>>::__shared_ptr_emplace[abi:v15000](std::allocator>>, unsigned long const&, unsigned long&) @ 0x19f4b3af in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr>> std::allocate_shared[abi:v15000]>, std::allocator>>, unsigned long const&, unsigned long&, void>(std::allocator>> const&, unsigned long const&, unsigned long&) @ 0x19f4b222 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr>> std::make_shared[abi:v15000]>, unsigned long const&, unsigned long&, void>(unsigned long const&, unsigned long&) @ 0x19f4b12e in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypesDecimal.h:261: std::shared_ptr DB::createDecimalMaxPrecision>(unsigned long) @ 0x19f4b0bc in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1781: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x19f4af4d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x19f4ad60 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x19f4ad1d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x19f4acdd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x19f4ac9d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x19f4ac65 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1978481e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x197834dd in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x19f4aa9b in /usr/bin/clickhouse 23. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x19f2ea5a in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:37:26.020665 [ 2750 ] {99f65fd2-6a21-4b69-9ad6-1ea601f97854} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: unexpected date: 2000-2-55: While processing parseDateTime64BestEffort('2.55'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58402) (comment: 01424_parse_date_time_bad_date.sql) (in query: select parseDateTime64BestEffort('2.55');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned short&, unsigned short&&, unsigned short&&) @ 0x2221a6a8 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x22217ff3 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:602: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x222108f6 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:660: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x22216cc4 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:701: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x22216c73 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1283: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a0fbff0 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a0fabf4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2184: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a0f989a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:37:26.143366 [ 8949 ] {b245e976-caae-46c6-b951-107f86cc3519} executeQuery: Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UInt8. Got: Tuple: While processing (1, 2) IN ((1, (2, 3)), (1 + 1, 1)). (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58406) (comment: 01421_assert_in_in.sql) (in query: SELECT (1, 2) IN ((1, (2, 3)), (1 + 1, 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x2b335aac in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:79: DB::Field DB::(anonymous namespace)::convertNumericType(DB::Field const&, DB::IDataType const&) @ 0x2b32a1e2 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:213: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3266ff in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3260bd in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:290: DB::createBlockFromAST(std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a07c5d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:418: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a0720fe in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:456: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a071812 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a07b447 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a075cdf in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:37:26.143835 [ 2750 ] {99f65fd2-6a21-4b69-9ad6-1ea601f97854} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: unexpected date: 2000-2-55: While processing parseDateTime64BestEffort('2.55'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned short&, unsigned short&&, unsigned short&&) @ 0x2221a6a8 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x22217ff3 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:602: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x222108f6 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:660: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x22216cc4 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:701: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x22216c73 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1283: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a0fbff0 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a0fabf4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2184: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a0f989a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:37:26.144646 [ 8949 ] {b245e976-caae-46c6-b951-107f86cc3519} TCPHandler: Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UInt8. Got: Tuple: While processing (1, 2) IN ((1, (2, 3)), (1 + 1, 1)). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x2b335aac in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:79: DB::Field DB::(anonymous namespace)::convertNumericType(DB::Field const&, DB::IDataType const&) @ 0x2b32a1e2 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:213: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3266ff in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3260bd in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:290: DB::createBlockFromAST(std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a07c5d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:418: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a0720fe in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:456: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a071812 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a07b447 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a075cdf in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:37:29.964660 [ 8929 ] {564cb74c-9357-4038-85f4-91cba76c9044} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58490) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_null (`id` Nullable(String)) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 8566, min_bytes_for_wide_part = 828637560, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 8726, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 19012240), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c0bddde in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd829 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:29.966161 [ 8929 ] {564cb74c-9357-4038-85f4-91cba76c9044} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c0bddde in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd829 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:29.983326 [ 8929 ] {bf61bd1c-3107-4b3b-997d-c99e26674f3c} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58490) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_lc_null (`id` LowCardinality(Nullable(String))) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 8566, min_bytes_for_wide_part = 828637560, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 8726, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 19012240), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c0bddde in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd829 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:29.984678 [ 8929 ] {bf61bd1c-3107-4b3b-997d-c99e26674f3c} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c0bddde in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd829 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:30.018205 [ 8929 ] {6da1bc5b-e57e-4a47-bccf-f460f09f8c93} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58490) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_array_null (`id` Array(Nullable(String))) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 8566, min_bytes_for_wide_part = 828637560, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 8726, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 19012240), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c0bddde in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd829 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:30.020423 [ 8929 ] {6da1bc5b-e57e-4a47-bccf-f460f09f8c93} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c0bddde in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd829 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:30.045458 [ 8929 ] {9ba93f67-61ca-404d-b998-b799be5cd1d2} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58490) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_tuple_null (`id` Tuple(Nullable(String), UInt8)) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 8566, min_bytes_for_wide_part = 828637560, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 8726, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 19012240), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c0bddde in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd829 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:30.047067 [ 8929 ] {9ba93f67-61ca-404d-b998-b799be5cd1d2} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c0bddde in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd829 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:30.063140 [ 8929 ] {09f48c92-6ef1-4c35-a393-b421953bd06c} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58490) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_map_null (`id` Map(UInt8, Nullable(String))) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 8566, min_bytes_for_wide_part = 828637560, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 8726, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 19012240), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c0bddde in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd829 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:30.064497 [ 8929 ] {09f48c92-6ef1-4c35-a393-b421953bd06c} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c0bddde in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd829 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:30.079736 [ 8929 ] {6767bfaf-783f-43ac-8b07-56fd64f27942} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58490) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_simple_agg_state_null (`id` SimpleAggregateFunction(sum, Nullable(UInt64))) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 8566, min_bytes_for_wide_part = 828637560, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 8726, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 19012240), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c0bddde in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd829 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:30.081042 [ 8929 ] {6767bfaf-783f-43ac-8b07-56fd64f27942} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c0bddde in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd829 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:37:31.363330 [ 8949 ] {38bc22f2-8236-4c60-bd4d-9fbc3f968b38} executeQuery: Code: 691. DB::Exception: Unknown element '' for enum: While processing CAST(CAST('', 'Nullable(String)'), 'Nullable(Enum8(\'Hello\' = 1))'). (UNKNOWN_ELEMENT_OF_ENUM) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58528) (comment: 01402_cast_nullable_string_to_enum.sql) (in query: -- empty string still not acceptable SELECT CAST(CAST('' AS Nullable(String)) AS Nullable(Enum8('Hello' = 1)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0476ec in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x29a31b0a in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3655: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19dbe462 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dbe1c6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dbe12c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dbe0c0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19dbe068 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:3828: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19dd5f02 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd5d26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd5cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd5c60 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19dd5c0b in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 2024.03.27 21:37:31.365812 [ 8949 ] {38bc22f2-8236-4c60-bd4d-9fbc3f968b38} TCPHandler: Code: 691. DB::Exception: Unknown element '' for enum: While processing CAST(CAST('', 'Nullable(String)'), 'Nullable(Enum8(\'Hello\' = 1))'). (UNKNOWN_ELEMENT_OF_ENUM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0476ec in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x29a31b0a in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3655: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19dbe462 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dbe1c6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dbe12c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dbe0c0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19dbe068 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:3828: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19dd5f02 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd5d26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd5cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd5c60 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19dd5c0b in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 2024.03.27 21:37:31.604489 [ 8949 ] {7f38ef4b-015e-4bed-a6d3-82b23a84af30} executeQuery: Code: 691. DB::Exception: Unknown element '' for enum: While processing CAST(CAST('', 'Nullable(FixedString(1))'), 'Nullable(Enum8(\'Hello\' = 1))'). (UNKNOWN_ELEMENT_OF_ENUM) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58528) (comment: 01402_cast_nullable_string_to_enum.sql) (in query: SELECT CAST(CAST('' AS Nullable(FixedString(1))) AS Nullable(Enum8('Hello' = 1)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0476ec in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x29a31b0a in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3655: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19dbed42 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dbeaa6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dbea0c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dbe9a0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19dbe948 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:3828: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19dd5f02 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd5d26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd5cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd5c60 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19dd5c0b in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 2024.03.27 21:37:31.607153 [ 8949 ] {7f38ef4b-015e-4bed-a6d3-82b23a84af30} TCPHandler: Code: 691. DB::Exception: Unknown element '' for enum: While processing CAST(CAST('', 'Nullable(FixedString(1))'), 'Nullable(Enum8(\'Hello\' = 1))'). (UNKNOWN_ELEMENT_OF_ENUM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0476ec in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x29a31b0a in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3655: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19dbed42 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dbeaa6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dbea0c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dbe9a0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19dbe948 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:3828: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19dd5f02 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd5d26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd5cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd5c60 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19dd5c0b in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 2024.03.27 21:37:31.791184 [ 8949 ] {a3449963-14ba-4acf-84f1-6deda50cf76a} executeQuery: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'Nullable(String)'), 'Enum8(\'Hello\' = 1)'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58528) (comment: 01402_cast_nullable_string_to_enum.sql) (in query: -- non-Nullable Enum() still not acceptable SELECT CAST(CAST(NULL AS Nullable(String)) AS Enum8('Hello' = 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x1973971e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3858: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19dd6844 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd66c6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd6660 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd6600 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19dd65ab in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:37:31.792714 [ 8949 ] {a3449963-14ba-4acf-84f1-6deda50cf76a} TCPHandler: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'Nullable(String)'), 'Enum8(\'Hello\' = 1)'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x1973971e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3858: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19dd6844 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd66c6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd6660 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd6600 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19dd65ab in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:37:31.803398 [ 8949 ] {fb2474ae-293a-41b9-9b1f-270424cad071} executeQuery: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'Nullable(FixedString(1))'), 'Enum8(\'Hello\' = 1)'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58528) (comment: 01402_cast_nullable_string_to_enum.sql) (in query: SELECT CAST(CAST(NULL AS Nullable(FixedString(1))) AS Enum8('Hello' = 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x1973971e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3858: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19dd6844 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd66c6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd6660 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd6600 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19dd65ab in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:37:31.804699 [ 8949 ] {fb2474ae-293a-41b9-9b1f-270424cad071} TCPHandler: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'Nullable(FixedString(1))'), 'Enum8(\'Hello\' = 1)'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x1973971e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3858: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19dd6844 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd66c6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd6660 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19dd6600 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19dd65ab in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:37:32.520717 [ 2750 ] {} Access(user directories): from: ::1, user: header_test: Authentication failed: Code: 192. DB::Exception: There is no user `header_test` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x2921f479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922209d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:37:32.593042 [ 2750 ] {} DynamicQueryHandler: Code: 516. DB::Exception: header_test: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:37:32.627330 [ 2750 ] {} Access(user directories): from: ::1, user: : Authentication failed: Code: 192. DB::Exception: There is no user `` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x2921f479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922209d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:37:32.628489 [ 2750 ] {} DynamicQueryHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:37:32.662641 [ 2750 ] {} Access(user directories): from: ::1, user: : Authentication failed: Code: 192. DB::Exception: There is no user `` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x2921f479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922209d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:37:32.663514 [ 2750 ] {} DynamicQueryHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:37:32.777645 [ 2750 ] {} DynamicQueryHandler: Code: 81. DB::Exception: Database header_test doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:420: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x29f7d7cd in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:407: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x29f7d652 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1645: DB::Context::setCurrentDatabase(String const&) @ 0x29e72cc9 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:765: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c727523 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:37:32.886503 [ 2750 ] {14d5a454-247f-4e80-9911-2b53323bf9ed} executeQuery: Code: 73. DB::Exception: Unknown format header_test. (UNKNOWN_FORMAT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40666) (comment: 01399_http_request_headers.sh) (in query: SELECT 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:38: DB::FormatFactory::getCreators(String const&) const @ 0x2c7d477c in /usr/bin/clickhouse 7. /build/src/Formats/FormatFactory.cpp:343: DB::FormatFactory::getOutputFormatParallelIfPossible(String const&, DB::WriteBuffer&, DB::Block const&, std::shared_ptr, std::optional const&) const @ 0x2c7d5cdb in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1295: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356a7e in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:37:32.887684 [ 2750 ] {14d5a454-247f-4e80-9911-2b53323bf9ed} DynamicQueryHandler: Code: 73. DB::Exception: Unknown format header_test. (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:38: DB::FormatFactory::getCreators(String const&) const @ 0x2c7d477c in /usr/bin/clickhouse 7. /build/src/Formats/FormatFactory.cpp:343: DB::FormatFactory::getOutputFormatParallelIfPossible(String const&, DB::WriteBuffer&, DB::Block const&, std::shared_ptr, std::optional const&) const @ 0x2c7d5cdb in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1295: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356a7e in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:37:33.390954 [ 8949 ] {4cc4b692-c81e-4432-9c02-e10704629481} executeQuery: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58564) (comment: 01387_clear_column_default_depends.sql) (in query: ALTER TABLE test DROP COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1194: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b8098c9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:37:33.392004 [ 8949 ] {4cc4b692-c81e-4432-9c02-e10704629481} TCPHandler: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1194: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b8098c9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:37:33.627034 [ 8949 ] {1c245ad8-88d3-4f31-8c9e-2c972dbfc508} executeQuery: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58564) (comment: 01387_clear_column_default_depends.sql) (in query: ALTER TABLE test DROP COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1194: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b8098c9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:37:33.627804 [ 8949 ] {1c245ad8-88d3-4f31-8c9e-2c972dbfc508} TCPHandler: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1194: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b8098c9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:37:33.758278 [ 8949 ] {adb33ecc-0a4c-456d-8cca-b7bd715c3ad3} executeQuery: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58564) (comment: 01387_clear_column_default_depends.sql) (in query: ALTER TABLE test DROP COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1194: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b8098c9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:37:33.759032 [ 8949 ] {adb33ecc-0a4c-456d-8cca-b7bd715c3ad3} TCPHandler: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1194: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b8098c9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:37:34.342843 [ 8949 ] {59448fa5-1b85-49d1-8944-27955fef638d} executeQuery: Code: 70. DB::Exception: Cannot convert out of range floating point value to integer type: while executing 'FUNCTION and(c0 : 0, -1. : 2) -> and(c0, -1.) UInt8 : 3'. (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58580) (comment: 01386_negative_float_constant_key_condition.sql) (in query: SELECT t0.c1 FROM t0 WHERE NOT (t0.c1 OR (t0.c0 AND -1.0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [65]) @ 0x1c87d13e in /usr/bin/clickhouse 6. /build/src/Common/FieldVisitorConvertToNumber.h:74: DB::FieldVisitorConvertToNumber::operator()(double const&) const @ 0x29857bef in /usr/bin/clickhouse 7. /build/src/Core/Field.h:640: auto DB::Field::dispatch, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x298575c9 in /usr/bin/clickhouse 8. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x298573bd in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsLogical.cpp:140: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)::operator()(DB::Field const&) const @ 0x29de60b6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsLogical.cpp:110: bool DB::(anonymous namespace)::extractConstColumns(std::vector>&, char8_t&)::'lambda'(DB::Field const&)>(std::vector>&, char8_t&, bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)&&) @ 0x29de5f56 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsLogical.cpp:136: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&) @ 0x29de5ae1 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsLogical.cpp:459: COW::immutable_ptr DB::(anonymous namespace)::basicExecuteImpl(std::vector>, unsigned long) @ 0x29de0ca2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsLogical.cpp:661: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x29e13d68 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a00d66e in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1967: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a043ae2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 2024.03.27 21:37:34.344722 [ 8949 ] {59448fa5-1b85-49d1-8944-27955fef638d} TCPHandler: Code: 70. DB::Exception: Cannot convert out of range floating point value to integer type: while executing 'FUNCTION and(c0 : 0, -1. : 2) -> and(c0, -1.) UInt8 : 3'. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [65]) @ 0x1c87d13e in /usr/bin/clickhouse 6. /build/src/Common/FieldVisitorConvertToNumber.h:74: DB::FieldVisitorConvertToNumber::operator()(double const&) const @ 0x29857bef in /usr/bin/clickhouse 7. /build/src/Core/Field.h:640: auto DB::Field::dispatch, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x298575c9 in /usr/bin/clickhouse 8. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x298573bd in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsLogical.cpp:140: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)::operator()(DB::Field const&) const @ 0x29de60b6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsLogical.cpp:110: bool DB::(anonymous namespace)::extractConstColumns(std::vector>&, char8_t&)::'lambda'(DB::Field const&)>(std::vector>&, char8_t&, bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)&&) @ 0x29de5f56 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsLogical.cpp:136: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&) @ 0x29de5ae1 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsLogical.cpp:459: COW::immutable_ptr DB::(anonymous namespace)::basicExecuteImpl(std::vector>, unsigned long) @ 0x29de0ca2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsLogical.cpp:661: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x29e13d68 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a00d66e in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1967: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a043ae2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 2024.03.27 21:37:34.693433 [ 8949 ] {fb132f89-5ac7-4dca-b152-a88015dc57f4} executeQuery: Code: 36. DB::Exception: The size of bloom filter cannot be zero. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58602) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(0, 2, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 23780, min_bytes_for_wide_part = 697022084, ratio_of_defaults_for_sparse_serialization = 0.6937379837036133, merge_max_block_size = 9919, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 15502, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 8910819), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [40]) @ 0x197288de in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:28: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29e5214f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c27bc69 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:37:34.695074 [ 8949 ] {fb132f89-5ac7-4dca-b152-a88015dc57f4} TCPHandler: Code: 36. DB::Exception: The size of bloom filter cannot be zero. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [40]) @ 0x197288de in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:28: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29e5214f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c27bc69 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:37:34.846842 [ 8949 ] {5b44aaa0-0ca8-48b9-b5e2-916229bec0d8} executeQuery: Code: 36. DB::Exception: The number of hash functions for bloom filter cannot be zero. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58602) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(2, 0, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 23780, min_bytes_for_wide_part = 697022084, ratio_of_defaults_for_sparse_serialization = 0.6937379837036133, merge_max_block_size = 9919, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 15502, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 8910819), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [61]) @ 0x1a13977e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:30: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29e521bd in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c27bc69 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:37:34.848429 [ 8949 ] {5b44aaa0-0ca8-48b9-b5e2-916229bec0d8} TCPHandler: Code: 36. DB::Exception: The number of hash functions for bloom filter cannot be zero. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [61]) @ 0x1a13977e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:30: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29e521bd in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c27bc69 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:37:34.871085 [ 8949 ] {39e49235-4658-4ed1-8a8f-b780d0654db2} executeQuery: Code: 36. DB::Exception: The size of bloom filter cannot be zero. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58602) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(0, 1, 1) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 23780, min_bytes_for_wide_part = 697022084, ratio_of_defaults_for_sparse_serialization = 0.6937379837036133, merge_max_block_size = 9919, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 15502, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 8910819), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [40]) @ 0x197288de in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:28: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29e5214f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c27bc69 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:37:34.872995 [ 8949 ] {39e49235-4658-4ed1-8a8f-b780d0654db2} TCPHandler: Code: 36. DB::Exception: The size of bloom filter cannot be zero. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [40]) @ 0x197288de in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:28: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29e5214f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c27bc69 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:37:34.892467 [ 8949 ] {ac1b1768-119e-4435-93dc-fb1562b03591} executeQuery: Code: 36. DB::Exception: The number of hash functions for bloom filter cannot be zero. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58602) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(1, 0, 1) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 23780, min_bytes_for_wide_part = 697022084, ratio_of_defaults_for_sparse_serialization = 0.6937379837036133, merge_max_block_size = 9919, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 15502, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 8910819), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [61]) @ 0x1a13977e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:30: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29e521bd in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c27bc69 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:37:34.893807 [ 8949 ] {ac1b1768-119e-4435-93dc-fb1562b03591} TCPHandler: Code: 36. DB::Exception: The number of hash functions for bloom filter cannot be zero. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [61]) @ 0x1a13977e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:30: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29e521bd in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c27bc69 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:37:35.046187 [ 8949 ] {d705f283-7f11-4c54-96a7-7c44157ebd89} executeQuery: Code: 36. DB::Exception: All parameters to *bf_v1 index must be unsigned integers. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58602) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(0.1, 2, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 23780, min_bytes_for_wide_part = 697022084, ratio_of_defaults_for_sparse_serialization = 0.6937379837036133, merge_max_block_size = 9919, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 15502, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 8910819), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c45e91e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:760: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c27bb99 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 2024.03.27 21:37:35.047777 [ 8949 ] {d705f283-7f11-4c54-96a7-7c44157ebd89} TCPHandler: Code: 36. DB::Exception: All parameters to *bf_v1 index must be unsigned integers. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c45e91e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:760: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c27bb99 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 2024.03.27 21:37:35.065367 [ 8949 ] {c239348a-d75a-4ba2-b454-cb10b334e3a3} executeQuery: Code: 36. DB::Exception: All parameters to *bf_v1 index must be unsigned integers. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58602) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(-1, 2, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 23780, min_bytes_for_wide_part = 697022084, ratio_of_defaults_for_sparse_serialization = 0.6937379837036133, merge_max_block_size = 9919, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 15502, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 8910819), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c45e91e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:760: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c27bb99 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 2024.03.27 21:37:35.066846 [ 8949 ] {c239348a-d75a-4ba2-b454-cb10b334e3a3} TCPHandler: Code: 36. DB::Exception: All parameters to *bf_v1 index must be unsigned integers. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c45e91e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:760: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c27bb99 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 2024.03.27 21:37:35.214303 [ 8949 ] {33c1165b-4a00-4f80-82b1-4fb5e2f30058} executeQuery: Code: 36. DB::Exception: The size of bloom filter cannot be more than 1073741824. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58602) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(4294967295, 2, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 23780, min_bytes_for_wide_part = 697022084, ratio_of_defaults_for_sparse_serialization = 0.6937379837036133, merge_max_block_size = 9919, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 15502, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 8910819), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x19e233d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:32: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29e52261 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c27bc69 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:37:35.215846 [ 8949 ] {33c1165b-4a00-4f80-82b1-4fb5e2f30058} TCPHandler: Code: 36. DB::Exception: The size of bloom filter cannot be more than 1073741824. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x19e233d3 in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:32: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29e52261 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c27bc69 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c25466d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c254625 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2545e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c254590 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2535ae in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c24eac8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c24d446 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c0bd251 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c0ba558 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c0b991a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c56aef3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56aa9a in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a795 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a423 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c56a235 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5689db in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c566997 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 2024.03.27 21:37:40.331478 [ 634 ] {57373b0a-561f-422f-83e0-eb4ac390b090} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082879 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42740) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:37:40.332761 [ 634 ] {57373b0a-561f-422f-83e0-eb4ac390b090} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082879 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:37:40.910929 [ 6021 ] {20fc2409-185d-4a27-9c42-bc9e72f3ee3d} executeQuery: Code: 69. DB::Exception: Too large offset: -9223372036854775808 in function neighbor. (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42782) (comment: 01353_neighbor_overflow.sql) (in query: SELECT neighbor(toString(number), -9223372036854775808) FROM numbers(100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&, String&&) @ 0x1fd3b9cc in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:121: DB::(anonymous namespace)::FunctionNeighbor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fd3a5eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:37:40.912158 [ 6021 ] {20fc2409-185d-4a27-9c42-bc9e72f3ee3d} TCPHandler: Code: 69. DB::Exception: Too large offset: -9223372036854775808 in function neighbor. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&, String&&) @ 0x1fd3b9cc in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:121: DB::(anonymous namespace)::FunctionNeighbor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fd3a5eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:37:41.093819 [ 6021 ] {2f675605-14ba-4c79-bc80-b1db2ac08641} executeQuery: Code: 69. DB::Exception: Too large offset: 1352054349981207126 in function neighbor: while executing 'FUNCTION neighbor(toString(number) :: 2, toInt64(rand64()) :: 3) -> x String : 1'. (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42782) (comment: 01353_neighbor_overflow.sql) (in query: WITH neighbor(toString(number), toInt64(rand64())) AS x SELECT * FROM system.numbers WHERE NOT ignore(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&, String&&) @ 0x1fd3b9cc in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:184: DB::(anonymous namespace)::FunctionNeighbor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fd3aa17 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/FilterTransform.cpp:135: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x2cc61db3 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/FilterTransform.cpp:120: DB::FilterTransform::transform(DB::Chunk&) @ 0x2cc61c72 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 2024.03.27 21:37:41.095204 [ 6021 ] {2f675605-14ba-4c79-bc80-b1db2ac08641} TCPHandler: Code: 69. DB::Exception: Too large offset: 1352054349981207126 in function neighbor: while executing 'FUNCTION neighbor(toString(number) :: 2, toInt64(rand64()) :: 3) -> x String : 1'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&, String&&) @ 0x1fd3b9cc in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:184: DB::(anonymous namespace)::FunctionNeighbor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fd3aa17 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/FilterTransform.cpp:135: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x2cc61db3 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/FilterTransform.cpp:120: DB::FilterTransform::transform(DB::Chunk&) @ 0x2cc61c72 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 2024.03.27 21:37:43.017911 [ 6021 ] {a9ae5b14-91fe-4e9d-a4ad-5aaeb40118f9} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42826) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:37:43.019371 [ 6021 ] {a9ae5b14-91fe-4e9d-a4ad-5aaeb40118f9} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:37:44.769948 [ 634 ] {13406f1f-e1d4-4374-9875-645587d08afe} executeQuery: Code: 128. DB::Exception: Too large array size in GenerateRandom: 9223372036854775807, maximum: 1073741824. (TOO_LARGE_ARRAY_SIZE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42896) (comment: 01352_generate_random_overflow.sql) (in query: SELECT i FROM generateRandom('i Array(Nullable(Enum8(\'hello\' = 1, \'world\' = 5)))', 1025, 65535, 9223372036854775807) LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x1a92334c in /usr/bin/clickhouse 6. /build/src/Storages/StorageGenerateRandom.cpp:500: DB::StorageGenerateRandom::StorageGenerateRandom(DB::StorageID const&, DB::ColumnsDescription const&, String const&, unsigned long, unsigned long, std::optional const&) @ 0x2b90130b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageGenerateRandom* std::construct_at[abi:v15000] const&, DB::StorageGenerateRandom*>(DB::StorageGenerateRandom*, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28cccf73 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::StorageGenerateRandom*, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28cccd0d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28ccc9d9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, String, unsigned long const&, unsigned long const&, std::optional const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28ccc82e in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28ccc254 in /usr/bin/clickhouse 12. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:95: DB::TableFunctionGenerateRandom::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28ccbf90 in /usr/bin/clickhouse 13. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 15. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:37:44.771443 [ 634 ] {13406f1f-e1d4-4374-9875-645587d08afe} TCPHandler: Code: 128. DB::Exception: Too large array size in GenerateRandom: 9223372036854775807, maximum: 1073741824. (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x1a92334c in /usr/bin/clickhouse 6. /build/src/Storages/StorageGenerateRandom.cpp:500: DB::StorageGenerateRandom::StorageGenerateRandom(DB::StorageID const&, DB::ColumnsDescription const&, String const&, unsigned long, unsigned long, std::optional const&) @ 0x2b90130b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageGenerateRandom* std::construct_at[abi:v15000] const&, DB::StorageGenerateRandom*>(DB::StorageGenerateRandom*, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28cccf73 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::StorageGenerateRandom*, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28cccd0d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28ccc9d9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, String, unsigned long const&, unsigned long const&, std::optional const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28ccc82e in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28ccc254 in /usr/bin/clickhouse 12. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:95: DB::TableFunctionGenerateRandom::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28ccbf90 in /usr/bin/clickhouse 13. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 15. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:37:45.719690 [ 634 ] {f0094a29-0e99-4ce9-ad3b-038920cd817d} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56684) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:37:45.721157 [ 634 ] {f0094a29-0e99-4ce9-ad3b-038920cd817d} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:37:47.826300 [ 6021 ] {73eea619-0898-47c0-8812-2ab8f0c88638} executeQuery: Code: 36. DB::Exception: Expression with arrayJoin cannot depend on lambda argument: array(x, 1): While processing arrayMap(x -> arrayJoin([x, 1]), [1, 2]). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56750) (comment: 01330_array_join_in_higher_order_function.sql) (in query: SELECT arrayMap(x -> arrayJoin([x, 1]), [1, 2]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Interpreters/ActionsVisitor.cpp:654: DB::ScopeStack::addArrayJoin(String const&, String) @ 0x2a073860 in /usr/bin/clickhouse 7. /build/src/Interpreters/ActionsVisitor.h:177: DB::ActionsMatcher::Data::addArrayJoin(String const&, String) @ 0x2a07ffcd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:899: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07490b in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1268: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0789a5 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:37:47.827543 [ 6021 ] {73eea619-0898-47c0-8812-2ab8f0c88638} TCPHandler: Code: 36. DB::Exception: Expression with arrayJoin cannot depend on lambda argument: array(x, 1): While processing arrayMap(x -> arrayJoin([x, 1]), [1, 2]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Interpreters/ActionsVisitor.cpp:654: DB::ScopeStack::addArrayJoin(String const&, String) @ 0x2a073860 in /usr/bin/clickhouse 7. /build/src/Interpreters/ActionsVisitor.h:177: DB::ActionsMatcher::Data::addArrayJoin(String const&, String) @ 0x2a07ffcd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:899: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07490b in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1268: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0789a5 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:37:48.362294 [ 6021 ] {b6f993d7-980c-452f-b6dd-741ee271106f} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56764) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:37:48.363815 [ 6021 ] {b6f993d7-980c-452f-b6dd-741ee271106f} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:37:50.976071 [ 8929 ] {3d3f4f91-a22a-4a54-9b21-8e2732a59e7d} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56860) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:37:50.977160 [ 8929 ] {3d3f4f91-a22a-4a54-9b21-8e2732a59e7d} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:37:51.569074 [ 8929 ] {2f6bba91-ceda-4155-850c-d2c72431a30d} executeQuery: Code: 184. DB::Exception: Aggregate function anyLast(number) is found inside another aggregate function in query: While processing anyLast(number). (ILLEGAL_AGGREGATION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56892) (comment: 01322_any_input_optimize.sql) (in query: SELECT any(anyLast(number)) FROM numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:69: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a063eb1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:61: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a063dc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a063bc0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0657c1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a063b4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a04ba85 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:114: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x2b2400c7 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:748: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x2b23456e in /usr/bin/clickhouse 14. /build/src/Interpreters/TreeRewriter.cpp:1254: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230530 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:37:51.570336 [ 8929 ] {2f6bba91-ceda-4155-850c-d2c72431a30d} TCPHandler: Code: 184. DB::Exception: Aggregate function anyLast(number) is found inside another aggregate function in query: While processing anyLast(number). (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:69: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a063eb1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:61: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a063dc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a063bc0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0657c1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a063b4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a04ba85 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:114: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x2b2400c7 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:748: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x2b23456e in /usr/bin/clickhouse 14. /build/src/Interpreters/TreeRewriter.cpp:1254: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230530 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:37:52.354540 [ 8929 ] {6243c8fc-5532-43ca-ba0b-a81e3928ee9d} executeQuery: Code: 184. DB::Exception: Aggregate function anyLast(number) is found inside another aggregate function in query: While processing anyLast(number). (ILLEGAL_AGGREGATION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56892) (comment: 01322_any_input_optimize.sql) (in query: SELECT any(anyLast(number)) FROM numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:69: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a063eb1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:61: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a063dc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a063bc0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0657c1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a063b4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a04ba85 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:114: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x2b2400c7 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:748: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x2b23456e in /usr/bin/clickhouse 14. /build/src/Interpreters/TreeRewriter.cpp:1254: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230530 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:37:52.355603 [ 8929 ] {6243c8fc-5532-43ca-ba0b-a81e3928ee9d} TCPHandler: Code: 184. DB::Exception: Aggregate function anyLast(number) is found inside another aggregate function in query: While processing anyLast(number). (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:69: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a063eb1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:61: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a063dc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a063bc0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0657c1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a063b4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a04ba85 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:114: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x2b2400c7 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:748: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x2b23456e in /usr/bin/clickhouse 14. /build/src/Interpreters/TreeRewriter.cpp:1254: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230530 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:37:53.689728 [ 8929 ] {3d4602fa-b614-488c-a946-1951313eee14} executeQuery: Code: 44. DB::Exception: Cannot add column value3: column with this name already exists. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56936) (comment: 01318_alter_add_column_exists.sql) (in query: ALTER TABLE add_table ADD COLUMN value3 UInt64, ADD COLUMN IF NOT EXISTS value3 UInt32;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/ColumnsDescription.cpp:203: DB::ColumnsDescription::add(DB::ColumnDescription, String const&, bool, bool) @ 0x2b81da6a in /usr/bin/clickhouse 7. /build/src/Storages/AlterCommands.cpp:400: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b8027b2 in /usr/bin/clickhouse 8. /build/src/Storages/AlterCommands.cpp:928: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b806405 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e55ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:37:53.689937 [ 8952 ] {638ed715-30eb-4339-b315-75bc52f27b26} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1083023 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56954) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:37:53.690634 [ 8929 ] {3d4602fa-b614-488c-a946-1951313eee14} TCPHandler: Code: 44. DB::Exception: Cannot add column value3: column with this name already exists. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/ColumnsDescription.cpp:203: DB::ColumnsDescription::add(DB::ColumnDescription, String const&, bool, bool) @ 0x2b81da6a in /usr/bin/clickhouse 7. /build/src/Storages/AlterCommands.cpp:400: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b8027b2 in /usr/bin/clickhouse 8. /build/src/Storages/AlterCommands.cpp:928: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b806405 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e55ac in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:37:53.691663 [ 8952 ] {638ed715-30eb-4339-b315-75bc52f27b26} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1083023 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:37:56.299287 [ 6021 ] {5b21430a-6ab3-4b96-99c8-eed23522d1ac} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56760) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:37:56.300700 [ 6021 ] {5b21430a-6ab3-4b96-99c8-eed23522d1ac} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:37:59.015791 [ 8929 ] {4318e15e-2be0-41fa-85e2-78a4add4dbf5} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56874) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:37:59.017243 [ 8929 ] {4318e15e-2be0-41fa-85e2-78a4add4dbf5} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:38:01.720250 [ 8952 ] {7ac03961-abc8-4b36-b445-a73fe3048434} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 2.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57022) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:38:01.721776 [ 8952 ] {7ac03961-abc8-4b36-b445-a73fe3048434} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 2.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:38:03.542853 [ 8929 ] {first-01317_no_password_in_command_line_test_dzj933vm} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56984) (comment: 01317_no_password_in_command_line.sh) (in query: SELECT sleepEachRow(1) FROM system.numbers LIMIT 100), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2af4357b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:03.545107 [ 8929 ] {first-01317_no_password_in_command_line_test_dzj933vm} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2af4357b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:04.480929 [ 8929 ] {70ae5656-f080-46ee-8e17-426be174e009} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57124) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x22184f8d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x22184f0a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6470b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x197f1a5b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28d2a8a6 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c82e207 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c82e0a1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c82e055 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c82e039 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c82df9d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c82dea2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c82de15 in /usr/bin/clickhouse 2024.03.27 21:38:04.482698 [ 8929 ] {70ae5656-f080-46ee-8e17-426be174e009} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x22184f8d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x22184f0a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6470b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x197f1a5b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28d2a8a6 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c82e207 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c82e0a1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c82e055 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c82e039 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c82df9d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c82dea2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c82de15 in /usr/bin/clickhouse 2024.03.27 21:38:07.122936 [ 3331 ] {be891e89-5f8a-415e-a243-81db0707fe2b} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 8.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47694) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x22184f8d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x22184f0a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6470b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x197f1a5b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28d2a8a6 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c82e207 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c82e0a1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c82e055 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c82e039 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c82df9d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c82dea2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c82de15 in /usr/bin/clickhouse 2024.03.27 21:38:07.124956 [ 3331 ] {be891e89-5f8a-415e-a243-81db0707fe2b} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 8.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x22184f8d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x22184f0a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6470b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x197f1a5b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28d2a8a6 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c82e207 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c82e0a1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c82e055 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c82e039 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c82df9d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c82dea2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c82de15 in /usr/bin/clickhouse 2024.03.27 21:38:07.569491 [ 3331 ] {19971462-c927-47c9-a763-997676fbf111} executeQuery: Code: 180. DB::Exception: There is no settings profile `s2_01294` in user directories. (THERE_IS_NO_PROFILE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47708) (comment: 01294_create_settings_profile.sql) (in query: SHOW CREATE SETTINGS PROFILE s2_01294;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x2921f479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:77: ? @ 0x2921f3b3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:330: DB::InterpreterShowCreateAccessEntityQuery::getEntities() const @ 0x2b406743 in /usr/bin/clickhouse 9. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:340: DB::InterpreterShowCreateAccessEntityQuery::getCreateQueries() const @ 0x2b4058f8 in /usr/bin/clickhouse 10. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:252: DB::InterpreterShowCreateAccessEntityQuery::executeImpl() @ 0x2b4051db in /usr/bin/clickhouse 11. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:244: DB::InterpreterShowCreateAccessEntityQuery::execute() @ 0x2b40510b in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:07.570480 [ 3331 ] {19971462-c927-47c9-a763-997676fbf111} TCPHandler: Code: 180. DB::Exception: There is no settings profile `s2_01294` in user directories. (THERE_IS_NO_PROFILE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x2921f479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:77: ? @ 0x2921f3b3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:330: DB::InterpreterShowCreateAccessEntityQuery::getEntities() const @ 0x2b406743 in /usr/bin/clickhouse 9. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:340: DB::InterpreterShowCreateAccessEntityQuery::getCreateQueries() const @ 0x2b4058f8 in /usr/bin/clickhouse 10. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:252: DB::InterpreterShowCreateAccessEntityQuery::executeImpl() @ 0x2b4051db in /usr/bin/clickhouse 11. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:244: DB::InterpreterShowCreateAccessEntityQuery::execute() @ 0x2b40510b in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:08.986900 [ 8952 ] {second-01317_no_password_in_command_line_test_dzj933vm} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57156) (comment: 01317_no_password_in_command_line.sh) (in query: SELECT sleepEachRow(1) FROM system.numbers LIMIT 100), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2af4357b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:08.989363 [ 8952 ] {second-01317_no_password_in_command_line_test_dzj933vm} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2af4357b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:10.137646 [ 8952 ] {f901573b-eeff-4cc5-8c6c-22e8a15aca74} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 17.70 MiB (attempt to allocate chunk of 3145519 bytes), maximum: 16.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47784) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::alloc<>(unsigned long) @ 0x22200ae5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::realloc<>(unsigned long) @ 0x22200976 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::resize<>(unsigned long) @ 0x2985c8a6 in /usr/bin/clickhouse 14. /build/src/Compression/CompressedWriteBuffer.cpp:50: DB::CompressedWriteBuffer::nextImpl() @ 0x2985e79a in /usr/bin/clickhouse 15. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x19725e37 in /usr/bin/clickhouse 16. /build/src/IO/WriteBuffer.h:72: DB::WriteBuffer::nextIfAtEnd() @ 0x197276f8 in /usr/bin/clickhouse 17. /build/src/IO/WriteBuffer.h:87: DB::WriteBuffer::write(char const*, unsigned long) @ 0x1973a653 in /usr/bin/clickhouse 18. /build/src/DataTypes/Serializations/SerializationNumber.cpp:146: DB::SerializationNumber::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x29ae443b in /usr/bin/clickhouse 19. /build/src/DataTypes/Serializations/ISerialization.cpp:115: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x29a95a42 in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:484: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&) @ 0x2bbfa95c in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:370: DB::LogSink::consume(DB::Chunk) @ 0x2bbfa467 in /usr/bin/clickhouse 22. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 31. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 2024.03.27 21:38:10.139097 [ 8952 ] {f901573b-eeff-4cc5-8c6c-22e8a15aca74} FileChecker: Will truncate file store/11d/11d934fa-ca85-4916-900f-bff0f63d1c17/x.bin that has size 4001641 to size 0 2024.03.27 21:38:10.141411 [ 8952 ] {f901573b-eeff-4cc5-8c6c-22e8a15aca74} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 17.70 MiB (attempt to allocate chunk of 3145519 bytes), maximum: 16.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::alloc<>(unsigned long) @ 0x22200ae5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::realloc<>(unsigned long) @ 0x22200976 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::resize<>(unsigned long) @ 0x2985c8a6 in /usr/bin/clickhouse 14. /build/src/Compression/CompressedWriteBuffer.cpp:50: DB::CompressedWriteBuffer::nextImpl() @ 0x2985e79a in /usr/bin/clickhouse 15. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x19725e37 in /usr/bin/clickhouse 16. /build/src/IO/WriteBuffer.h:72: DB::WriteBuffer::nextIfAtEnd() @ 0x197276f8 in /usr/bin/clickhouse 17. /build/src/IO/WriteBuffer.h:87: DB::WriteBuffer::write(char const*, unsigned long) @ 0x1973a653 in /usr/bin/clickhouse 18. /build/src/DataTypes/Serializations/SerializationNumber.cpp:146: DB::SerializationNumber::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x29ae443b in /usr/bin/clickhouse 19. /build/src/DataTypes/Serializations/ISerialization.cpp:115: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x29a95a42 in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:484: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&) @ 0x2bbfa95c in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:370: DB::LogSink::consume(DB::Chunk) @ 0x2bbfa467 in /usr/bin/clickhouse 22. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 31. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 2024.03.27 21:38:11.740761 [ 18229 ] {ea4db985-3b96-42d0-992d-013eddad0cca} executeQuery: Code: 160. DB::Exception: Query is executing too slow: 8874500 rows/sec., minimum: 100000000000: While executing Numbers. (TOO_SLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47862) (comment: 01287_max_execution_speed.sql) (in query: SELECT count() FROM system.numbers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, unsigned long const&) @ 0x2990414c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:66: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long) const @ 0x299036d1 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:121: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x299021fe in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8516dc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:11.744294 [ 18229 ] {ea4db985-3b96-42d0-992d-013eddad0cca} TCPHandler: Code: 160. DB::Exception: Query is executing too slow: 8874500 rows/sec., minimum: 100000000000: While executing Numbers. (TOO_SLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, unsigned long const&) @ 0x2990414c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:66: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long) const @ 0x299036d1 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:121: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x299021fe in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8516dc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:11.898283 [ 18229 ] {dd48812e-41c6-42f0-b7ba-e9b71bbd8d04} executeQuery: Code: 160. DB::Exception: Query is executing too slow: 70996000 bytes/sec., minimum: 800000000000: While executing Numbers. (TOO_SLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47862) (comment: 01287_max_execution_speed.sql) (in query: SELECT count() FROM system.numbers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, unsigned long const&) @ 0x2990414c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:74: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long) const @ 0x29903845 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:121: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x299021fe in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8516dc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:11.901781 [ 18229 ] {dd48812e-41c6-42f0-b7ba-e9b71bbd8d04} TCPHandler: Code: 160. DB::Exception: Query is executing too slow: 70996000 bytes/sec., minimum: 800000000000: While executing Numbers. (TOO_SLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, unsigned long const&) @ 0x2990414c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:74: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long) const @ 0x29903845 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:121: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x299021fe in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8516dc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:12.128231 [ 8933 ] {9114ed40-92f0-42e5-9f26-18623e637c03} executeQuery: Code: 43. DB::Exception: Illegal type FixedString(1) of first argument of function port. Must be String.: While processing port(toFixedString('', 1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47888) (comment: 01284_port.gen.sql) (in query: -- unsupported /* ILLEGAL_TYPE_OF_ARGUMENT */ select port(toFixedString('', 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:38: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x211f1fdd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:12.129504 [ 8933 ] {9114ed40-92f0-42e5-9f26-18623e637c03} TCPHandler: Code: 43. DB::Exception: Illegal type FixedString(1) of first argument of function port. Must be String.: While processing port(toFixedString('', 1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:38: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x211f1fdd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:12.247892 [ 8933 ] {317d91bc-2f07-4403-a10e-4c63a456cc7e} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of second argument of function port. Must be UInt16.: While processing port('', 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47888) (comment: 01284_port.gen.sql) (in query: /* ILLEGAL_TYPE_OF_ARGUMENT */ select port('', 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:42: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x211f21b0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:12.249251 [ 8933 ] {317d91bc-2f07-4403-a10e-4c63a456cc7e} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of second argument of function port. Must be UInt16.: While processing port('', 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:42: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x211f21b0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:12.369895 [ 8933 ] {93215789-0b97-470d-af12-d90aba1f09bd} executeQuery: Code: 42. DB::Exception: Number of arguments for function port doesn't match: passed 3, should be 1 or 2: While processing port('', 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47888) (comment: 01284_port.gen.sql) (in query: /* NUMBER_OF_ARGUMENTS_DOESNT_MATCH */ select port('', 1, 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:33: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x211f1e5f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:12.371077 [ 8933 ] {93215789-0b97-470d-af12-d90aba1f09bd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function port doesn't match: passed 3, should be 1 or 2: While processing port('', 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:33: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x211f1e5f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:12.629045 [ 8933 ] {18782657-d2be-4500-8d08-460316a0759c} executeQuery: Code: 43. DB::Exception: Illegal type FixedString(1) of first argument of function port. Must be String.: While processing port(toFixedString('', 1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47888) (comment: 01284_port.gen.sql) (in query: -- unsupported /* ILLEGAL_TYPE_OF_ARGUMENT */ select port(toFixedString('', 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:38: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x211f1fdd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:12.630328 [ 8933 ] {18782657-d2be-4500-8d08-460316a0759c} TCPHandler: Code: 43. DB::Exception: Illegal type FixedString(1) of first argument of function port. Must be String.: While processing port(toFixedString('', 1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:38: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x211f1fdd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:12.741335 [ 8933 ] {f74409ec-4c94-41d0-ab3a-266e4caa86bf} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of second argument of function portRFC. Must be UInt16.: While processing portRFC('', 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47888) (comment: 01284_port.gen.sql) (in query: /* ILLEGAL_TYPE_OF_ARGUMENT */ select portRFC('', 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:42: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x211f3c70 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:12.742400 [ 8933 ] {f74409ec-4c94-41d0-ab3a-266e4caa86bf} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of second argument of function portRFC. Must be UInt16.: While processing portRFC('', 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:42: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x211f3c70 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:12.858216 [ 8933 ] {8a859eb9-c487-41c1-a918-2217a76a9e46} executeQuery: Code: 42. DB::Exception: Number of arguments for function portRFC doesn't match: passed 3, should be 1 or 2: While processing portRFC('', 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47888) (comment: 01284_port.gen.sql) (in query: /* NUMBER_OF_ARGUMENTS_DOESNT_MATCH */ select portRFC('', 1, 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:33: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x211f391f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:12.859536 [ 8933 ] {8a859eb9-c487-41c1-a918-2217a76a9e46} TCPHandler: Code: 42. DB::Exception: Number of arguments for function portRFC doesn't match: passed 3, should be 1 or 2: While processing portRFC('', 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:33: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x211f391f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:14.439676 [ 8933 ] {8e8db591-d796-4728-859d-d9898a296cd8} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime64BestEffort provided 0, expected 1 to 3 ('string' : String or FixedString, ['precision' : const UInt8, 'timezone' : const String or FixedString]): While processing parseDateTime64BestEffort(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47924) (comment: 01281_parseDateTime64BestEffort.sql) (in query: -- Error cases SELECT parseDateTime64BestEffort();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x290aefbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290acf45 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a0f9dad in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:38:14.441142 [ 8933 ] {8e8db591-d796-4728-859d-d9898a296cd8} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime64BestEffort provided 0, expected 1 to 3 ('string' : String or FixedString, ['precision' : const UInt8, 'timezone' : const String or FixedString]): While processing parseDateTime64BestEffort(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x290aefbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290acf45 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a0f9dad in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:38:14.563306 [ 8933 ] {e79a1e0d-dff2-45b7-ae82-9e41f3d471d1} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'string' of function parseDateTime64BestEffort, expected String or FixedString, got UInt8: While processing parseDateTime64BestEffort(123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47924) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort(123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x290af75a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x290ada5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290ad1e0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a0f9dad in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:38:14.564720 [ 8933 ] {e79a1e0d-dff2-45b7-ae82-9e41f3d471d1} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'string' of function parseDateTime64BestEffort, expected String or FixedString, got UInt8: While processing parseDateTime64BestEffort(123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x290af75a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x290ada5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290ad1e0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a0f9dad in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:38:14.704395 [ 8933 ] {e6fd303c-92f3-4f88-9e67-3b7f8f9aa9d7} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: unexpected word: While processing parseDateTime64BestEffort('foo'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47924) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('foo');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x197813b7 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x22217378 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:558: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x222104ac in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:660: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x22216cc4 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:701: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x22216c73 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1283: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a0fbff0 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a0fabf4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2184: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a0f989a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:38:14.705849 [ 8933 ] {e6fd303c-92f3-4f88-9e67-3b7f8f9aa9d7} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: unexpected word: While processing parseDateTime64BestEffort('foo'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x197813b7 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x22217378 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:558: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x222104ac in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:660: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x22216cc4 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:701: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x22216c73 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1283: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a0fbff0 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a0fabf4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2184: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a0f989a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:38:14.835450 [ 8933 ] {65076bf7-6eda-4c54-8187-883275f1e9ba} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'precision' of function parseDateTime64BestEffort, expected const UInt8, got String: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 'bar'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47924) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 'bar');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x290af75a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x290ada5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290ad22a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a0f9dad in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:38:14.836833 [ 8933 ] {65076bf7-6eda-4c54-8187-883275f1e9ba} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'precision' of function parseDateTime64BestEffort, expected const UInt8, got String: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 'bar'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x290af75a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x290ada5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290ad22a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a0f9dad in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:38:14.846748 [ 8933 ] {35dc5cd8-2607-427b-97b9-75554ed6fe3b} executeQuery: Code: 43. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime64BestEffort, expected const String or FixedString, got UInt8: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 4). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47924) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 4);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x290af75a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x290ada5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290ad22a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a0f9dad in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:38:14.848057 [ 8933 ] {35dc5cd8-2607-427b-97b9-75554ed6fe3b} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime64BestEffort, expected const String or FixedString, got UInt8: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 4). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x290af75a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x290ada5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290ad22a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a0f9dad in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:38:14.968927 [ 8933 ] {c581636d-9396-419c-994d-3afce3b44b4d} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Exception: Cannot load time zone baz (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47924) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 'baz');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:31: Poco::Exception::Exception(String&&, int) @ 0x31dea000 in /usr/bin/clickhouse 3. /build/src/Common/DateLUTImpl.cpp:51: DateLUTImpl::DateLUTImpl(String const&) @ 0x2214471a in /usr/bin/clickhouse 4. /build/src/Common/DateLUT.cpp:156: DateLUT::getImplementation(String const&) const @ 0x2213f08a in /usr/bin/clickhouse 5. /build/src/Common/DateLUT.h:33: TimezoneMixin::TimezoneMixin(String const&) @ 0x29931472 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDateTime64.cpp:21: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x2993215c in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime64* std::construct_at[abi:v15000](DB::DataTypeDateTime64*, unsigned long&, String const&) @ 0x197551ef in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime64*, unsigned long&, String const&) @ 0x19754fa9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, unsigned long&, String const&) @ 0x19754c8f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long&, String const&, void>(std::allocator const&, unsigned long&, String const&) @ 0x19754b02 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](unsigned long&, String const&) @ 0x1975228e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2078: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a0fa1c3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:38:14.970069 [ 8933 ] {c581636d-9396-419c-994d-3afce3b44b4d} TCPHandler: Code: 1000. DB::Exception: Exception: Cannot load time zone baz. (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:31: Poco::Exception::Exception(String&&, int) @ 0x31dea000 in /usr/bin/clickhouse 3. /build/src/Common/DateLUTImpl.cpp:51: DateLUTImpl::DateLUTImpl(String const&) @ 0x2214471a in /usr/bin/clickhouse 4. /build/src/Common/DateLUT.cpp:156: DateLUT::getImplementation(String const&) const @ 0x2213f08a in /usr/bin/clickhouse 5. /build/src/Common/DateLUT.h:33: TimezoneMixin::TimezoneMixin(String const&) @ 0x29931472 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDateTime64.cpp:21: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x2993215c in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime64* std::construct_at[abi:v15000](DB::DataTypeDateTime64*, unsigned long&, String const&) @ 0x197551ef in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime64*, unsigned long&, String const&) @ 0x19754fa9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, unsigned long&, String const&) @ 0x19754c8f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long&, String const&, void>(std::allocator const&, unsigned long&, String const&) @ 0x19754b02 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](unsigned long&, String const&) @ 0x1975228e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2078: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a0fa1c3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:38:14.978875 [ 8933 ] {27b09add-be61-46fb-8a7b-472650d7ac91} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'precision' of function parseDateTime64BestEffort, expected const UInt8, got UInt8: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', materialize(3), 4). (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47924) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', materialize(3), 4);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x290af75a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x290ada5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290ad22a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a0f9dad in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:38:14.980227 [ 8933 ] {27b09add-be61-46fb-8a7b-472650d7ac91} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'precision' of function parseDateTime64BestEffort, expected const UInt8, got UInt8: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', materialize(3), 4). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x290af75a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x290ada5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290ad22a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a0f9dad in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:38:14.987904 [ 8933 ] {5790388c-6e41-4781-981e-47aef82ea5af} executeQuery: Code: 44. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime64BestEffort, expected const String or FixedString, got String: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, materialize('UTC')). (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47924) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, materialize('UTC'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x290af75a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x290ada5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290ad22a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a0f9dad in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:38:14.989258 [ 8933 ] {5790388c-6e41-4781-981e-47aef82ea5af} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime64BestEffort, expected const String or FixedString, got String: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, materialize('UTC')). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x290af75a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x290ada5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290ad22a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a0f9dad in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:38:15.128361 [ 8933 ] {51b7f872-1d2d-439d-8019-a47783ee516c} executeQuery: Code: 6. DB::Exception: Cannot parse string '2020-05-14T03:37:03.253184012345678910111213141516171819Z' as DateTime64(3, 'UTC'): syntax error at position 39 (parsed just '2020-05-14T03:37:03.2531840123456789101'): While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184012345678910111213141516171819Z', 3, 'UTC'). (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47924) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184012345678910111213141516171819Z', 3, 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a0fc067 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a0fabf4 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2184: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a0f989a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 2024.03.27 21:38:15.129880 [ 8933 ] {51b7f872-1d2d-439d-8019-a47783ee516c} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2020-05-14T03:37:03.253184012345678910111213141516171819Z' as DateTime64(3, 'UTC'): syntax error at position 39 (parsed just '2020-05-14T03:37:03.2531840123456789101'): While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184012345678910111213141516171819Z', 3, 'UTC'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a0fc067 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a0fabf4 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2184: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a0f989a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 2024.03.27 21:38:16.954537 [ 635 ] {5da3fbe6-570a-4436-b5cf-8c56027eabb4} executeQuery: Code: 42. DB::Exception: Function fromUnixTimestamp64Milli takes one or two arguments: While processing fromUnixTimestamp64Milli(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43970) (comment: 01277_fromUnixTimestamp64.sql) (in query: -- -- Error cases SELECT fromUnixTimestamp64Milli();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:117: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c952c0b in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:16.955730 [ 635 ] {5da3fbe6-570a-4436-b5cf-8c56027eabb4} TCPHandler: Code: 42. DB::Exception: Function fromUnixTimestamp64Milli takes one or two arguments: While processing fromUnixTimestamp64Milli(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:117: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c952c0b in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:16.963886 [ 635 ] {9ecfa145-efd5-46bb-8f8c-6503824e7d91} executeQuery: Code: 42. DB::Exception: Function fromUnixTimestamp64Micro takes one or two arguments: While processing fromUnixTimestamp64Micro(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43970) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Micro();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:117: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c952c0b in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:16.964892 [ 635 ] {9ecfa145-efd5-46bb-8f8c-6503824e7d91} TCPHandler: Code: 42. DB::Exception: Function fromUnixTimestamp64Micro takes one or two arguments: While processing fromUnixTimestamp64Micro(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:117: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c952c0b in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:16.971530 [ 635 ] {a5e7a707-753b-489e-9902-4dbf7a6d642d} executeQuery: Code: 42. DB::Exception: Function fromUnixTimestamp64Nano takes one or two arguments: While processing fromUnixTimestamp64Nano(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43970) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Nano();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:117: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c952c0b in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:16.972602 [ 635 ] {a5e7a707-753b-489e-9902-4dbf7a6d642d} TCPHandler: Code: 42. DB::Exception: Function fromUnixTimestamp64Nano takes one or two arguments: While processing fromUnixTimestamp64Nano(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:117: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c952c0b in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:17.085992 [ 635 ] {7dd0f213-9dea-4754-b065-c9588c5b4892} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Milli must be integer: While processing fromUnixTimestamp64Milli('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43970) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Milli('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c952cc9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:17.087303 [ 635 ] {7dd0f213-9dea-4754-b065-c9588c5b4892} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Milli must be integer: While processing fromUnixTimestamp64Milli('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c952cc9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:17.096441 [ 635 ] {015f862d-e8fd-40e5-8a3d-dfa8ea904fdd} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Micro must be integer: While processing fromUnixTimestamp64Micro('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43970) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Micro('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c952cc9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:17.098591 [ 635 ] {015f862d-e8fd-40e5-8a3d-dfa8ea904fdd} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Micro must be integer: While processing fromUnixTimestamp64Micro('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c952cc9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:17.107153 [ 635 ] {0d42db76-128c-4257-ba04-c4f49a17481d} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Nano must be integer: While processing fromUnixTimestamp64Nano('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43970) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Nano('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c952cc9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:17.108098 [ 635 ] {0d42db76-128c-4257-ba04-c4f49a17481d} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Nano must be integer: While processing fromUnixTimestamp64Nano('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c952cc9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:17.116581 [ 635 ] {1548dd65-d62d-4d3d-884c-92ae9470d60b} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Milli must be integer: While processing fromUnixTimestamp64Milli('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43970) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Milli('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c952cc9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:17.117551 [ 635 ] {1548dd65-d62d-4d3d-884c-92ae9470d60b} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Milli must be integer: While processing fromUnixTimestamp64Milli('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c952cc9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:17.125903 [ 635 ] {ed079830-1f85-4d8a-9101-49ede91d030a} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Micro must be integer: While processing fromUnixTimestamp64Micro('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43970) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Micro('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c952cc9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:17.126852 [ 635 ] {ed079830-1f85-4d8a-9101-49ede91d030a} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Micro must be integer: While processing fromUnixTimestamp64Micro('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c952cc9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:17.135831 [ 635 ] {59d3f290-8996-4008-a7ef-aaa30b085a30} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Nano must be integer: While processing fromUnixTimestamp64Nano('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43970) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Nano('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c952cc9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:17.136975 [ 635 ] {59d3f290-8996-4008-a7ef-aaa30b085a30} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Nano must be integer: While processing fromUnixTimestamp64Nano('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c952cc9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:38:20.100284 [ 8244 ] {31686929-daba-46aa-b816-212460de8c3f} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3EdgeAngle is out of bounds because the maximum resolution in H3 library is 15: While processing h3EdgeAngle(100). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44046) (comment: 01273_h3EdgeAngle_range_check.sql) (in query: SELECT h3EdgeAngle(100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, int&&) @ 0x1cb38368 in /usr/bin/clickhouse 6. /build/src/Functions/h3EdgeAngle.cpp:78: DB::(anonymous namespace)::FunctionH3EdgeAngle::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d5da85e in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:38:20.101633 [ 8244 ] {31686929-daba-46aa-b816-212460de8c3f} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3EdgeAngle is out of bounds because the maximum resolution in H3 library is 15: While processing h3EdgeAngle(100). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, int&&) @ 0x1cb38368 in /usr/bin/clickhouse 6. /build/src/Functions/h3EdgeAngle.cpp:78: DB::(anonymous namespace)::FunctionH3EdgeAngle::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d5da85e in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:38:21.823647 [ 8933 ] {8771a6eb-7e3b-4825-810f-ec1265140184} executeQuery: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44114) (comment: 01269_create_with_null.sql) (in query: CREATE TABLE data_null_error ( a Nullable(INT) NULL, b INT NOT NULL, c Nullable(INT) ) engine=Memory();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [49]) @ 0x1a93459e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:500: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab3ffb9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:21.824614 [ 8933 ] {8771a6eb-7e3b-4825-810f-ec1265140184} TCPHandler: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [49]) @ 0x1a93459e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:500: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab3ffb9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:21.830669 [ 8933 ] {23589764-9050-41d7-a076-f7d48a35bc98} executeQuery: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44114) (comment: 01269_create_with_null.sql) (in query: CREATE TABLE data_null_error ( a INT NULL, b Nullable(INT) NOT NULL, c Nullable(INT) ) engine=Memory();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [49]) @ 0x1a93459e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:500: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab3ffb9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:21.831532 [ 8933 ] {23589764-9050-41d7-a076-f7d48a35bc98} TCPHandler: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [49]) @ 0x1a93459e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:500: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab3ffb9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:22.040836 [ 8933 ] {1797fac0-8f8b-4611-8825-bb65a251c25e} executeQuery: Code: 43. DB::Exception: Nested type Array(UInt8) cannot be inside Nullable type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44114) (comment: 01269_create_with_null.sql) (in query: CREATE TABLE cannot_be_nullable (n Int8, a Array(UInt8)) ENGINE=Memory;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeNullable.cpp:28: DB::DataTypeNullable::DataTypeNullable(std::shared_ptr const&) @ 0x29a0fd8c in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeNullable* std::construct_at[abi:v15000] const&, DB::DataTypeNullable*>(DB::DataTypeNullable*, std::shared_ptr const&) @ 0x25fd2a46 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::DataTypeNullable*, std::shared_ptr const&) @ 0x25fd29c1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, std::shared_ptr const&) @ 0x25fd2947 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x25fd2877 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(std::shared_ptr const&) @ 0x25fd2826 in /usr/bin/clickhouse 12. /build/src/DataTypes/DataTypeNullable.cpp:86: DB::makeNullable(std::shared_ptr const&) @ 0x29a1046e in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterCreateQuery.cpp:506: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab4008b in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:22.041978 [ 8933 ] {1797fac0-8f8b-4611-8825-bb65a251c25e} TCPHandler: Code: 43. DB::Exception: Nested type Array(UInt8) cannot be inside Nullable type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeNullable.cpp:28: DB::DataTypeNullable::DataTypeNullable(std::shared_ptr const&) @ 0x29a0fd8c in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeNullable* std::construct_at[abi:v15000] const&, DB::DataTypeNullable*>(DB::DataTypeNullable*, std::shared_ptr const&) @ 0x25fd2a46 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::DataTypeNullable*, std::shared_ptr const&) @ 0x25fd29c1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, std::shared_ptr const&) @ 0x25fd2947 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x25fd2877 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(std::shared_ptr const&) @ 0x25fd2826 in /usr/bin/clickhouse 12. /build/src/DataTypes/DataTypeNullable.cpp:86: DB::makeNullable(std::shared_ptr const&) @ 0x29a1046e in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterCreateQuery.cpp:506: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab4008b in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:28.308585 [ 635 ] {02fcaf8c-2585-4915-b20f-38d0e0822327} executeQuery: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39492) (comment: 01213_alter_rename_nested.sql) (in query: ALTER TABLE table_for_rename_nested RENAME COLUMN n.renamed_x TO not_nested_x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [72]) @ 0x1bf9cdde in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1291: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b80abf6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:28.309545 [ 635 ] {02fcaf8c-2585-4915-b20f-38d0e0822327} TCPHandler: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [72]) @ 0x1bf9cdde in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1291: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b80abf6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:28.395913 [ 635 ] {9c8f9e7e-c5e8-4e8c-a4ac-5f4f779f30bb} executeQuery: Code: 48. DB::Exception: Cannot rename whole Nested struct. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39492) (comment: 01213_alter_rename_nested.sql) (in query: -- Currently not implemented ALTER TABLE table_for_rename_nested RENAME COLUMN n TO renamed_n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x19725f7e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1245: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b80a286 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:28.396796 [ 635 ] {9c8f9e7e-c5e8-4e8c-a4ac-5f4f779f30bb} TCPHandler: Code: 48. DB::Exception: Cannot rename whole Nested struct. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x19725f7e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1245: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b80a286 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:29.961055 [ 635 ] {b323e2c7-606f-4408-a52c-78b52d5ab297} executeQuery: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39536) (comment: 01213_alter_table_rename_nested.sql) (in query: ALTER TABLE table_for_rename_nested RENAME COLUMN n.renamed_x TO not_nested_x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [72]) @ 0x1bf9cdde in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1291: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b80abf6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:29.961958 [ 635 ] {b323e2c7-606f-4408-a52c-78b52d5ab297} TCPHandler: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [72]) @ 0x1bf9cdde in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1291: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b80abf6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:30.046466 [ 635 ] {e4aee8ca-b67e-4024-937f-043c11bddd26} executeQuery: Code: 36. DB::Exception: Cannot rename column from one nested name to another. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39536) (comment: 01213_alter_table_rename_nested.sql) (in query: ALTER TABLE table_for_rename_nested RENAME COLUMN n.renamed_x TO q.renamed_x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [53]) @ 0x1cb42cde in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1281: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b80aa79 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:30.047558 [ 635 ] {e4aee8ca-b67e-4024-937f-043c11bddd26} TCPHandler: Code: 36. DB::Exception: Cannot rename column from one nested name to another. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [53]) @ 0x1cb42cde in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1281: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b80aa79 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:30.054969 [ 635 ] {2dafba3a-bfba-4f8f-b157-51e476972231} executeQuery: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39536) (comment: 01213_alter_table_rename_nested.sql) (in query: ALTER TABLE table_for_rename_nested RENAME COLUMN value1 TO q.renamed_x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [72]) @ 0x1bf9cdde in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1291: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b80abf6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:30.055888 [ 635 ] {2dafba3a-bfba-4f8f-b157-51e476972231} TCPHandler: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [72]) @ 0x1bf9cdde in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1291: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b80abf6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:30.062240 [ 635 ] {6ed2ae46-2739-4318-b882-039632afe155} executeQuery: Code: 48. DB::Exception: Cannot rename whole Nested struct. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39536) (comment: 01213_alter_table_rename_nested.sql) (in query: -- Currently not implemented ALTER TABLE table_for_rename_nested RENAME COLUMN n TO renamed_n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x19725f7e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1245: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b80a286 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:30.063196 [ 635 ] {6ed2ae46-2739-4318-b882-039632afe155} TCPHandler: Code: 48. DB::Exception: Cannot rename whole Nested struct. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x19725f7e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1245: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b80a286 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:32.429302 [ 8933 ] {c6a80912-59b7-4e8b-9b34-09c1d4d3cadd} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082671 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39600) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc277b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:38:32.430571 [ 8933 ] {c6a80912-59b7-4e8b-9b34-09c1d4d3cadd} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082671 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc277b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:38:35.128493 [ 8947 ] {d7eb17be-7310-4f57-a6a2-daf2306e4d48} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082655 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39658) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc277b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:38:35.129957 [ 8947 ] {d7eb17be-7310-4f57-a6a2-daf2306e4d48} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082655 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc277b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:38:37.790431 [ 634 ] {66b5fd8b-89e3-4620-97c8-34605004cda0} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082527 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57388) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc277b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:38:37.791643 [ 634 ] {66b5fd8b-89e3-4620-97c8-34605004cda0} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082527 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc277b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:38:38.424005 [ 634 ] {} TCPHandler: Code: 164. DB::Exception: Cannot modify 'send_logs_level' setting in readonly mode. (READONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/Access/SettingsConstraints.cpp:266: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x293056bb in /usr/bin/clickhouse 7. /build/src/Access/SettingsConstraints.cpp:250: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x29305086 in /usr/bin/clickhouse 8. /build/src/Access/SettingsConstraints.cpp:162: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&) const::$_0::operator()(DB::SettingChange&) const @ 0x293061a6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__algorithm/find_if.h:25: std::__wrap_iter std::find_if[abi:v15000], DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&) const::$_0&>(std::__wrap_iter, std::__wrap_iter, DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&) const::$_0&) @ 0x2930612b in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__algorithm/remove_if.h:26: std::__wrap_iter std::remove_if, DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&) const::$_0>(std::__wrap_iter, std::__wrap_iter, DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&) const::$_0) @ 0x29306019 in /usr/bin/clickhouse 11. /build/contrib/boost/boost/range/algorithm_ext/erase.hpp:50: DB::SettingsChanges& boost::range::remove_erase_if(DB::SettingsChanges&, DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&) const::$_0) @ 0x2930527b in /usr/bin/clickhouse 12. /build/src/Access/SettingsConstraints.cpp:164: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&) const @ 0x29305215 in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1584: DB::Context::checkSettingsConstraints(DB::SettingsChanges&) const @ 0x29e78185 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1623: DB::TCPHandler::receiveQuery() @ 0x2c7b9811 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:1371: DB::TCPHandler::receivePacket() @ 0x2c7b17a8 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:273: DB::TCPHandler::runImpl() @ 0x2c7a8a81 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:38.559101 [ 8947 ] {5b6eaac4-3dce-4689-a917-d524ee6d4b2f} executeQuery: Code: 53. DB::Exception: Type mismatch for column n. Column has type String, got type UInt8. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57374) (comment: 01182_materialized_view_different_structure.sql) (in query: INSERT INTO mv SELECT toString(number + 1000) FROM numbers(1000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/StorageInMemoryMetadata.cpp:624: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x2b91a128 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:448: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79bf2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:38.560140 [ 8947 ] {5b6eaac4-3dce-4689-a917-d524ee6d4b2f} TCPHandler: Code: 53. DB::Exception: Type mismatch for column n. Column has type String, got type UInt8. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/StorageInMemoryMetadata.cpp:624: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x2b91a128 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:448: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79bf2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:38.570666 [ 8947 ] {72c53a72-a2dd-4806-a316-39fbdca33ff6} executeQuery: Code: 53. DB::Exception: Type mismatch for column n. Column has type String, got type UInt8. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57374) (comment: 01182_materialized_view_different_structure.sql) (in query: INSERT INTO mv SELECT arrayJoin(['42', 'test']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/StorageInMemoryMetadata.cpp:624: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x2b91a128 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:448: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79bf2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:38.571483 [ 8947 ] {72c53a72-a2dd-4806-a316-39fbdca33ff6} TCPHandler: Code: 53. DB::Exception: Type mismatch for column n. Column has type String, got type UInt8. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/StorageInMemoryMetadata.cpp:624: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x2b91a128 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:448: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79bf2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:38.917871 [ 8947 ] {7986045d-1f3f-498a-ac55-972ff9cfd13c} executeQuery: Code: 70. DB::Exception: Conversion from AggregateFunction(max, String) to AggregateFunction(max, Int128) is not supported: While executing Remote. (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57374) (comment: 01182_materialized_view_different_structure.sql) (in query: SELECT count(), sum(toInt64(n)), max(n), min(n) FROM dist;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3116: DB::FunctionCast::createAggregateFunctionWrapper(std::shared_ptr const&, DB::DataTypeAggregateFunction const*) const @ 0x1972124f in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:4050: DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x1971e8ae in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:3800: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x1971cb3c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:3726: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19717b4d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x1971737c in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7660 in /usr/bin/clickhouse 12. /build/src/Interpreters/castColumn.cpp:35: COW::immutable_ptr DB::castColumn<(DB::CastType)0>(DB::ColumnWithTypeAndName const&, std::shared_ptr const&) @ 0x2b30cf7d in /usr/bin/clickhouse 13. /build/src/Interpreters/castColumn.cpp:41: DB::castColumn(DB::ColumnWithTypeAndName const&, std::shared_ptr const&) @ 0x2b30cb68 in /usr/bin/clickhouse 14. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:203: DB::adaptBlockStructure(DB::Block const&, DB::Block const&) @ 0x299099d2 in /usr/bin/clickhouse 15. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:396: DB::RemoteQueryExecutor::processPacket(DB::Packet) @ 0x299079fb in /usr/bin/clickhouse 16. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:333: DB::RemoteQueryExecutor::read(std::unique_ptr>&) @ 0x29908b90 in /usr/bin/clickhouse 17. /build/src/Processors/Sources/RemoteSource.cpp:127: DB::RemoteSource::tryGenerate() @ 0x2cda3be9 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:38:38.924632 [ 1014 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:44702). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ab9546c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ab94828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c7a7fa6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 15. ? @ 0x7f2098f50609 in ? 16. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:38.925130 [ 8947 ] {7986045d-1f3f-498a-ac55-972ff9cfd13c} TCPHandler: Code: 70. DB::Exception: Conversion from AggregateFunction(max, String) to AggregateFunction(max, Int128) is not supported: While executing Remote. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3116: DB::FunctionCast::createAggregateFunctionWrapper(std::shared_ptr const&, DB::DataTypeAggregateFunction const*) const @ 0x1972124f in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:4050: DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x1971e8ae in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:3800: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x1971cb3c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:3726: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19717b4d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x1971737c in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7660 in /usr/bin/clickhouse 12. /build/src/Interpreters/castColumn.cpp:35: COW::immutable_ptr DB::castColumn<(DB::CastType)0>(DB::ColumnWithTypeAndName const&, std::shared_ptr const&) @ 0x2b30cf7d in /usr/bin/clickhouse 13. /build/src/Interpreters/castColumn.cpp:41: DB::castColumn(DB::ColumnWithTypeAndName const&, std::shared_ptr const&) @ 0x2b30cb68 in /usr/bin/clickhouse 14. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:203: DB::adaptBlockStructure(DB::Block const&, DB::Block const&) @ 0x299099d2 in /usr/bin/clickhouse 15. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:396: DB::RemoteQueryExecutor::processPacket(DB::Packet) @ 0x299079fb in /usr/bin/clickhouse 16. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:333: DB::RemoteQueryExecutor::read(std::unique_ptr>&) @ 0x29908b90 in /usr/bin/clickhouse 17. /build/src/Processors/Sources/RemoteSource.cpp:127: DB::RemoteSource::tryGenerate() @ 0x2cda3be9 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 2024.03.27 21:38:38.925227 [ 1013 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:50320). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ab9546c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ab94828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c7a7fa6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 15. ? @ 0x7f2098f50609 in ? 16. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:39.231629 [ 8933 ] {} DynamicQueryHandler: Code: 164. DB::Exception: Cannot modify 'readonly' setting in readonly mode: , while trying to set settings profile readonly: in attempt to set the value of setting 'profile' to 'readonly'. (READONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/Access/SettingsConstraints.cpp:266: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x293056bb in /usr/bin/clickhouse 7. /build/src/Access/SettingsConstraints.cpp:250: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x29305086 in /usr/bin/clickhouse 8. /build/src/Access/SettingsConstraints.cpp:148: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingChange const&) const @ 0x29304b47 in /usr/bin/clickhouse 9. /build/src/Access/SettingsConstraints.cpp:152: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&) const @ 0x293051b6 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1579: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&) const @ 0x29e74165 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1153: DB::Context::setCurrentProfile(StrongTypedef, DB::UUIDTag> const&) @ 0x29e74055 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1140: DB::Context::setCurrentProfile(String const&) @ 0x29e73f2d in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1532: DB::Context::setSetting(std::basic_string_view>, DB::Field const&) @ 0x29e77a98 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1546: DB::Context::applySettingChange(DB::SettingChange const&) @ 0x29e77c86 in /usr/bin/clickhouse 15. /build/src/Interpreters/Context.cpp:1562: DB::Context::applySettingsChanges(DB::SettingsChanges const&) @ 0x29e72c17 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:772: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7275a8 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:40.415635 [ 2750 ] {74d46a93-92a2-4194-bf7a-346d0f113c63} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082783 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57446) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc277b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:38:40.417107 [ 2750 ] {74d46a93-92a2-4194-bf7a-346d0f113c63} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082783 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc277b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:38:40.724413 [ 8933 ] {mysql:0:bb0067f2-6553-4252-9d6b-6e9982769f1c} executeQuery: Code: 60. DB::Exception: Table system.table_that_does_not_exist doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56440) (in query: select * from table_that_does_not_exist), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 18. /build/src/Server/MySQLHandler.cpp:366: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x2c77563b in /usr/bin/clickhouse 19. /build/src/Server/MySQLHandler.cpp:175: DB::MySQLHandler::run() @ 0x2c772925 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:40.725728 [ 8933 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 60. DB::Exception: Table system.table_that_does_not_exist doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 18. /build/src/Server/MySQLHandler.cpp:366: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x2c77563b in /usr/bin/clickhouse 19. /build/src/Server/MySQLHandler.cpp:175: DB::MySQLHandler::run() @ 0x2c772925 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:40.865017 [ 8933 ] {mysql:0:44fb5469-0f14-4b0d-876a-fd3bf4f3b3b8} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(number :: 0) -> throwIf(number) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56440) (in query: select throwIf(number) from numbers(2) settings max_block_size=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x20e43b83 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:107: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20e420f6 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 25. /build/src/Server/MySQLHandler.cpp:366: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x2c77563b in /usr/bin/clickhouse 26. /build/src/Server/MySQLHandler.cpp:175: DB::MySQLHandler::run() @ 0x2c772925 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 21:38:40.866703 [ 8933 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(number :: 0) -> throwIf(number) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x20e43b83 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:107: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20e420f6 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 25. /build/src/Server/MySQLHandler.cpp:366: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x2c77563b in /usr/bin/clickhouse 26. /build/src/Server/MySQLHandler.cpp:175: DB::MySQLHandler::run() @ 0x2c772925 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:40.964710 [ 8933 ] {mysql:0:eadd0bed-b79b-4b58-91be-beb146f3ae03} executeQuery: Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56440) (in query: select * from system.one format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [54]) @ 0x1fd41b3e in /usr/bin/clickhouse 6. /build/src/Server/MySQLHandler.cpp:360: DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3::operator()(DB::QueryResultDetails const&) const @ 0x2c7778a4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3&, DB::QueryResultDetails const&) @ 0x2c7777fd in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3&, DB::QueryResultDetails const&) @ 0x2c7777bd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::QueryResultDetails const&) @ 0x2c77777d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::QueryResultDetails const&) @ 0x2c777745 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::QueryResultDetails const&) const @ 0x2b36ab3e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::QueryResultDetails const&) const @ 0x2b3637dd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1333: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356e28 in /usr/bin/clickhouse 14. /build/src/Server/MySQLHandler.cpp:366: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x2c77563b in /usr/bin/clickhouse 15. /build/src/Server/MySQLHandler.cpp:175: DB::MySQLHandler::run() @ 0x2c772925 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:40.966386 [ 8933 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [54]) @ 0x1fd41b3e in /usr/bin/clickhouse 6. /build/src/Server/MySQLHandler.cpp:360: DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3::operator()(DB::QueryResultDetails const&) const @ 0x2c7778a4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3&, DB::QueryResultDetails const&) @ 0x2c7777fd in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3&, DB::QueryResultDetails const&) @ 0x2c7777bd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::QueryResultDetails const&) @ 0x2c77777d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::QueryResultDetails const&) @ 0x2c777745 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::QueryResultDetails const&) const @ 0x2b36ab3e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::QueryResultDetails const&) const @ 0x2b3637dd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1333: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356e28 in /usr/bin/clickhouse 14. /build/src/Server/MySQLHandler.cpp:366: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x2c77563b in /usr/bin/clickhouse 15. /build/src/Server/MySQLHandler.cpp:175: DB::MySQLHandler::run() @ 0x2c772925 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:40.974365 [ 8933 ] {mysql:0:9ce43c55-3a59-4894-a223-cb148c756dac} executeQuery: Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56440) (in query: select * from system.one format JSON), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [54]) @ 0x1fd41b3e in /usr/bin/clickhouse 6. /build/src/Server/MySQLHandler.cpp:360: DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3::operator()(DB::QueryResultDetails const&) const @ 0x2c7778a4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3&, DB::QueryResultDetails const&) @ 0x2c7777fd in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3&, DB::QueryResultDetails const&) @ 0x2c7777bd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::QueryResultDetails const&) @ 0x2c77777d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::QueryResultDetails const&) @ 0x2c777745 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::QueryResultDetails const&) const @ 0x2b36ab3e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::QueryResultDetails const&) const @ 0x2b3637dd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1333: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356e28 in /usr/bin/clickhouse 14. /build/src/Server/MySQLHandler.cpp:366: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x2c77563b in /usr/bin/clickhouse 15. /build/src/Server/MySQLHandler.cpp:175: DB::MySQLHandler::run() @ 0x2c772925 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:40.975853 [ 8933 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [54]) @ 0x1fd41b3e in /usr/bin/clickhouse 6. /build/src/Server/MySQLHandler.cpp:360: DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3::operator()(DB::QueryResultDetails const&) const @ 0x2c7778a4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3&, DB::QueryResultDetails const&) @ 0x2c7777fd in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3&, DB::QueryResultDetails const&) @ 0x2c7777bd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::QueryResultDetails const&) @ 0x2c77777d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::QueryResultDetails const&) @ 0x2c777745 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::QueryResultDetails const&) const @ 0x2b36ab3e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::QueryResultDetails const&) const @ 0x2b3637dd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1333: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356e28 in /usr/bin/clickhouse 14. /build/src/Server/MySQLHandler.cpp:366: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x2c77563b in /usr/bin/clickhouse 15. /build/src/Server/MySQLHandler.cpp:175: DB::MySQLHandler::run() @ 0x2c772925 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:42.418411 [ 3331 ] {4c1e9eb6-cfd9-4e24-84ae-24b23d518446} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57498) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY RIGHT JOIN t0 USING (x) ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:42.419535 [ 3331 ] {4c1e9eb6-cfd9-4e24-84ae-24b23d518446} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:42.534483 [ 3331 ] {f5322da6-5788-4dfc-a3d4-e0af3ea092a8} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57498) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY FULL JOIN t0 USING (x) ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x1972623e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2339c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2303b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:42.535727 [ 3331 ] {f5322da6-5788-4dfc-a3d4-e0af3ea092a8} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x1972623e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2339c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2303b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:42.649095 [ 3331 ] {133d3f26-62a4-463b-90fb-7251a3be0e7c} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57498) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY RIGHT JOIN t0 ON t1.x = t0.x ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:42.650180 [ 3331 ] {133d3f26-62a4-463b-90fb-7251a3be0e7c} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:42.661873 [ 3331 ] {2a691e01-3b21-4556-adfe-bc90f38e3f11} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57498) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY FULL JOIN t0 ON t1.x = t0.x ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x1972623e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2339c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2303b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:42.663062 [ 3331 ] {2a691e01-3b21-4556-adfe-bc90f38e3f11} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x1972623e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2339c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2303b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:42.778725 [ 3331 ] {b1ec2034-1fa5-42eb-b5c3-22b0d8bf75b1} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57498) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY RIGHT JOIN t1 USING (x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:42.779803 [ 3331 ] {b1ec2034-1fa5-42eb-b5c3-22b0d8bf75b1} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:42.789734 [ 3331 ] {444c9554-f110-4905-a03f-5a32e3ba7abb} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57498) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY FULL JOIN t1 USING (x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x1972623e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2339c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2303b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:42.790813 [ 3331 ] {444c9554-f110-4905-a03f-5a32e3ba7abb} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x1972623e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2339c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2303b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:42.860574 [ 635 ] {5eb6833c-1f74-4360-94f6-ab19d64e6327} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 10.000401509 seconds, maximum: 10. (TIMEOUT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43000) (comment: 01249_flush_interactive.sh) (in query: SELECT DISTINCT number % 5 FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29904a0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29903e93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x29903da8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2af435d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:42.862026 [ 635 ] {5eb6833c-1f74-4360-94f6-ab19d64e6327} DynamicQueryHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 10.000401509 seconds, maximum: 10. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29904a0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29903e93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x29903da8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2af435d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:42.863216 [ 635 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x31ded3c7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x31df1507 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x31c1bc0d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:923: Poco::Net::SocketImpl::error(int) @ 0x31c1c2a4 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:299: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x31c1ce3f in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x31c24ade in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x31c20932 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:152: Poco::Net::HTTPSession::write(char const*, long) @ 0x31bfb24e in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:57: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x31bea68d in /usr/bin/clickhouse 12. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x31beb05a in /usr/bin/clickhouse 13. /build/base/poco/Net/src/HTTPChunkedStream.cpp:236: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31beb7e1 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31beb820 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c7d070d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c7d06b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x2c7d0699 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x2c7d050e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x196b69d4 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x196b6979 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x2c733fec in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x2c7cab5b in /usr/bin/clickhouse 23. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x2c7ca698 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:42.906138 [ 3331 ] {307d1b8c-2d17-4b7e-b7ae-cd49bc08145d} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57498) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY RIGHT JOIN t1 ON t1.x = t0.x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:42.907628 [ 3331 ] {307d1b8c-2d17-4b7e-b7ae-cd49bc08145d} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:42.919967 [ 3331 ] {744c5bae-c647-4ae2-b7aa-c48654f6318b} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57498) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY FULL JOIN t1 ON t1.x = t0.x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x1972623e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2339c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2303b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:42.921282 [ 3331 ] {744c5bae-c647-4ae2-b7aa-c48654f6318b} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x1972623e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2339c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2303b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:43.052483 [ 3331 ] {8694aeb4-1d00-4982-b247-ef480c3dfc9b} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57498) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY RIGHT JOIN t0 USING (x) ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:43.053616 [ 3331 ] {8694aeb4-1d00-4982-b247-ef480c3dfc9b} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:43.063187 [ 3331 ] {3b90c38f-55c6-40ef-99a3-16c5fc81cdef} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57498) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY FULL JOIN t0 USING (x) ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x1972623e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2339c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2303b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:43.064236 [ 3331 ] {3b90c38f-55c6-40ef-99a3-16c5fc81cdef} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x1972623e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2339c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2303b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:43.107529 [ 18229 ] {2ff11e3e-3a24-487d-a3b4-72b2400901ce} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082655 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57554) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc277b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:38:43.108967 [ 18229 ] {2ff11e3e-3a24-487d-a3b4-72b2400901ce} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082655 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc277b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:38:43.285258 [ 3331 ] {f2b437fc-0fda-4b03-8c78-e71e51252e75} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57498) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY RIGHT JOIN t0 ON t1.x = t0.x ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:43.286575 [ 3331 ] {f2b437fc-0fda-4b03-8c78-e71e51252e75} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:43.296650 [ 3331 ] {530d4e38-ced4-4e3a-9219-7926e4e5f8db} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57498) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY FULL JOIN t0 ON t1.x = t0.x ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x1972623e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2339c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2303b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:43.298219 [ 3331 ] {530d4e38-ced4-4e3a-9219-7926e4e5f8db} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x1972623e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2339c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2303b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:43.478182 [ 3331 ] {49aadf4c-30c3-44eb-b423-9e931e4dde35} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57498) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY RIGHT JOIN t1 USING (x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:43.479206 [ 3331 ] {49aadf4c-30c3-44eb-b423-9e931e4dde35} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:43.488147 [ 3331 ] {1a6438aa-e5e0-4c09-aa49-1cb5b0b1e513} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57498) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY FULL JOIN t1 USING (x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x1972623e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2339c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2303b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:43.489154 [ 3331 ] {1a6438aa-e5e0-4c09-aa49-1cb5b0b1e513} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x1972623e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2339c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2303b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:43.608230 [ 3331 ] {e6be13e0-2197-45af-b3d3-413f212a64e5} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57498) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY RIGHT JOIN t1 ON t1.x = t0.x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:43.609555 [ 3331 ] {e6be13e0-2197-45af-b3d3-413f212a64e5} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a05ba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03d14d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:43.619513 [ 3331 ] {7a6777d0-27c0-471a-a9a1-737e784aec80} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57498) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY FULL JOIN t1 ON t1.x = t0.x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x1972623e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2339c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2303b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:43.620961 [ 3331 ] {7a6777d0-27c0-471a-a9a1-737e784aec80} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x1972623e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2339c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2303b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:44.900046 [ 8960 ] {b1a74f25-649d-416e-993b-a38a13c8b46a} executeQuery: Code: 169. DB::Exception: ASOF join not supported for type: String. (BAD_TYPE_OF_FIELD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57588) (comment: 01139_asof_join_types.sql) (in query: select * from (select 0 as k, 'x' as v) t1 asof join (select 0 as k, 'x' as v) t2 using(k, v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/RowRefs.cpp:267: DB::SortedLookupVectorBase::getTypeSize(DB::IColumn const&, unsigned long&) @ 0x2af6d544 in /usr/bin/clickhouse 7. /build/src/Interpreters/HashJoin.cpp:276: DB::HashJoin::HashJoin(std::shared_ptr, DB::Block const&, bool) @ 0x2a5fb2cc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::HashJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::HashJoin*>(DB::HashJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05d502 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::HashJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05d2a9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a05cfaf in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a05ce22 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a05b4ce in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionAnalyzer.cpp:1055: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03cac6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 2024.03.27 21:38:44.901513 [ 8960 ] {b1a74f25-649d-416e-993b-a38a13c8b46a} TCPHandler: Code: 169. DB::Exception: ASOF join not supported for type: String. (BAD_TYPE_OF_FIELD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/RowRefs.cpp:267: DB::SortedLookupVectorBase::getTypeSize(DB::IColumn const&, unsigned long&) @ 0x2af6d544 in /usr/bin/clickhouse 7. /build/src/Interpreters/HashJoin.cpp:276: DB::HashJoin::HashJoin(std::shared_ptr, DB::Block const&, bool) @ 0x2a5fb2cc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::HashJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::HashJoin*>(DB::HashJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05d502 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::HashJoin*, std::shared_ptr&, DB::Block&) @ 0x2a05d2a9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a05cfaf in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a05ce22 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a05b4ce in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionAnalyzer.cpp:1055: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a03cac6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a039df0 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a03937c in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a04373d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 2024.03.27 21:38:45.752687 [ 1012 ] {b4635fd8-8a51-458f-b182-64389dcca7ed} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082783 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35752) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc277b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:38:45.754492 [ 1012 ] {b4635fd8-8a51-458f-b182-64389dcca7ed} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082783 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc277b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:38:46.257428 [ 1012 ] {ed41b8e0-9fdf-4960-aef9-f19a6844f1e9} executeQuery: Code: 158. DB::Exception: Limit for rows to GROUP BY exceeded: has 11 rows, maximum: 10: While executing AggregatingTransform. (TOO_MANY_ROWS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35778) (comment: 01134_max_rows_to_group_by.sql) (in query: SELECT 'test1', number FROM system.numbers GROUP BY number;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x1a92334c in /usr/bin/clickhouse 6. /build/src/Interpreters/Aggregator.cpp:1804: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a09a86d in /usr/bin/clickhouse 7. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0ab11c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:46.259355 [ 1012 ] {ed41b8e0-9fdf-4960-aef9-f19a6844f1e9} TCPHandler: Code: 158. DB::Exception: Limit for rows to GROUP BY exceeded: has 11 rows, maximum: 10: While executing AggregatingTransform. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x1a92334c in /usr/bin/clickhouse 6. /build/src/Interpreters/Aggregator.cpp:1804: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a09a86d in /usr/bin/clickhouse 7. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0ab11c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:46.427345 [ 3331 ] {491f21d2-c9b3-4b01-8c75-54785846c51e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 100.00, current rows: 19.34 thousand. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35784) (comment: 01131_max_rows_to_sort.sql) (in query: SELECT * FROM system.numbers ORDER BY number;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x29925268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x29924d8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299250d9 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x2cc727bc in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:38:46.533320 [ 1012 ] {bed4c0af-452f-4d7c-bbc7-f30a0472f810} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 500.00, current rows: 1.00 thousand: While executing Numbers. (TOO_MANY_ROWS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35778) (comment: 01134_max_rows_to_group_by.sql) (in query: SELECT 'test4', number FROM numbers(1000) GROUP BY number ORDER BY number;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x29925268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x29924d8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x2990204a in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8516dc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:46.534166 [ 3331 ] {491f21d2-c9b3-4b01-8c75-54785846c51e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 100.00, current rows: 19.34 thousand. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x29925268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x29924d8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299250d9 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x2cc727bc in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:38:46.536505 [ 1012 ] {bed4c0af-452f-4d7c-bbc7-f30a0472f810} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 500.00, current rows: 1.00 thousand: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x29925268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x29924d8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x2990204a in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8516dc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:48.393947 [ 18229 ] {08258599-5189-43ae-ae16-8a621500931a} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082783 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35866) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc277b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:38:48.395475 [ 18229 ] {08258599-5189-43ae-ae16-8a621500931a} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082783 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc277b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:38:49.350287 [ 18229 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:711: DB::IAccessStorage::throwInvalidCredentials() @ 0x29222311 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:494: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922203d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b0906a9 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c7b0f75 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c7a6944 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:49.351581 [ 18229 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b0906a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c7b0f75 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c7a6944 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:49.480983 [ 8960 ] {5f2ac90f-fd57-4488-8ce3-7c953ea24144} executeQuery: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b0906a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c7b0f75 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c7a6944 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? . (AUTHENTICATION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35870) (comment: 01119_session_log.sql) (in query: SELECT * FROM remote('127.0.0.2', system, one, 'default', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x221f0ba2 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c62d3f9 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:338: DB::Connection::receiveHello() @ 0x2c62cfc3 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:172: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x2c62bb49 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x2c62d793 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:43: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x2c65cdcf in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:138: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x2c65eaeb in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c660ec8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c660e88 in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:140: boost::context::detail::fiber_record::run(void*) @ 0x2c660dbe in /usr/bin/clickhouse 16. /build/contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x2c660c5d in /usr/bin/clickhouse 2024.03.27 21:38:49.482563 [ 8960 ] {5f2ac90f-fd57-4488-8ce3-7c953ea24144} TCPHandler: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b0906a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c7b0f75 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c7a6944 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x221f0ba2 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c62d3f9 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:338: DB::Connection::receiveHello() @ 0x2c62cfc3 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:172: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x2c62bb49 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x2c62d793 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:43: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x2c65cdcf in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:138: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x2c65eaeb in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c660ec8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c660e88 in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:140: boost::context::detail::fiber_record::run(void*) @ 0x2c660dbe in /usr/bin/clickhouse 16. /build/contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x2c660c5d in /usr/bin/clickhouse 2024.03.27 21:38:49.755221 [ 18229 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: nonexistsnt_user_1119: Authentication failed: Code: 192. DB::Exception: There is no user `nonexistsnt_user_1119` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x2921f479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922209d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b0906a9 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c7b0f75 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c7a6944 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:49.756294 [ 18229 ] {} ServerErrorHandler: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b0906a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c7b0f75 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c7a6944 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:49.823988 [ 8960 ] {6be44ac7-044a-49cd-bf63-02cb32be8815} executeQuery: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b0906a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c7b0f75 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c7a6944 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? . (AUTHENTICATION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35870) (comment: 01119_session_log.sql) (in query: SELECT * FROM remote('127.0.0.2', system, one, 'nonexistsnt_user_1119', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x221f0ba2 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c62d3f9 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:338: DB::Connection::receiveHello() @ 0x2c62cfc3 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:172: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x2c62bb49 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x2c62d793 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:43: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x2c65cdcf in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:138: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x2c65eaeb in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c660ec8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c660e88 in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:140: boost::context::detail::fiber_record::run(void*) @ 0x2c660dbe in /usr/bin/clickhouse 16. /build/contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x2c660c5d in /usr/bin/clickhouse 2024.03.27 21:38:49.825195 [ 8960 ] {6be44ac7-044a-49cd-bf63-02cb32be8815} TCPHandler: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b0906a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c7b0f75 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c7a6944 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x221f0ba2 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c62d3f9 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:338: DB::Connection::receiveHello() @ 0x2c62cfc3 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:172: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x2c62bb49 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x2c62d793 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:43: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x2c65cdcf in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:138: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x2c65eaeb in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c660ec8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c660e88 in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:140: boost::context::detail::fiber_record::run(void*) @ 0x2c660dbe in /usr/bin/clickhouse 16. /build/contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x2c660c5d in /usr/bin/clickhouse 2024.03.27 21:38:51.060183 [ 8244 ] {ef2e67ea-d807-4600-a78c-c87ce7cce660} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082815 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35970) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc277b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:38:51.062032 [ 8244 ] {ef2e67ea-d807-4600-a78c-c87ce7cce660} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082815 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc277b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:38:51.100700 [ 8960 ] {3b16c083-02a0-4ab7-b235-898fced5273e} HedgedConnectionsFactory: Connection failed at try №1, reason: Timeout exceeded while reading from socket (127.0.0.2:9000, receive timeout 1000 ms) 2024.03.27 21:38:52.101694 [ 8960 ] {3b16c083-02a0-4ab7-b235-898fced5273e} HedgedConnectionsFactory: Connection failed at try №2, reason: Timeout exceeded while reading from socket (127.0.0.2:9000, receive timeout 1000 ms) 2024.03.27 21:38:53.102858 [ 8960 ] {3b16c083-02a0-4ab7-b235-898fced5273e} HedgedConnectionsFactory: Connection failed at try №3, reason: Timeout exceeded while reading from socket (127.0.0.2:9000, receive timeout 1000 ms) 2024.03.27 21:38:53.230823 [ 8960 ] {3b16c083-02a0-4ab7-b235-898fced5273e} executeQuery: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Timeout exceeded while reading from socket (127.0.0.2:9000, receive timeout 1000 ms) Timeout exceeded while reading from socket (127.0.0.2:9000, receive timeout 1000 ms) Timeout exceeded while reading from socket (127.0.0.2:9000, receive timeout 1000 ms) . (ALL_CONNECTION_TRIES_FAILED) (version 23.3.19.34.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35870) (comment: 01119_session_log.sql) (in query: SELECT * FROM remote('127.0.0.2', system, one, ' INTERSERVER SECRET ', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x2bbf7773 in /usr/bin/clickhouse 6. /build/src/Storages/getStructureOfRemoteTable.cpp:158: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x2bbf6316 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionRemote.cpp:321: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr) const @ 0x28c931fa in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:281: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c92702 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:53.231972 [ 8960 ] {3b16c083-02a0-4ab7-b235-898fced5273e} TCPHandler: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Timeout exceeded while reading from socket (127.0.0.2:9000, receive timeout 1000 ms) Timeout exceeded while reading from socket (127.0.0.2:9000, receive timeout 1000 ms) Timeout exceeded while reading from socket (127.0.0.2:9000, receive timeout 1000 ms) . (ALL_CONNECTION_TRIES_FAILED) (version 23.3.19.34.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x2bbf7773 in /usr/bin/clickhouse 6. /build/src/Storages/getStructureOfRemoteTable.cpp:158: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x2bbf6316 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionRemote.cpp:321: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr) const @ 0x28c931fa in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:281: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c92702 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:53.562539 [ 18229 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: : Authentication failed: Code: 192. DB::Exception: There is no user ` ` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x2921f479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922209d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b0906a9 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c7b0f75 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c7a6944 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:53.563592 [ 18229 ] {} ServerErrorHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b0906a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c7b0f75 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c7a6944 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:53.626712 [ 8960 ] {f4160a2b-0278-4efc-b048-658e29329e66} executeQuery: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b0906a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c7b0f75 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c7a6944 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? . (AUTHENTICATION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35870) (comment: 01119_session_log.sql) (in query: SELECT * FROM remote('127.0.0.2', system, one, ' ', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x221f0ba2 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c62d3f9 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:338: DB::Connection::receiveHello() @ 0x2c62cfc3 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:172: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x2c62bb49 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x2c62d793 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:43: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x2c65cdcf in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:138: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x2c65eaeb in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c660ec8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c660e88 in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:140: boost::context::detail::fiber_record::run(void*) @ 0x2c660dbe in /usr/bin/clickhouse 16. /build/contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x2c660c5d in /usr/bin/clickhouse 2024.03.27 21:38:53.627776 [ 8960 ] {f4160a2b-0278-4efc-b048-658e29329e66} TCPHandler: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b0906a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c7b0f75 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c7a6944 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x221f0ba2 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c62d3f9 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:338: DB::Connection::receiveHello() @ 0x2c62cfc3 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:172: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x2c62bb49 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x2c62d793 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:43: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x2c65cdcf in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:138: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x2c65eaeb in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c660ec8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c660e88 in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:140: boost::context::detail::fiber_record::run(void*) @ 0x2c660dbe in /usr/bin/clickhouse 16. /build/contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x2c660c5d in /usr/bin/clickhouse 2024.03.27 21:38:53.784620 [ 8929 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:711: DB::IAccessStorage::throwInvalidCredentials() @ 0x29222311 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:494: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922203d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:53.785535 [ 8929 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:53.788921 [ 8929 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:711: DB::IAccessStorage::throwInvalidCredentials() @ 0x29222311 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:494: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922203d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:53.789777 [ 8929 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:53.793523 [ 8929 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:711: DB::IAccessStorage::throwInvalidCredentials() @ 0x29222311 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:494: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922203d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:53.794246 [ 8929 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:53.947930 [ 18229 ] {9700b1cc-c38b-482f-a5f3-0c29223cf408} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082783 bytes), maximum: 2.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36014) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc277b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:38:53.948044 [ 9463 ] {7e8c5690-36d1-4ca8-b748-af0f377981b2} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=default&password=wrong. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) . (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x224b09a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224aa56b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224b0771 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x224aa40b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x224aa226 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x26145046 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261433dd in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x2614021d in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x2613af74 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x221f1496 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9d9c8c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932c5b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932bf5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932b95 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c932b1d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2ca1e9bc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2ca19bf5 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca18143 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2ca1f2ea in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2ca1f23e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2ca1f0dd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2ca1efb2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2ca1ef15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2ca1eef5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2ca1eed5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2ca1eea0 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:53.949734 [ 18229 ] {9700b1cc-c38b-482f-a5f3-0c29223cf408} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082783 bytes), maximum: 2.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc277b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:38:53.950656 [ 8960 ] {7e8c5690-36d1-4ca8-b748-af0f377981b2} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=default&password=wrong. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35870) (comment: 01119_session_log.sql) (in query: select * from url('http://127.0.0.1:8123/?query=select+1&user=default&password=wrong', LineAsString, 's String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x224b09a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224aa56b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224b0771 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x224aa40b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x224aa226 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x26145046 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261433dd in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x2614021d in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x2613af74 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x221f1496 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9d9c8c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932c5b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932bf5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932b95 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c932b1d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2ca1e9bc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2ca19bf5 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca18143 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2ca1f2ea in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2ca1f23e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2ca1f0dd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2ca1efb2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2ca1ef15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2ca1eef5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2ca1eed5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2ca1eea0 in /usr/bin/clickhouse 2024.03.27 21:38:53.952618 [ 8960 ] {7e8c5690-36d1-4ca8-b748-af0f377981b2} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=default&password=wrong. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x224b09a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224aa56b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224b0771 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x224aa40b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x224aa226 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x26145046 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261433dd in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x2614021d in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x2613af74 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x221f1496 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9d9c8c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932c5b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932bf5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932b95 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c932b1d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2ca1e9bc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2ca19bf5 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca18143 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2ca1f2ea in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2ca1f23e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2ca1f0dd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2ca1efb2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2ca1ef15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2ca1eef5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2ca1eed5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2ca1eea0 in /usr/bin/clickhouse 2024.03.27 21:38:53.965740 [ 8929 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: nonexistsnt_user_1119: Authentication failed: Code: 192. DB::Exception: There is no user `nonexistsnt_user_1119` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x2921f479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922209d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:53.966755 [ 8929 ] {} DynamicQueryHandler: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:53.970208 [ 8929 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: nonexistsnt_user_1119: Authentication failed: Code: 192. DB::Exception: There is no user `nonexistsnt_user_1119` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x2921f479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922209d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:53.971397 [ 8929 ] {} DynamicQueryHandler: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:53.978166 [ 8929 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: nonexistsnt_user_1119: Authentication failed: Code: 192. DB::Exception: There is no user `nonexistsnt_user_1119` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x2921f479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922209d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:53.979200 [ 8929 ] {} DynamicQueryHandler: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:53.980556 [ 8184 ] {925813e7-15a2-40f2-a66d-6e66086da7e9} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=nonexistsnt_user_1119. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) . (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x224b09a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224aa56b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224b0771 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x224aa40b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x224aa226 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x26145046 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261433dd in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x2614021d in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x2613af74 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x221f1496 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9d9c8c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932c5b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932bf5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932b95 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c932b1d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2ca1e9bc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2ca19bf5 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca18143 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2ca1f2ea in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2ca1f23e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2ca1f0dd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2ca1efb2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2ca1ef15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2ca1eef5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2ca1eed5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2ca1eea0 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:53.982937 [ 8960 ] {925813e7-15a2-40f2-a66d-6e66086da7e9} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=nonexistsnt_user_1119. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35870) (comment: 01119_session_log.sql) (in query: select * from url('http://127.0.0.1:8123/?query=select+1&user=nonexistsnt_user_1119', LineAsString, 's String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x224b09a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224aa56b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224b0771 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x224aa40b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x224aa226 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x26145046 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261433dd in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x2614021d in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x2613af74 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x221f1496 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9d9c8c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932c5b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932bf5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932b95 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c932b1d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2ca1e9bc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2ca19bf5 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca18143 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2ca1f2ea in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2ca1f23e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2ca1f0dd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2ca1efb2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2ca1ef15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2ca1eef5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2ca1eed5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2ca1eea0 in /usr/bin/clickhouse 2024.03.27 21:38:53.984753 [ 8960 ] {925813e7-15a2-40f2-a66d-6e66086da7e9} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=nonexistsnt_user_1119. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x224b09a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224aa56b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224b0771 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x224aa40b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x224aa226 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x26145046 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261433dd in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x2614021d in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x2613af74 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x221f1496 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9d9c8c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932c5b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932bf5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932b95 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c932b1d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2ca1e9bc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2ca19bf5 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca18143 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2ca1f2ea in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2ca1f23e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2ca1f0dd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2ca1efb2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2ca1ef15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2ca1eef5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2ca1eed5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2ca1eea0 in /usr/bin/clickhouse 2024.03.27 21:38:53.998511 [ 8929 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: INTERSERVER SECRET : Authentication failed: Code: 192. DB::Exception: There is no user ` INTERSERVER SECRET ` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x2921f479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922209d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:53.999630 [ 8929 ] {} DynamicQueryHandler: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:54.003795 [ 8949 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: INTERSERVER SECRET : Authentication failed: Code: 192. DB::Exception: There is no user ` INTERSERVER SECRET ` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x2921f479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922209d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:54.004917 [ 8949 ] {} DynamicQueryHandler: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:54.010430 [ 8929 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: INTERSERVER SECRET : Authentication failed: Code: 192. DB::Exception: There is no user ` INTERSERVER SECRET ` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x2921f479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922209d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:54.011834 [ 8929 ] {} DynamicQueryHandler: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:54.013446 [ 9764 ] {8eeefc77-8333-4fe7-a663-7ba81ca3b944} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+INTERSERVER+SECRET+. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) . (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x224b09a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224aa56b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224b0771 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x224aa40b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x224aa226 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x26145046 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261433dd in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x2614021d in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x2613af74 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x221f1496 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9d9c8c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932c5b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932bf5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932b95 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c932b1d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2ca1e9bc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2ca19bf5 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca18143 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2ca1f2ea in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2ca1f23e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2ca1f0dd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2ca1efb2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2ca1ef15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2ca1eef5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2ca1eed5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2ca1eea0 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:54.016487 [ 8960 ] {8eeefc77-8333-4fe7-a663-7ba81ca3b944} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+INTERSERVER+SECRET+. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35870) (comment: 01119_session_log.sql) (in query: select * from url('http://127.0.0.1:8123/?query=select+1&user=+INTERSERVER+SECRET+', LineAsString, 's String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x224b09a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224aa56b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224b0771 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x224aa40b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x224aa226 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x26145046 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261433dd in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x2614021d in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x2613af74 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x221f1496 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9d9c8c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932c5b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932bf5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932b95 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c932b1d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2ca1e9bc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2ca19bf5 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca18143 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2ca1f2ea in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2ca1f23e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2ca1f0dd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2ca1efb2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2ca1ef15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2ca1eef5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2ca1eed5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2ca1eea0 in /usr/bin/clickhouse 2024.03.27 21:38:54.020355 [ 8960 ] {8eeefc77-8333-4fe7-a663-7ba81ca3b944} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+INTERSERVER+SECRET+. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x224b09a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224aa56b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224b0771 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x224aa40b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x224aa226 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x26145046 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261433dd in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x2614021d in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x2613af74 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x221f1496 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9d9c8c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932c5b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932bf5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932b95 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c932b1d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2ca1e9bc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2ca19bf5 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca18143 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2ca1f2ea in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2ca1f23e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2ca1f0dd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2ca1efb2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2ca1ef15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2ca1eef5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2ca1eed5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2ca1eea0 in /usr/bin/clickhouse 2024.03.27 21:38:54.037067 [ 8929 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: : Authentication failed: Code: 192. DB::Exception: There is no user ` ` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x2921f479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922209d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:54.038134 [ 8929 ] {} DynamicQueryHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:54.041721 [ 8929 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: : Authentication failed: Code: 192. DB::Exception: There is no user ` ` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x2921f479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922209d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:54.042803 [ 8929 ] {} DynamicQueryHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:54.047134 [ 8929 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: : Authentication failed: Code: 192. DB::Exception: There is no user ` ` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x2921f479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922209d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:54.048148 [ 8929 ] {} DynamicQueryHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:54.049664 [ 9452 ] {579b2040-74d5-47ae-8c52-de5079c4d5e1} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+++. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) . (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x224b09a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224aa56b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224b0771 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x224aa40b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x224aa226 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x26145046 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261433dd in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x2614021d in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x2613af74 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x221f1496 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9d9c8c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932c5b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932bf5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932b95 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c932b1d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2ca1e9bc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2ca19bf5 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca18143 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2ca1f2ea in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2ca1f23e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2ca1f0dd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2ca1efb2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2ca1ef15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2ca1eef5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2ca1eed5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2ca1eea0 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:54.052078 [ 8960 ] {579b2040-74d5-47ae-8c52-de5079c4d5e1} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+++. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35870) (comment: 01119_session_log.sql) (in query: select * from url('http://127.0.0.1:8123/?query=select+1&user=+++', LineAsString, 's String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x224b09a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224aa56b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224b0771 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x224aa40b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x224aa226 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x26145046 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261433dd in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x2614021d in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x2613af74 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x221f1496 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9d9c8c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932c5b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932bf5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932b95 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c932b1d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2ca1e9bc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2ca19bf5 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca18143 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2ca1f2ea in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2ca1f23e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2ca1f0dd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2ca1efb2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2ca1ef15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2ca1eef5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2ca1eed5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2ca1eea0 in /usr/bin/clickhouse 2024.03.27 21:38:54.054019 [ 8960 ] {579b2040-74d5-47ae-8c52-de5079c4d5e1} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+++. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x224b09a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224aa56b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x224b0771 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x224aa40b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x224aa226 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x26145046 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261433dd in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x2614021d in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x2613af74 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x221f1496 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9d9c8c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932c5b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932bf5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c932b95 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c932b1d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2ca1e9bc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2ca19bf5 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca18143 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2ca1f2ea in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2ca1f23e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2ca1f0dd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2ca1efb2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2ca1ef15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2ca1eef5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2ca1eed5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2ca1eea0 in /usr/bin/clickhouse 2024.03.27 21:38:55.428282 [ 6021 ] {665b323f-afee-44ff-a9af-4cb95af3bd44} executeQuery: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43776) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_udsh4tct.rmt_26667_32723_7929 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 40692, min_bytes_for_wide_part = 586054029, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 17259, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2072906218, index_granularity_bytes = 13350717), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x196bd97e in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x22168804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c567116 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:419: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c563881 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:55.507253 [ 1013 ] {ac9a8e9e-796f-40f0-82bf-bfc3c4b23291} executeQuery: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43804) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: system sync database replica test_udsh4tct), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [83]) @ 0x1a13481e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:946: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2ae9629a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf38 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:55.507753 [ 6021 ] {665b323f-afee-44ff-a9af-4cb95af3bd44} TCPHandler: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x196bd97e in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x22168804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c567116 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:419: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c563881 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:55.508961 [ 1013 ] {ac9a8e9e-796f-40f0-82bf-bfc3c4b23291} TCPHandler: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [83]) @ 0x1a13481e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:946: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2ae9629a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf38 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:56.745735 [ 2750 ] {d3eb006d-2dfb-41ec-82dc-320b4e6aaa33} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.06 MiB (attempt to allocate chunk of 1049183 bytes), maximum: 4.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43868) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageStripeLog.cpp:497: DB::StorageStripeLog::saveFileSizes(std::unique_lock const&) @ 0x2bc1e358 in /usr/bin/clickhouse 21. /build/src/Storages/StorageStripeLog.cpp:184: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27a2f in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 27. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:38:56.872734 [ 1014 ] {2447e47b-b0dd-46b4-b462-c1544151218f} executeQuery: Code: 352. DB::Exception: Block structure mismatch in (columns with identical name must have identical structure) stream: different values of constants in column '1': actual: 1, expected: 3. (AMBIGUOUS_COLUMN_NAME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43848) (comment: 01101_literal_column_clash.sql) (in query: with 3 as "1" select 1, "1";), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&, String const&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String const&, String&&, String&&) @ 0x295044c4 in /usr/bin/clickhouse 6. /build/src/Core/Block.cpp:38: void DB::onError>&, String const&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String const&, String&&, String&&) @ 0x294fb9b7 in /usr/bin/clickhouse 7. /build/src/Core/Block.cpp:99: void DB::checkColumnStructure(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&, std::basic_string_view>, bool, int) @ 0x294f5eab in /usr/bin/clickhouse 8. /build/src/Core/Block.cpp:0: DB::Block::insert(DB::ColumnWithTypeAndName) @ 0x294f6113 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionActions.cpp:441: DB::ExpressionActions::linearizeActions(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x2a00a460 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionActions.cpp:65: DB::ExpressionActions::ExpressionActions(std::shared_ptr, DB::ExpressionActionsSettings const&) @ 0x2a009077 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::ExpressionActions* std::construct_at[abi:v15000]&, DB::ExpressionActionsSettings const&, DB::ExpressionActions*>(DB::ExpressionActions*, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c35891f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::ExpressionActionsSettings const&, void, void>(std::allocator&, DB::ExpressionActions*, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c358889 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::ExpressionActionsSettings const&>(std::allocator, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c35880f in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::ExpressionActionsSettings const&, void>(std::allocator const&, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c358722 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::ExpressionActionsSettings const&, void>(std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c353fce in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:39: DB::ExpressionStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2ceb84e7 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced67dc in /usr/bin/clickhouse 18. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:56.873126 [ 2750 ] {d3eb006d-2dfb-41ec-82dc-320b4e6aaa33} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.06 MiB (attempt to allocate chunk of 1049183 bytes), maximum: 4.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageStripeLog.cpp:497: DB::StorageStripeLog::saveFileSizes(std::unique_lock const&) @ 0x2bc1e358 in /usr/bin/clickhouse 21. /build/src/Storages/StorageStripeLog.cpp:184: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27a2f in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc27634 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc273f1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc270f7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc26f6a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc21a36 in /usr/bin/clickhouse 27. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc1d839 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:38:56.873902 [ 1014 ] {2447e47b-b0dd-46b4-b462-c1544151218f} TCPHandler: Code: 352. DB::Exception: Block structure mismatch in (columns with identical name must have identical structure) stream: different values of constants in column '1': actual: 1, expected: 3. (AMBIGUOUS_COLUMN_NAME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&, String const&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String const&, String&&, String&&) @ 0x295044c4 in /usr/bin/clickhouse 6. /build/src/Core/Block.cpp:38: void DB::onError>&, String const&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String const&, String&&, String&&) @ 0x294fb9b7 in /usr/bin/clickhouse 7. /build/src/Core/Block.cpp:99: void DB::checkColumnStructure(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&, std::basic_string_view>, bool, int) @ 0x294f5eab in /usr/bin/clickhouse 8. /build/src/Core/Block.cpp:0: DB::Block::insert(DB::ColumnWithTypeAndName) @ 0x294f6113 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionActions.cpp:441: DB::ExpressionActions::linearizeActions(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x2a00a460 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionActions.cpp:65: DB::ExpressionActions::ExpressionActions(std::shared_ptr, DB::ExpressionActionsSettings const&) @ 0x2a009077 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::ExpressionActions* std::construct_at[abi:v15000]&, DB::ExpressionActionsSettings const&, DB::ExpressionActions*>(DB::ExpressionActions*, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c35891f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::ExpressionActionsSettings const&, void, void>(std::allocator&, DB::ExpressionActions*, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c358889 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::ExpressionActionsSettings const&>(std::allocator, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c35880f in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::ExpressionActionsSettings const&, void>(std::allocator const&, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c358722 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::ExpressionActionsSettings const&, void>(std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c353fce in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:39: DB::ExpressionStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2ceb84e7 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced67dc in /usr/bin/clickhouse 18. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:57.020407 [ 1014 ] {f132f6d2-593e-423d-b0dc-6e49a0b7c17f} executeQuery: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: 'b = ignore('UInt8')', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(b, ignore('UInt8'))']. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43848) (comment: 01101_literal_column_clash.sql) (in query: -- other cases with joins and constants select cast(1, 'UInt8') from (select arrayJoin([1, 2]) as a) t1 left join (select 1 as b) t2 on b = ignore('UInt8');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:652: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b23405d in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:57.021573 [ 1014 ] {f132f6d2-593e-423d-b0dc-6e49a0b7c17f} TCPHandler: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: 'b = ignore('UInt8')', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(b, ignore('UInt8'))']. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:652: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b23405d in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:57.037908 [ 1014 ] {2eaa8ec9-0ceb-458a-bbed-1c7b5e3d1416} executeQuery: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: 'b = ignore('UInt8')', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(b, ignore('UInt8'))']. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43848) (comment: 01101_literal_column_clash.sql) (in query: select isConstant('UInt8'), toFixedString('hello', toUInt8(substring('UInt8', 5, 1))) from (select arrayJoin([1, 2]) as a) t1 left join (select 1 as b) t2 on b = ignore('UInt8');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:652: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b23405d in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:57.039226 [ 1014 ] {2eaa8ec9-0ceb-458a-bbed-1c7b5e3d1416} TCPHandler: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: 'b = ignore('UInt8')', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(b, ignore('UInt8'))']. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:652: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b23405d in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:58.400015 [ 635 ] {d920ebef-e42c-4903-a231-5790296e6a62} executeQuery: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43984) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: system sync database replica test_udsh4tct), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [83]) @ 0x1a13481e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:946: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2ae9629a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf38 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:58.401796 [ 635 ] {d920ebef-e42c-4903-a231-5790296e6a62} TCPHandler: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [83]) @ 0x1a13481e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:946: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2ae9629a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf38 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:58.466890 [ 3331 ] {1a9686b1-ede3-4233-920e-9d7a28bf6449} executeQuery: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44000) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_udsh4tct.rmt_8083_4359_2111 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 40692, min_bytes_for_wide_part = 586054029, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 17259, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2072906218, index_granularity_bytes = 13350717), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x196bd97e in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x22168804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c567116 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:419: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c563881 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:58.469374 [ 3331 ] {1a9686b1-ede3-4233-920e-9d7a28bf6449} TCPHandler: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x196bd97e in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x22168804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c567116 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:419: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c563881 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:58.932044 [ 864 ] {} 9483bc29-388d-4e45-8abb-b2985e8c7634::all_4_4_0_5 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'fail' as Int8: syntax error at begin of string. Note: there are toInt8OrZero and toInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION if(equals(n, 3) :: 2, _CAST(multiply(m, toInt8(s)), 'Int32') :: 5, m :: 1) -> if(equals(n, 3), _CAST(multiply(m, toInt8(s)), 'Int32'), m) Int32 : 3'. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt8, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x1989dd67 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19898b78 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x198870f9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19886428 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1988563e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnFunction.cpp:309: DB::ColumnFunction::reduce() const @ 0x2b5a09e8 in /usr/bin/clickhouse 18. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b5a07e7 in /usr/bin/clickhouse 19. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b5a07e7 in /usr/bin/clickhouse 20. /build/src/Columns/MaskOperations.cpp:299: DB::maskedExecute(DB::ColumnWithTypeAndName&, DB::PODArray, 63ul, 64ul> const&, DB::MaskInfo const&) @ 0x2b7f4518 in /usr/bin/clickhouse 21. /build/src/Functions/if.cpp:1002: DB::(anonymous namespace)::FunctionIf::executeShortCircuitArguments(std::vector>&) @ 0x1d6da8b4 in /usr/bin/clickhouse 22. /build/src/Functions/if.cpp:1048: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d943b in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 30. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 31. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:59.433781 [ 6021 ] {606fe7c7-81e0-4013-bfc4-4c8a4bd2fb8d} executeQuery: Code: 253. DB::Exception: Replica 0 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_udsh4tct already exists. Replica host ID: 'd2f20edb504b:9000:442ebb7b-9ceb-4b62-94d3-04b09aae5b01', current host ID: 'd2f20edb504b:9000:02cbf734-57d6-4522-b313-7ae0157cdef5'. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44050) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_udsh4tct_repl_01111_0 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_udsh4tct', '1', '0')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29b7a89a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29b5e721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29b61003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29bc0788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2ab3e3ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2ab5083f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:59.556225 [ 1012 ] {179c80c3-d09b-4e7a-86fb-57ea49b8672b} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 11.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 8.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44052) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x22184f8d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x22184f0a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6470b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x197f1a5b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28d2a8a6 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c82e207 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c82e0a1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c82e055 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c82e039 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c82df9d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c82dea2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c82de15 in /usr/bin/clickhouse 2024.03.27 21:38:59.556252 [ 635 ] {e2e3bee8-6fed-4ebe-a634-018ad911382a} executeQuery: Code: 47. DB::Exception: Missing columns: 'p_partkey' while processing query: 'SELECT min(ps_supplycost) FROM (SELECT `--.s`.*, n_regionkey, n_nationkey FROM (SELECT ps_suppkey, ps_partkey, ps_supplycost, s_nationkey, s_suppkey FROM partsupp ALL INNER JOIN supplier ON s_suppkey = ps_suppkey) AS `--.s` ALL INNER JOIN nation ON s_nationkey = n_nationkey HAVING (s_nationkey = n_nationkey) AND ((s_suppkey = ps_suppkey) AND (p_partkey = ps_partkey))) AS `--.s` ALL INNER JOIN (SELECT * FROM region HAVING r_name = 'EUROPE') AS region ON n_regionkey = r_regionkey WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')', required columns: 'n_regionkey' 'r_regionkey' 'p_partkey' 's_suppkey' 'ps_supplycost' 'ps_partkey' 'ps_suppkey' 's_nationkey' 'n_nationkey' 'r_name' 'n_regionkey' 'r_regionkey' 'p_partkey' 's_suppkey' 'ps_supplycost' 'ps_partkey' 'ps_suppkey' 's_nationkey' 'n_nationkey' 'r_name', joined columns: 'r_regionkey' 'r_name' 'r_comment' '_part' '_part_index' '_part_uuid' '_partition_id' '_partition_value' '_sample_factor' '_part_offset' '_row_exists': While processing (SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery198: While processing ps_supplycost = ((SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery198): While processing (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (p_size = 15) AND (p_type LIKE '%BRASS') AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE') AND (ps_supplycost = ((SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery198)). (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43986) (comment: 01095_tpch_like_smoke.sql) (in query: select s_acctbal, s_name, n_name, p_partkey, p_mfgr, s_address, s_phone, s_comment from part, supplier, partsupp, nation, region where p_partkey = ps_partkey and s_suppkey = ps_suppkey and p_size = 15 and p_type like '%BRASS' and s_nationkey = n_nationkey and n_regionkey = r_regionkey and r_name = 'EUROPE' and ps_supplycost = ( select min(ps_supplycost) from partsupp, supplier, nation, region where p_partkey = ps_partkey and s_suppkey = ps_suppkey and s_nationkey = n_nationkey and n_regionkey = r_regionkey and r_name = 'EUROPE' ) order by s_acctbal desc, n_name, s_name, p_partkey limit 100;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d933d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cf7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 2024.03.27 21:38:59.556389 [ 6021 ] {606fe7c7-81e0-4013-bfc4-4c8a4bd2fb8d} TCPHandler: Code: 253. DB::Exception: Replica 0 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_udsh4tct already exists. Replica host ID: 'd2f20edb504b:9000:442ebb7b-9ceb-4b62-94d3-04b09aae5b01', current host ID: 'd2f20edb504b:9000:02cbf734-57d6-4522-b313-7ae0157cdef5'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29b7a89a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29b5e721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29b61003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29bc0788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2ab3e3ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2ab5083f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:38:59.557276 [ 871 ] {} 9483bc29-388d-4e45-8abb-b2985e8c7634::all_4_4_0_5 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'fail' as Int8: syntax error at begin of string. Note: there are toInt8OrZero and toInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION if(equals(n, 3) :: 2, _CAST(multiply(m, toInt8(s)), 'Int32') :: 5, m :: 1) -> if(equals(n, 3), _CAST(multiply(m, toInt8(s)), 'Int32'), m) Int32 : 3'. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt8, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x1989dd67 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19898b78 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x198870f9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19886428 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1988563e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnFunction.cpp:309: DB::ColumnFunction::reduce() const @ 0x2b5a09e8 in /usr/bin/clickhouse 18. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b5a07e7 in /usr/bin/clickhouse 19. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b5a07e7 in /usr/bin/clickhouse 20. /build/src/Columns/MaskOperations.cpp:299: DB::maskedExecute(DB::ColumnWithTypeAndName&, DB::PODArray, 63ul, 64ul> const&, DB::MaskInfo const&) @ 0x2b7f4518 in /usr/bin/clickhouse 21. /build/src/Functions/if.cpp:1002: DB::(anonymous namespace)::FunctionIf::executeShortCircuitArguments(std::vector>&) @ 0x1d6da8b4 in /usr/bin/clickhouse 22. /build/src/Functions/if.cpp:1048: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d943b in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 30. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 31. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:38:59.558357 [ 635 ] {e2e3bee8-6fed-4ebe-a634-018ad911382a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'p_partkey' while processing query: 'SELECT min(ps_supplycost) FROM (SELECT `--.s`.*, n_regionkey, n_nationkey FROM (SELECT ps_suppkey, ps_partkey, ps_supplycost, s_nationkey, s_suppkey FROM partsupp ALL INNER JOIN supplier ON s_suppkey = ps_suppkey) AS `--.s` ALL INNER JOIN nation ON s_nationkey = n_nationkey HAVING (s_nationkey = n_nationkey) AND ((s_suppkey = ps_suppkey) AND (p_partkey = ps_partkey))) AS `--.s` ALL INNER JOIN (SELECT * FROM region HAVING r_name = 'EUROPE') AS region ON n_regionkey = r_regionkey WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')', required columns: 'n_regionkey' 'r_regionkey' 'p_partkey' 's_suppkey' 'ps_supplycost' 'ps_partkey' 'ps_suppkey' 's_nationkey' 'n_nationkey' 'r_name' 'n_regionkey' 'r_regionkey' 'p_partkey' 's_suppkey' 'ps_supplycost' 'ps_partkey' 'ps_suppkey' 's_nationkey' 'n_nationkey' 'r_name', joined columns: 'r_regionkey' 'r_name' 'r_comment' '_part' '_part_index' '_part_uuid' '_partition_id' '_partition_value' '_sample_factor' '_part_offset' '_row_exists': While processing (SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery198: While processing ps_supplycost = ((SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery198): While processing (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (p_size = 15) AND (p_type LIKE '%BRASS') AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE') AND (ps_supplycost = ((SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery198)). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d933d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cf7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 2024.03.27 21:38:59.558442 [ 1012 ] {179c80c3-d09b-4e7a-86fb-57ea49b8672b} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 11.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 8.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x22184f8d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x22184f0a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6470b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x197f1a5b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28d2a8a6 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c82e207 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c82e0a1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c82e055 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c82e039 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c82df9d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c82dea2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c82de15 in /usr/bin/clickhouse 2024.03.27 21:39:00.084504 [ 870 ] {} 9483bc29-388d-4e45-8abb-b2985e8c7634::all_4_4_0_5 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'fail' as Int8: syntax error at begin of string. Note: there are toInt8OrZero and toInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION if(equals(n, 3) :: 2, _CAST(multiply(m, toInt8(s)), 'Int32') :: 5, m :: 1) -> if(equals(n, 3), _CAST(multiply(m, toInt8(s)), 'Int32'), m) Int32 : 3'. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt8, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x1989dd67 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19898b78 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x198870f9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19886428 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1988563e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnFunction.cpp:309: DB::ColumnFunction::reduce() const @ 0x2b5a09e8 in /usr/bin/clickhouse 18. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b5a07e7 in /usr/bin/clickhouse 19. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b5a07e7 in /usr/bin/clickhouse 20. /build/src/Columns/MaskOperations.cpp:299: DB::maskedExecute(DB::ColumnWithTypeAndName&, DB::PODArray, 63ul, 64ul> const&, DB::MaskInfo const&) @ 0x2b7f4518 in /usr/bin/clickhouse 21. /build/src/Functions/if.cpp:1002: DB::(anonymous namespace)::FunctionIf::executeShortCircuitArguments(std::vector>&) @ 0x1d6da8b4 in /usr/bin/clickhouse 22. /build/src/Functions/if.cpp:1048: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d943b in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 30. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 31. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:00.329325 [ 872 ] {} 9483bc29-388d-4e45-8abb-b2985e8c7634::all_4_4_0_5 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'fail' as Int8: syntax error at begin of string. Note: there are toInt8OrZero and toInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION if(equals(n, 3) :: 2, _CAST(multiply(m, toInt8(s)), 'Int32') :: 5, m :: 1) -> if(equals(n, 3), _CAST(multiply(m, toInt8(s)), 'Int32'), m) Int32 : 3'. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt8, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x1989dd67 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19898b78 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x198870f9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19886428 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1988563e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnFunction.cpp:309: DB::ColumnFunction::reduce() const @ 0x2b5a09e8 in /usr/bin/clickhouse 18. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b5a07e7 in /usr/bin/clickhouse 19. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b5a07e7 in /usr/bin/clickhouse 20. /build/src/Columns/MaskOperations.cpp:299: DB::maskedExecute(DB::ColumnWithTypeAndName&, DB::PODArray, 63ul, 64ul> const&, DB::MaskInfo const&) @ 0x2b7f4518 in /usr/bin/clickhouse 21. /build/src/Functions/if.cpp:1002: DB::(anonymous namespace)::FunctionIf::executeShortCircuitArguments(std::vector>&) @ 0x1d6da8b4 in /usr/bin/clickhouse 22. /build/src/Functions/if.cpp:1048: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d943b in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 30. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 31. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:00.936163 [ 879 ] {} 9483bc29-388d-4e45-8abb-b2985e8c7634::all_4_4_0_5 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'fail' as Int8: syntax error at begin of string. Note: there are toInt8OrZero and toInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION if(equals(n, 3) :: 2, _CAST(multiply(m, toInt8(s)), 'Int32') :: 5, m :: 1) -> if(equals(n, 3), _CAST(multiply(m, toInt8(s)), 'Int32'), m) Int32 : 3'. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt8, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x1989dd67 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19898b78 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x198870f9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19886428 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1988563e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnFunction.cpp:309: DB::ColumnFunction::reduce() const @ 0x2b5a09e8 in /usr/bin/clickhouse 18. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b5a07e7 in /usr/bin/clickhouse 19. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b5a07e7 in /usr/bin/clickhouse 20. /build/src/Columns/MaskOperations.cpp:299: DB::maskedExecute(DB::ColumnWithTypeAndName&, DB::PODArray, 63ul, 64ul> const&, DB::MaskInfo const&) @ 0x2b7f4518 in /usr/bin/clickhouse 21. /build/src/Functions/if.cpp:1002: DB::(anonymous namespace)::FunctionIf::executeShortCircuitArguments(std::vector>&) @ 0x1d6da8b4 in /usr/bin/clickhouse 22. /build/src/Functions/if.cpp:1048: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d943b in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 30. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 31. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:01.215222 [ 874 ] {} 9483bc29-388d-4e45-8abb-b2985e8c7634::all_4_4_0_5 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'fail' as Int8: syntax error at begin of string. Note: there are toInt8OrZero and toInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION if(equals(n, 3) :: 2, _CAST(multiply(m, toInt8(s)), 'Int32') :: 5, m :: 1) -> if(equals(n, 3), _CAST(multiply(m, toInt8(s)), 'Int32'), m) Int32 : 3'. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt8, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x1989dd67 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19898b78 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x198870f9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19886428 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1988563e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnFunction.cpp:309: DB::ColumnFunction::reduce() const @ 0x2b5a09e8 in /usr/bin/clickhouse 18. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b5a07e7 in /usr/bin/clickhouse 19. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b5a07e7 in /usr/bin/clickhouse 20. /build/src/Columns/MaskOperations.cpp:299: DB::maskedExecute(DB::ColumnWithTypeAndName&, DB::PODArray, 63ul, 64ul> const&, DB::MaskInfo const&) @ 0x2b7f4518 in /usr/bin/clickhouse 21. /build/src/Functions/if.cpp:1002: DB::(anonymous namespace)::FunctionIf::executeShortCircuitArguments(std::vector>&) @ 0x1d6da8b4 in /usr/bin/clickhouse 22. /build/src/Functions/if.cpp:1048: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d943b in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 30. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 31. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:01.248109 [ 866 ] {} test_d7crscid.rmt (ReplicatedMergeTreeQueue): Mutation with version 5 not found in partition ID all (trying to mutate part all_4_4_0) 2024.03.27 21:39:01.327236 [ 6021 ] {79ff74d3-3ab1-4a12-af8b-49f5b93bc8eb} executeQuery: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44164) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: system sync database replica test_udsh4tct), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [83]) @ 0x1a13481e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:946: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2ae9629a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf38 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:01.328646 [ 6021 ] {79ff74d3-3ab1-4a12-af8b-49f5b93bc8eb} TCPHandler: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [83]) @ 0x1a13481e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:946: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2ae9629a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf38 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:01.403143 [ 6021 ] {c53e6f75-e8fa-4238-82fd-a96f88c688ee} executeQuery: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44168) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_udsh4tct.rmt_5523_27846_25717 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 40692, min_bytes_for_wide_part = 586054029, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 17259, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2072906218, index_granularity_bytes = 13350717), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x196bd97e in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x22168804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c567116 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:419: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c563881 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:01.405102 [ 6021 ] {c53e6f75-e8fa-4238-82fd-a96f88c688ee} TCPHandler: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x196bd97e in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x22168804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c567116 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:419: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c563881 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:04.960410 [ 3331 ] {d54f3b49-1276-4c19-a83c-047568ef2661} executeQuery: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44368) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_udsh4tct.rmt_23413_30706_25545 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 40692, min_bytes_for_wide_part = 586054029, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 17259, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2072906218, index_granularity_bytes = 13350717), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x196bd97e in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x22168804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c567116 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:419: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c563881 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:04.962543 [ 3331 ] {d54f3b49-1276-4c19-a83c-047568ef2661} TCPHandler: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x196bd97e in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x22168804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c567116 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:419: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c563881 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:06.005103 [ 635 ] {2d84d2c7-88e8-4d20-a1e3-4c3b1e0d5033} executeQuery: Code: 47. DB::Exception: Missing columns: 'total_revenue' while processing query: 'SELECT max(total_revenue) FROM (SELECT l_suppkey, sum(l_extendedprice * (1 - l_discount)) FROM test_twt678oz.lineitem WHERE (l_shipdate >= toDate('1996-01-01')) AND (l_shipdate < (toDate('1996-01-01') + toIntervalMonth('3'))) GROUP BY l_suppkey) AS revenue0', required columns: 'total_revenue': While processing (SELECT max(total_revenue) FROM revenue0) AS _subquery200: While processing total_revenue = ((SELECT max(total_revenue) FROM revenue0) AS _subquery200): While processing (s_suppkey = supplier_no) AND (total_revenue = ((SELECT max(total_revenue) FROM revenue0) AS _subquery200)). (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43986) (comment: 01095_tpch_like_smoke.sql) (in query: select s_suppkey, s_name, s_address, s_phone, total_revenue from supplier, revenue0 where s_suppkey = supplier_no and total_revenue = ( select max(total_revenue) from revenue0 ) order by s_suppkey;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d933d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cf7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 2024.03.27 21:39:06.006654 [ 635 ] {2d84d2c7-88e8-4d20-a1e3-4c3b1e0d5033} TCPHandler: Code: 47. DB::Exception: Missing columns: 'total_revenue' while processing query: 'SELECT max(total_revenue) FROM (SELECT l_suppkey, sum(l_extendedprice * (1 - l_discount)) FROM test_twt678oz.lineitem WHERE (l_shipdate >= toDate('1996-01-01')) AND (l_shipdate < (toDate('1996-01-01') + toIntervalMonth('3'))) GROUP BY l_suppkey) AS revenue0', required columns: 'total_revenue': While processing (SELECT max(total_revenue) FROM revenue0) AS _subquery200: While processing total_revenue = ((SELECT max(total_revenue) FROM revenue0) AS _subquery200): While processing (s_suppkey = supplier_no) AND (total_revenue = ((SELECT max(total_revenue) FROM revenue0) AS _subquery200)). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d933d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cf7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 2024.03.27 21:39:06.182630 [ 635 ] {ce4ea7ac-fa6a-4d40-bd39-a514762b9377} executeQuery: Code: 47. DB::Exception: Missing columns: 'p_partkey' while processing query: 'SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey', required columns: 'l_partkey' 'l_quantity' 'p_partkey', maybe you meant: 'l_partkey' or 'l_quantity': While processing (SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery202: While processing l_quantity < ((SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery202): While processing (p_partkey = l_partkey) AND (p_brand = 'Brand#23') AND (p_container = 'MED BOX') AND (l_quantity < ((SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery202)). (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43986) (comment: 01095_tpch_like_smoke.sql) (in query: select sum(l_extendedprice) / 7.0 as avg_yearly from lineitem, part where p_partkey = l_partkey and p_brand = 'Brand#23' and p_container = 'MED BOX' and l_quantity < ( select 0.2 * avg(l_quantity) from lineitem where l_partkey = p_partkey );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d933d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cf7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 2024.03.27 21:39:06.184264 [ 635 ] {ce4ea7ac-fa6a-4d40-bd39-a514762b9377} TCPHandler: Code: 47. DB::Exception: Missing columns: 'p_partkey' while processing query: 'SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey', required columns: 'l_partkey' 'l_quantity' 'p_partkey', maybe you meant: 'l_partkey' or 'l_quantity': While processing (SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery202: While processing l_quantity < ((SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery202): While processing (p_partkey = l_partkey) AND (p_brand = 'Brand#23') AND (p_container = 'MED BOX') AND (l_quantity < ((SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery202)). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d933d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cf7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 2024.03.27 21:39:06.634250 [ 635 ] {a1d63a95-0f03-4647-b1ca-e13fc56639ca} executeQuery: Code: 47. DB::Exception: Missing columns: 'ps_suppkey' 'ps_partkey' while processing query: 'SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))', required columns: 'l_partkey' 'l_quantity' 'ps_partkey' 'ps_suppkey' 'l_suppkey' 'l_shipdate', maybe you meant: 'l_partkey', 'l_quantity', 'l_suppkey' or 'l_shipdate': While processing (SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery210: While processing ps_availqty > ((SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery210): While processing (ps_partkey IN ((SELECT p_partkey FROM part WHERE p_name LIKE 'forest%') AS _subquery209)) AND (ps_availqty > ((SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery210)). (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43986) (comment: 01095_tpch_like_smoke.sql) (in query: select s_name, s_address from supplier, nation where s_suppkey in ( select ps_suppkey from partsupp where ps_partkey in ( select p_partkey from part where p_name like 'forest%' ) and ps_availqty > ( select 0.5 * sum(l_quantity) from lineitem where l_partkey = ps_partkey and l_suppkey = ps_suppkey and l_shipdate >= date '1994-01-01' and l_shipdate < date '1994-01-01' + interval '1' year ) ) and s_nationkey = n_nationkey and n_name = 'CANADA' order by s_name;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d933d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cf7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 2024.03.27 21:39:06.636049 [ 635 ] {a1d63a95-0f03-4647-b1ca-e13fc56639ca} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ps_suppkey' 'ps_partkey' while processing query: 'SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))', required columns: 'l_partkey' 'l_quantity' 'ps_partkey' 'ps_suppkey' 'l_suppkey' 'l_shipdate', maybe you meant: 'l_partkey', 'l_quantity', 'l_suppkey' or 'l_shipdate': While processing (SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery210: While processing ps_availqty > ((SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery210): While processing (ps_partkey IN ((SELECT p_partkey FROM part WHERE p_name LIKE 'forest%') AS _subquery209)) AND (ps_availqty > ((SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery210)). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d933d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cf7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 2024.03.27 21:39:07.191390 [ 8931 ] {0dbfcd5a-450d-4ae2-805a-18096b48e771} executeQuery: Code: 81. DB::Exception: Database test_udsh4tct_repl_01111_7 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44774) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: system sync database replica test_udsh4tct_repl_01111_7), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:420: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x29f7d7cd in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:522: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x29f7f192 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:933: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2ae95509 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf38 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:07.193266 [ 8931 ] {0dbfcd5a-450d-4ae2-805a-18096b48e771} TCPHandler: Code: 81. DB::Exception: Database test_udsh4tct_repl_01111_7 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:420: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x29f7d7cd in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:522: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x29f7f192 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:933: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2ae95509 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf38 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:07.821490 [ 8931 ] {93cf0d00-166d-4e52-b8d2-aac3d375c6d4} executeQuery: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44810) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_udsh4tct.rmt_11088_19240_13417 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 40692, min_bytes_for_wide_part = 586054029, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 17259, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2072906218, index_granularity_bytes = 13350717), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x196bd97e in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x22168804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c567116 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:419: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c563881 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:07.824050 [ 8931 ] {93cf0d00-166d-4e52-b8d2-aac3d375c6d4} TCPHandler: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x196bd97e in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x22168804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c567116 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:419: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c563881 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:08.032313 [ 1012 ] {7d556f6b-cb66-41e8-aeba-c1b5e8b16592} executeQuery: Code: 253. DB::Exception: Replica 0 of shard 0 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_udsh4tct already exists. Replica host ID: 'd2f20edb504b:9000:80bdec06-a097-492e-91d3-e0be86de3d33', current host ID: 'd2f20edb504b:9000:4eb91b9e-49d2-4a0f-a438-c2b695574777'. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44836) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_udsh4tct_repl_01111_9 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_udsh4tct', '0', '0')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29b7a89a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29b5e721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29b61003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29bc0788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2ab3e3ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2ab5083f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:08.034181 [ 1012 ] {7d556f6b-cb66-41e8-aeba-c1b5e8b16592} TCPHandler: Code: 253. DB::Exception: Replica 0 of shard 0 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_udsh4tct already exists. Replica host ID: 'd2f20edb504b:9000:80bdec06-a097-492e-91d3-e0be86de3d33', current host ID: 'd2f20edb504b:9000:4eb91b9e-49d2-4a0f-a438-c2b695574777'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29b7a89a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29b5e721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29b61003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29bc0788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2ab3e3ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2ab5083f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:10.041346 [ 1012 ] {c4e9b055-730d-4960-b0d6-0529ee7ba7bc} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt64(sum(id))' while processing query: 'SELECT toUInt64(sum(id) AS b), b FROM test WHERE `toUInt64(sum(id))` = 3', required columns: 'toUInt64(sum(id))' 'id', maybe you meant: 'id'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44948) (comment: 01076_predicate_optimizer_with_view.sql) (in query: SELECT * FROM (SELECT toUInt64(b), sum(id) AS b FROM test) WHERE `toUInt64(sum(id))` = 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7bf13 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2aed0514 in /usr/bin/clickhouse 16. /build/src/Interpreters/JoinedTables.cpp:202: DB::JoinedTables::makeLeftTableSubquery(DB::SelectQueryOptions const&) @ 0x2aecc36d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:698: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad941dd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 2024.03.27 21:39:10.042850 [ 1012 ] {c4e9b055-730d-4960-b0d6-0529ee7ba7bc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt64(sum(id))' while processing query: 'SELECT toUInt64(sum(id) AS b), b FROM test WHERE `toUInt64(sum(id))` = 3', required columns: 'toUInt64(sum(id))' 'id', maybe you meant: 'id'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7bf13 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2aed0514 in /usr/bin/clickhouse 16. /build/src/Interpreters/JoinedTables.cpp:202: DB::JoinedTables::makeLeftTableSubquery(DB::SelectQueryOptions const&) @ 0x2aecc36d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:698: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad941dd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 2024.03.27 21:39:10.358401 [ 1012 ] {862666ea-3a61-4c5a-81bd-1b8025e41c0d} executeQuery: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45022) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: system sync database replica test_udsh4tct), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [83]) @ 0x1a13481e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:946: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2ae9629a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf38 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:10.360264 [ 1012 ] {862666ea-3a61-4c5a-81bd-1b8025e41c0d} TCPHandler: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [83]) @ 0x1a13481e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:946: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2ae9629a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf38 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:11.192686 [ 18229 ] {fa91a262-fbf0-4463-8029-d65142d20fae} executeQuery: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45086) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_udsh4tct.rmt_18073_26771_15958 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 40692, min_bytes_for_wide_part = 586054029, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 17259, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2072906218, index_granularity_bytes = 13350717), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x196bd97e in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x22168804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c567116 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:419: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c563881 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:11.194474 [ 18229 ] {fa91a262-fbf0-4463-8029-d65142d20fae} TCPHandler: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x196bd97e in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x22168804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c567116 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:419: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c563881 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:13.407383 [ 8960 ] {f32b961a-98b0-4518-8b0d-4e81b3fdec79} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `non_existing_column` to drop. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45236) (comment: 01079_bad_alters_zookeeper_long.sh) (in query: ALTER TABLE table_for_bad_alters MODIFY COLUMN value1 UInt32, DROP COLUMN non_existing_column), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b809bf9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:13.409406 [ 8960 ] {f32b961a-98b0-4518-8b0d-4e81b3fdec79} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `non_existing_column` to drop. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b809bf9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:14.004083 [ 8960 ] {3046ae04-a5cf-4044-8ed9-f16e65293df7} executeQuery: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45304) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_udsh4tct.rmt_30034_23518_20932 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 40692, min_bytes_for_wide_part = 586054029, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 17259, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2072906218, index_granularity_bytes = 13350717), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x196bd97e in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x22168804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c567116 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:419: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c563881 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:14.006535 [ 8960 ] {3046ae04-a5cf-4044-8ed9-f16e65293df7} TCPHandler: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x196bd97e in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x22168804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c567116 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:419: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c563881 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:14.328546 [ 8960 ] {c54d88d0-86a0-426b-ace7-524caa9d90d5} executeQuery: Code: 507. DB::Exception: No sharding key. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45312) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist_01071;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [16]) @ 0x22151102 in /usr/bin/clickhouse 5. /build/src/Storages/StorageDistributed.cpp:1656: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b89dcb2 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b89c813 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b44d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:14.329628 [ 8960 ] {c54d88d0-86a0-426b-ace7-524caa9d90d5} TCPHandler: Code: 507. DB::Exception: No sharding key. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [16]) @ 0x22151102 in /usr/bin/clickhouse 5. /build/src/Storages/StorageDistributed.cpp:1656: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b89dcb2 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b89c813 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b44d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:14.502276 [ 8960 ] {f08cf7b3-27e5-43ea-888a-dfd61d112eae} executeQuery: Code: 507. DB::Exception: Sharding key modulo(key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45312) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist_01071;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1660: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b89dde0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b89c813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b44d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:14.503391 [ 8960 ] {f08cf7b3-27e5-43ea-888a-dfd61d112eae} TCPHandler: Code: 507. DB::Exception: Sharding key modulo(key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1660: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b89dde0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b89c813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b44d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:14.514676 [ 8960 ] {55b9c691-07aa-4b5a-aead-fc6d96755ef0} executeQuery: Code: 507. DB::Exception: Sharding key modulo(key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45312) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist_01071;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1660: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b89dde0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b89c813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b44d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:14.515663 [ 8960 ] {55b9c691-07aa-4b5a-aead-fc6d96755ef0} TCPHandler: Code: 507. DB::Exception: Sharding key modulo(key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1660: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b89dde0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b89c813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b44d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:14.664491 [ 8960 ] {f82a4f3a-d00f-4bcd-8e9d-07f88d1baddf} executeQuery: Code: 507. DB::Exception: Sharding key is not deterministic. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45312) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist_01071 where key = 0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x19725f7e in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1658: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b89dd29 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b89c813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b44d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:14.665639 [ 8960 ] {f82a4f3a-d00f-4bcd-8e9d-07f88d1baddf} TCPHandler: Code: 507. DB::Exception: Sharding key is not deterministic. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x19725f7e in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1658: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b89dd29 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b89c813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b44d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:14.759720 [ 8927 ] {82f82160-2deb-4f0f-90a5-95a3efff8765} executeQuery: Code: 507. DB::Exception: Sharding key modulo(sub_key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:57352) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: SELECT `dist2_layer_01071`.`key`, `dist2_layer_01071`.`sub_key` FROM `test_yjwy1jnj`.`dist2_layer_01071` WHERE `key` = 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1660: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b89dde0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b89c813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b44d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:14.760733 [ 8927 ] {82f82160-2deb-4f0f-90a5-95a3efff8765} TCPHandler: Code: 507. DB::Exception: Sharding key modulo(sub_key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1660: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b89dde0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b89c813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b44d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:14.870029 [ 8960 ] {70f37a36-a094-4cbe-a038-c58914760d8f} executeQuery: Code: 507. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Sharding key modulo(sub_key, 2) is not used. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1660: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b89dde0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b89c813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b44d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? : While executing Remote. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45312) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist2_01071 where key = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x221f0ba2 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c62d3f9 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:946: DB::Connection::receivePacket() @ 0x2c634d51 in /usr/bin/clickhouse 9. /build/src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x2c66ab90 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::PacketReceiver::Routine&, boost::context::fiber&&) @ 0x2c66aac8 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(DB::PacketReceiver::Routine&, boost::context::fiber&&) @ 0x2c66aa88 in /usr/bin/clickhouse 12. /build/contrib/boost/boost/context/fiber_fcontext.hpp:140: boost::context::detail::fiber_record::run(void*) @ 0x2c66a9be in /usr/bin/clickhouse 13. /build/contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x2c66a85d in /usr/bin/clickhouse 2024.03.27 21:39:14.872007 [ 8960 ] {70f37a36-a094-4cbe-a038-c58914760d8f} TCPHandler: Code: 507. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Sharding key modulo(sub_key, 2) is not used. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1660: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b89dde0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b89c813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b44d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? : While executing Remote. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x221f0ba2 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c62d3f9 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:946: DB::Connection::receivePacket() @ 0x2c634d51 in /usr/bin/clickhouse 9. /build/src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x2c66ab90 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::PacketReceiver::Routine&, boost::context::fiber&&) @ 0x2c66aac8 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(DB::PacketReceiver::Routine&, boost::context::fiber&&) @ 0x2c66aa88 in /usr/bin/clickhouse 12. /build/contrib/boost/boost/context/fiber_fcontext.hpp:140: boost::context::detail::fiber_record::run(void*) @ 0x2c66a9be in /usr/bin/clickhouse 13. /build/contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x2c66a85d in /usr/bin/clickhouse 2024.03.27 21:39:15.633576 [ 871 ] {} ae5226bd-70c0-4e60-bf2a-36447f94e1f2::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ae5/ae5226bd-70c0-4e60-bf2a-36447f94e1f2/all_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x197dfa67 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x197da878 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x197c9159 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197c8488 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197c769e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19758470 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758406 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197583a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758340 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197582eb in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a00d66e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b37ba16 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:15.703856 [ 8244 ] {014db8e6-ec95-49e0-9a68-600ed4764ee3} executeQuery: Code: 253. DB::Exception: Replica 0 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_udsh4tct already exists. Replica host ID: 'd2f20edb504b:9000:d1a34d9b-2a2c-44e8-a46f-843df8d9aff8', current host ID: 'd2f20edb504b:9000:3fbe0c2e-6d73-435b-9ead-067632461777'. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49576) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_udsh4tct_repl_01111_9 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_udsh4tct', '1', '0')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29b7a89a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29b5e721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29b61003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29bc0788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2ab3e3ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2ab5083f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:15.705950 [ 8244 ] {014db8e6-ec95-49e0-9a68-600ed4764ee3} TCPHandler: Code: 253. DB::Exception: Replica 0 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_udsh4tct already exists. Replica host ID: 'd2f20edb504b:9000:d1a34d9b-2a2c-44e8-a46f-843df8d9aff8', current host ID: 'd2f20edb504b:9000:3fbe0c2e-6d73-435b-9ead-067632461777'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29b7a89a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29b5e721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29b61003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29bc0788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2ab3e3ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2ab5083f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:16.592227 [ 879 ] {} ae5226bd-70c0-4e60-bf2a-36447f94e1f2::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ae5/ae5226bd-70c0-4e60-bf2a-36447f94e1f2/all_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x197dfa67 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x197da878 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x197c9159 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197c8488 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197c769e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19758470 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758406 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197583a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758340 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197582eb in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a00d66e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b37ba16 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:17.115256 [ 1179 ] {53ef40c4-a050-4f2c-8e51-fc2cce8ddab6} executeQuery: Code: 57. DB::Exception: Directory for table data store/9e9/9e9f9395-caf3-4a8d-a0bf-b1b045ff5977/ already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: /* ddl_entry=query-0000000006 */ CREATE TABLE test_udsh4tct_repl_01111_4.rmt_11356_20590_26508 UUID '9e9f9395-caf3-4a8d-a0bf-b1b045ff5977' (`n` Int32) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 40692, min_bytes_for_wide_part = 586054029, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 17259, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2072906218, index_granularity_bytes = 13350717), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4d2a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 11. /build/src/Interpreters/DDLWorker.cpp:477: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f636df in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:640: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f62464 in /usr/bin/clickhouse 13. /build/src/Interpreters/DDLWorker.cpp:422: DB::DDLWorker::scheduleTasks(bool) @ 0x29f60633 in /usr/bin/clickhouse 14. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x29f57da4 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29f74aa9 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29f74a2d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29f7497d in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29f748b2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29f74815 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29f747f5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29f747d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29f747a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:17.115278 [ 1672 ] {4a8d04b7-254a-4e2a-91f6-f65b0bf2f175} executeQuery: Code: 57. DB::Exception: Directory for table data store/9e9/9e9f9395-caf3-4a8d-a0bf-b1b045ff5977/ already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: /* ddl_entry=query-0000000006 */ CREATE TABLE test_udsh4tct_repl_01111_3.rmt_11356_20590_26508 UUID '9e9f9395-caf3-4a8d-a0bf-b1b045ff5977' (`n` Int32) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 40692, min_bytes_for_wide_part = 586054029, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 17259, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2072906218, index_granularity_bytes = 13350717), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4d2a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 11. /build/src/Interpreters/DDLWorker.cpp:477: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f636df in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:640: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f62464 in /usr/bin/clickhouse 13. /build/src/Interpreters/DDLWorker.cpp:422: DB::DDLWorker::scheduleTasks(bool) @ 0x29f60633 in /usr/bin/clickhouse 14. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x29f57da4 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29f74aa9 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29f74a2d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29f7497d in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29f748b2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29f74815 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29f747f5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29f747d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29f747a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:17.116462 [ 1179 ] {53ef40c4-a050-4f2c-8e51-fc2cce8ddab6} DDLWorker(test_udsh4tct_repl_01111_4): Query /* ddl_entry=query-0000000006 */ CREATE TABLE test_udsh4tct_repl_01111_4.rmt_11356_20590_26508 UUID '9e9f9395-caf3-4a8d-a0bf-b1b045ff5977' (`n` Int32) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 40692, min_bytes_for_wide_part = 586054029, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 17259, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2072906218, index_granularity_bytes = 13350717 wasn't finished successfully: Code: 57. DB::Exception: Directory for table data store/9e9/9e9f9395-caf3-4a8d-a0bf-b1b045ff5977/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4d2a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 11. /build/src/Interpreters/DDLWorker.cpp:477: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f636df in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:640: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f62464 in /usr/bin/clickhouse 13. /build/src/Interpreters/DDLWorker.cpp:422: DB::DDLWorker::scheduleTasks(bool) @ 0x29f60633 in /usr/bin/clickhouse 14. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x29f57da4 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29f74aa9 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29f74a2d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29f7497d in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29f748b2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29f74815 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29f747f5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29f747d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29f747a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:17.116678 [ 1672 ] {4a8d04b7-254a-4e2a-91f6-f65b0bf2f175} DDLWorker(test_udsh4tct_repl_01111_3): Query /* ddl_entry=query-0000000006 */ CREATE TABLE test_udsh4tct_repl_01111_3.rmt_11356_20590_26508 UUID '9e9f9395-caf3-4a8d-a0bf-b1b045ff5977' (`n` Int32) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 40692, min_bytes_for_wide_part = 586054029, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 17259, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2072906218, index_granularity_bytes = 13350717 wasn't finished successfully: Code: 57. DB::Exception: Directory for table data store/9e9/9e9f9395-caf3-4a8d-a0bf-b1b045ff5977/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4d2a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 11. /build/src/Interpreters/DDLWorker.cpp:477: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f636df in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:640: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f62464 in /usr/bin/clickhouse 13. /build/src/Interpreters/DDLWorker.cpp:422: DB::DDLWorker::scheduleTasks(bool) @ 0x29f60633 in /usr/bin/clickhouse 14. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x29f57da4 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29f74aa9 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29f74a2d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29f7497d in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29f748b2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29f74815 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29f747f5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29f747d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29f747a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:17.191207 [ 1672 ] {} DDLWorker(test_udsh4tct_repl_01111_3): Unexpected error, will try to restart main thread: Code: 341. DB::Exception: Unexpected error: Code: 57. DB::Exception: Directory for table data store/9e9/9e9f9395-caf3-4a8d-a0bf-b1b045ff5977/ already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)). (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Interpreters/DDLWorker.cpp:660: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f6273d in /usr/bin/clickhouse 7. /build/src/Interpreters/DDLWorker.cpp:422: DB::DDLWorker::scheduleTasks(bool) @ 0x29f60633 in /usr/bin/clickhouse 8. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x29f57da4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29f74aa9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29f74a2d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29f7497d in /usr/bin/clickhouse 12. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29f748b2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29f74815 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29f747f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29f747d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29f747a0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:17.191320 [ 1179 ] {} DDLWorker(test_udsh4tct_repl_01111_4): Unexpected error, will try to restart main thread: Code: 341. DB::Exception: Unexpected error: Code: 57. DB::Exception: Directory for table data store/9e9/9e9f9395-caf3-4a8d-a0bf-b1b045ff5977/ already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)). (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Interpreters/DDLWorker.cpp:660: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f6273d in /usr/bin/clickhouse 7. /build/src/Interpreters/DDLWorker.cpp:422: DB::DDLWorker::scheduleTasks(bool) @ 0x29f60633 in /usr/bin/clickhouse 8. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x29f57da4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29f74aa9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29f74a2d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29f7497d in /usr/bin/clickhouse 12. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29f748b2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29f74815 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29f747f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29f747d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29f747a0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:17.606770 [ 865 ] {} ae5226bd-70c0-4e60-bf2a-36447f94e1f2::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ae5/ae5226bd-70c0-4e60-bf2a-36447f94e1f2/all_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x197dfa67 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x197da878 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x197c9159 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197c8488 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197c769e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19758470 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758406 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197583a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758340 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197582eb in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a00d66e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b37ba16 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:17.992771 [ 9449 ] {} DDLWorker(test_udsh4tct_repl_01111_9): Error on initialization of test_udsh4tct_repl_01111_9: Code: 57. DB::Exception: Directory for table data store/9e9/9e9f9395-caf3-4a8d-a0bf-b1b045ff5977/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4d2a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:950: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int) @ 0x29b6d178 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:115: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x29b8afd4 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x29b89c5b in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1114: DB::DDLWorker::runMainThread() @ 0x29f577ad in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29f74aa9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29f74a2d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29f7497d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29f748b2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29f74815 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29f747f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29f747d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29f747a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:17.993030 [ 879 ] {} ae5226bd-70c0-4e60-bf2a-36447f94e1f2::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ae5/ae5226bd-70c0-4e60-bf2a-36447f94e1f2/all_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x197dfa67 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x197da878 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x197c9159 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197c8488 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197c769e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19758470 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758406 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197583a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758340 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197582eb in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a00d66e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b37ba16 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:18.431298 [ 877 ] {} ae5226bd-70c0-4e60-bf2a-36447f94e1f2::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ae5/ae5226bd-70c0-4e60-bf2a-36447f94e1f2/all_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x197dfa67 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x197da878 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x197c9159 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197c8488 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197c769e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19758470 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758406 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197583a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758340 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197582eb in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a00d66e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b37ba16 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:18.605876 [ 875 ] {} test_3kbp6cmz.table_for_bad_alters (ReplicatedMergeTreeQueue): There are no mutations for partition ID all (trying to mutate part all_0_0_0 to 1) 2024.03.27 21:39:19.381260 [ 6021 ] {51b51bb4-15b5-47be-a98c-8869185af289} executeQuery: Code: 253. DB::Exception: Replica 0 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_udsh4tct already exists. Replica host ID: 'd2f20edb504b:9000:d1a34d9b-2a2c-44e8-a46f-843df8d9aff8', current host ID: 'd2f20edb504b:9000:67f4911f-1b1f-43eb-a1c0-499e009af0c9'. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49868) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_udsh4tct_repl_01111_11 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_udsh4tct', '1', '0')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29b7a89a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29b5e721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29b61003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29bc0788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2ab3e3ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2ab5083f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:19.382990 [ 6021 ] {51b51bb4-15b5-47be-a98c-8869185af289} TCPHandler: Code: 253. DB::Exception: Replica 0 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_udsh4tct already exists. Replica host ID: 'd2f20edb504b:9000:d1a34d9b-2a2c-44e8-a46f-843df8d9aff8', current host ID: 'd2f20edb504b:9000:67f4911f-1b1f-43eb-a1c0-499e009af0c9'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29b7a89a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29b5e721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29b61003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29bc0788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2ab3e3ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2ab5083f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:20.848617 [ 2750 ] {ed5f5bf6-ded4-425d-ac07-12cd6467c7c2} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing ifNotFinite(1234567890123456789, -1234567890123456789). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49924) (comment: 01065_if_not_finite.sql) (in query: SELECT ifNotFinite(1234567890123456789, -1234567890123456789);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2019ac8c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x29a7db06 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:137: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x29a7d484 in /usr/bin/clickhouse 8. /build/src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29a823d8 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1042: DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d6da565 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 15. /build/src/Functions/ifNotFinite.cpp:41: DB::(anonymous namespace)::FunctionIfNotFinite::getReturnTypeImpl(std::vector> const&) const @ 0x1d8c13a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:39:20.858026 [ 2750 ] {ed5f5bf6-ded4-425d-ac07-12cd6467c7c2} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing ifNotFinite(1234567890123456789, -1234567890123456789). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2019ac8c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x29a7db06 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:137: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x29a7d484 in /usr/bin/clickhouse 8. /build/src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29a823d8 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1042: DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d6da565 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 15. /build/src/Functions/ifNotFinite.cpp:41: DB::(anonymous namespace)::FunctionIfNotFinite::getReturnTypeImpl(std::vector> const&) const @ 0x1d8c13a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 21:39:20.860339 [ 6021 ] {a57f1cd4-8a99-4186-a786-f6bedeb25b95} executeQuery: Code: 253. DB::Exception: Replica 1 of shard 0 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_udsh4tct already exists. Replica host ID: 'd2f20edb504b:9000:144d5e4e-10a3-475c-9e73-7d1c90fb7cf5', current host ID: 'd2f20edb504b:9000:6302920e-a66e-4d90-82f9-6442889aa734'. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49932) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_udsh4tct_repl_01111_7 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_udsh4tct', '0', '1')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29b7a89a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29b5e721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29b61003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29bc0788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2ab3e3ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2ab5083f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:20.862314 [ 6021 ] {a57f1cd4-8a99-4186-a786-f6bedeb25b95} TCPHandler: Code: 253. DB::Exception: Replica 1 of shard 0 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_udsh4tct already exists. Replica host ID: 'd2f20edb504b:9000:144d5e4e-10a3-475c-9e73-7d1c90fb7cf5', current host ID: 'd2f20edb504b:9000:6302920e-a66e-4d90-82f9-6442889aa734'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29b7a89a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29b5e721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29b61003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29bc0788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2ab3e3ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2ab5083f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:22.314612 [ 1179 ] {df396d94-e90d-43c3-9e9f-dd2ba2310e2e} executeQuery: Code: 57. DB::Exception: Directory for table data store/9e9/9e9f9395-caf3-4a8d-a0bf-b1b045ff5977/ already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: /* ddl_entry=query-0000000006 */ CREATE TABLE test_udsh4tct_repl_01111_4.rmt_11356_20590_26508 UUID '9e9f9395-caf3-4a8d-a0bf-b1b045ff5977' (`n` Int32) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 40692, min_bytes_for_wide_part = 586054029, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 17259, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2072906218, index_granularity_bytes = 13350717), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4d2a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 11. /build/src/Interpreters/DDLWorker.cpp:477: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f636df in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:640: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f62464 in /usr/bin/clickhouse 13. /build/src/Interpreters/DDLWorker.cpp:422: DB::DDLWorker::scheduleTasks(bool) @ 0x29f60633 in /usr/bin/clickhouse 14. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x29f57da4 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29f74aa9 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29f74a2d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29f7497d in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29f748b2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29f74815 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29f747f5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29f747d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29f747a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:22.316186 [ 1179 ] {df396d94-e90d-43c3-9e9f-dd2ba2310e2e} DDLWorker(test_udsh4tct_repl_01111_4): Query /* ddl_entry=query-0000000006 */ CREATE TABLE test_udsh4tct_repl_01111_4.rmt_11356_20590_26508 UUID '9e9f9395-caf3-4a8d-a0bf-b1b045ff5977' (`n` Int32) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 40692, min_bytes_for_wide_part = 586054029, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 17259, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2072906218, index_granularity_bytes = 13350717 wasn't finished successfully: Code: 57. DB::Exception: Directory for table data store/9e9/9e9f9395-caf3-4a8d-a0bf-b1b045ff5977/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4d2a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 11. /build/src/Interpreters/DDLWorker.cpp:477: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f636df in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:640: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f62464 in /usr/bin/clickhouse 13. /build/src/Interpreters/DDLWorker.cpp:422: DB::DDLWorker::scheduleTasks(bool) @ 0x29f60633 in /usr/bin/clickhouse 14. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x29f57da4 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29f74aa9 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29f74a2d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29f7497d in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29f748b2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29f74815 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29f747f5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29f747d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29f747a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:22.318900 [ 1179 ] {} DDLWorker(test_udsh4tct_repl_01111_4): Unexpected error, will try to restart main thread: Code: 341. DB::Exception: Unexpected error: Code: 57. DB::Exception: Directory for table data store/9e9/9e9f9395-caf3-4a8d-a0bf-b1b045ff5977/ already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)). (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Interpreters/DDLWorker.cpp:660: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29f6273d in /usr/bin/clickhouse 7. /build/src/Interpreters/DDLWorker.cpp:422: DB::DDLWorker::scheduleTasks(bool) @ 0x29f60633 in /usr/bin/clickhouse 8. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x29f57da4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29f74aa9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29f74a2d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29f7497d in /usr/bin/clickhouse 12. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29f748b2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29f74815 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29f747f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29f747d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29f747a0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:22.510157 [ 8925 ] {18981858-8155-480b-89ce-5b2552373648} executeQuery: Code: 253. DB::Exception: Replica 0 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_udsh4tct already exists. Replica host ID: 'd2f20edb504b:9000:d1a34d9b-2a2c-44e8-a46f-843df8d9aff8', current host ID: 'd2f20edb504b:9000:7fd84a5f-4484-4cb4-9275-6a8191f40983'. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50036) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_udsh4tct_repl_01111_15 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_udsh4tct', '1', '0')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29b7a89a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29b5e721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29b61003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29bc0788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2ab3e3ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2ab5083f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:22.511803 [ 8925 ] {18981858-8155-480b-89ce-5b2552373648} TCPHandler: Code: 253. DB::Exception: Replica 0 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_udsh4tct already exists. Replica host ID: 'd2f20edb504b:9000:d1a34d9b-2a2c-44e8-a46f-843df8d9aff8', current host ID: 'd2f20edb504b:9000:7fd84a5f-4484-4cb4-9275-6a8191f40983'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29b7a89a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29b5e721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29b61003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29bc0788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2ab3e3ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2ab5083f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:23.009393 [ 9449 ] {} DDLWorker(test_udsh4tct_repl_01111_9): Error on initialization of test_udsh4tct_repl_01111_9: Code: 57. DB::Exception: Directory for table data store/9e9/9e9f9395-caf3-4a8d-a0bf-b1b045ff5977/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4d2a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:950: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int) @ 0x29b6d178 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:115: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x29b8afd4 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x29b89c5b in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1114: DB::DDLWorker::runMainThread() @ 0x29f577ad in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29f74aa9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29f74a2d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29f7497d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29f748b2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29f74815 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29f747f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29f747d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29f747a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:23.457133 [ 635 ] {dae5b03f-2f76-4b16-93b2-e9544c1cb131} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1083007 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50064) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:39:23.458570 [ 635 ] {dae5b03f-2f76-4b16-93b2-e9544c1cb131} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1083007 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:39:23.833513 [ 635 ] {e7cf07a2-b7d6-4d7d-89a2-2bf766d705ef} executeQuery: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 0, 'UInt32' :: 1) -> _CAST(value2, 'UInt32') UInt32 : 2': (while reading from part /var/lib/clickhouse/store/ae5/ae5226bd-70c0-4e60-bf2a-36447f94e1f2/all_0_0_0_1/): While executing MergeTreeThread. (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50080) (comment: 01079_bad_alters_zookeeper_long.sh) (in query: SELECT distinct(value2) FROM table_for_bad_alters), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x197dfa67 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x197da878 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x197c9159 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197c8488 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197c769e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19758470 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758406 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197583a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758340 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197582eb in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a00d66e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b37ba16 in /usr/bin/clickhouse 2024.03.27 21:39:23.836971 [ 635 ] {e7cf07a2-b7d6-4d7d-89a2-2bf766d705ef} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 0, 'UInt32' :: 1) -> _CAST(value2, 'UInt32') UInt32 : 2': (while reading from part /var/lib/clickhouse/store/ae5/ae5226bd-70c0-4e60-bf2a-36447f94e1f2/all_0_0_0_1/): While executing MergeTreeThread. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x19738f43 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x197dfa67 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x197da878 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x197c9159 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197c8488 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197c769e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19758470 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758406 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197583a0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19758340 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197582eb in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a00d66e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b37ba16 in /usr/bin/clickhouse 2024.03.27 21:39:25.205166 [ 1014 ] {22c848a6-3d1f-4797-8995-b4b60d7a5b0c} executeQuery: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55788) (comment: 01056_prepared_statements_null_and_escaping.sh) (in query: SELECT {x:Nullable(String)}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x2b3404f6 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:92: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b33fa4f in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f485 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:398: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b34e178 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:25.206265 [ 1014 ] {22c848a6-3d1f-4797-8995-b4b60d7a5b0c} DynamicQueryHandler: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x2b3404f6 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:92: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b33fa4f in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f485 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:398: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b34e178 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:25.222467 [ 1014 ] {9f127722-cbfc-4c90-b806-9fbfe86e6ba0} executeQuery: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46494) (comment: 01056_prepared_statements_null_and_escaping.sh) (in query: SELECT {x:Nullable(String)}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x2b3404f6 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:92: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b33fa4f in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f485 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:398: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b34e178 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:25.223373 [ 1014 ] {9f127722-cbfc-4c90-b806-9fbfe86e6ba0} DynamicQueryHandler: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x2b3404f6 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:92: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b33fa4f in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f485 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:398: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b34e178 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:26.130440 [ 635 ] {9b431d21-3d60-404e-b317-3bdf86015f10} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37834) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:39:26.131640 [ 635 ] {9b431d21-3d60-404e-b317-3bdf86015f10} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:39:26.909181 [ 18229 ] {1a6d6cb4-d9d5-4a19-9c74-4d5b79ed67e9} executeQuery: Code: 503. DB::Exception: Aggregate function aggThrow has thrown exception successfully: while executing 'FUNCTION arrayReduce('aggThrow(0.0001)' :: 1, range(modulo(number, 10)) :: 2) -> arrayReduce('aggThrow(0.0001)', range(modulo(number, 10))) UInt8 : 3'. (AGGREGATE_FUNCTION_THROW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37882) (comment: 01052_array_reduce_exception.sql) (in query: SELECT arrayReduce('aggThrow(0.0001)', range(number % 10)) FROM system.numbers FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAggThrow.cpp:71: DB::(anonymous namespace)::AggregateFunctionThrow::create(char*) const @ 0x25d1b827 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayReduce.cpp:161: DB::FunctionArrayReduce::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b32bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 2024.03.27 21:39:26.910450 [ 18229 ] {1a6d6cb4-d9d5-4a19-9c74-4d5b79ed67e9} TCPHandler: Code: 503. DB::Exception: Aggregate function aggThrow has thrown exception successfully: while executing 'FUNCTION arrayReduce('aggThrow(0.0001)' :: 1, range(modulo(number, 10)) :: 2) -> arrayReduce('aggThrow(0.0001)', range(modulo(number, 10))) UInt8 : 3'. (AGGREGATE_FUNCTION_THROW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAggThrow.cpp:71: DB::(anonymous namespace)::AggregateFunctionThrow::create(char*) const @ 0x25d1b827 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayReduce.cpp:161: DB::FunctionArrayReduce::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b32bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 2024.03.27 21:39:28.036274 [ 9449 ] {} DDLWorker(test_udsh4tct_repl_01111_9): Error on initialization of test_udsh4tct_repl_01111_9: Code: 57. DB::Exception: Directory for table data store/9e9/9e9f9395-caf3-4a8d-a0bf-b1b045ff5977/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4d2a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:950: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int) @ 0x29b6d178 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:115: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x29b8afd4 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x29b89c5b in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1114: DB::DDLWorker::runMainThread() @ 0x29f577ad in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29f74aa9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29f74a2d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29f7497d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29f748b2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29f74815 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29f747f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29f747d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29f747a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:39:28.280920 [ 8931 ] {359f87f7-f3f3-43ad-8941-4835cd2c9549} executeQuery: Code: 36. DB::Exception: Wrong index name. Cannot find index `idx2` to drop. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37922) (comment: 01079_bad_alters_zookeeper_long.sh) (in query: ALTER TABLE table_for_bad_alters DROP INDEX idx2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0476ec in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:554: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b803553 in /usr/bin/clickhouse 7. /build/src/Storages/AlterCommands.cpp:928: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b806405 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e55ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:28.282646 [ 8931 ] {359f87f7-f3f3-43ad-8941-4835cd2c9549} TCPHandler: Code: 36. DB::Exception: Wrong index name. Cannot find index `idx2` to drop. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0476ec in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:554: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b803553 in /usr/bin/clickhouse 7. /build/src/Storages/AlterCommands.cpp:928: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b806405 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e55ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:28.763358 [ 8925 ] {1a7648cb-8f06-497c-8664-3837a75b03aa} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37990) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:39:28.764750 [ 8925 ] {1a7648cb-8f06-497c-8664-3837a75b03aa} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:39:31.406926 [ 1012 ] {7e1966e7-5973-4d15-bbb4-ae61d86a67e5} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38074) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:39:31.408095 [ 1012 ] {7e1966e7-5973-4d15-bbb4-ae61d86a67e5} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:39:34.027743 [ 8925 ] {37335308-5c3d-44ba-a734-4bc49df74a56} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38186) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:39:34.029145 [ 8925 ] {37335308-5c3d-44ba-a734-4bc49df74a56} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:39:34.421366 [ 8931 ] {507a54e6-141a-4b71-8687-54d28ba8fc35} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.031499219 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38138) (comment: 01039_mergetree_exec_time.sql) (in query: select sum(sleep(0.1)) from tab settings max_block_size = 1, max_execution_time=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29904a0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29903e93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x29903da8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2af435d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:34.425892 [ 8931 ] {507a54e6-141a-4b71-8687-54d28ba8fc35} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.031499219 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29904a0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29903e93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x29903da8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2af435d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:36.696781 [ 8925 ] {010f5de7-37e4-4891-83f9-a7cdb08afc98} executeQuery: Code: 15. DB::Exception: Column time specified more than once. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55094) (comment: 01032_duplicate_column_insert_query.sql) (in query: INSERT INTO sometable (date, time, value, time) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:155: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2ad652a7 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:141: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2ad650d2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:344: DB::InterpreterInsertQuery::execute() @ 0x2ad66b46 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:36.696997 [ 1012 ] {2705a8ca-03d5-4510-8edb-f3fd881f3719} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55108) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:39:36.697710 [ 8925 ] {010f5de7-37e4-4891-83f9-a7cdb08afc98} TCPHandler: Code: 15. DB::Exception: Column time specified more than once. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:155: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2ad652a7 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:141: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2ad650d2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:344: DB::InterpreterInsertQuery::execute() @ 0x2ad66b46 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:36.698462 [ 1012 ] {2705a8ca-03d5-4510-8edb-f3fd881f3719} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:39:38.193864 [ 8925 ] {4c91fe27-950c-4d15-afc6-b670a01fdf72} executeQuery: Code: 43. DB::Exception: Function __getScalar accepts one const string argument: While processing _CAST(__getScalar(key) AS macro_tmp_alter17481071647852007912, 'String') AS macro: default expression and column type are incompatible. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55170) (comment: 01024__getScalar.sql) (in query: CREATE TABLE foo (key String, macro String MATERIALIZED __getScalar(key)) Engine=Null();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/getScalar.cpp:55: DB::(anonymous namespace)::FunctionGetScalar::getReturnTypeImpl(std::vector> const&) const @ 0x1cb4607d in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a041ed8 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a042243 in /usr/bin/clickhouse 25. /build/src/Storages/ColumnsDescription.cpp:847: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b8232c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:560: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab40a74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:39:38.195059 [ 8925 ] {4c91fe27-950c-4d15-afc6-b670a01fdf72} TCPHandler: Code: 43. DB::Exception: Function __getScalar accepts one const string argument: While processing _CAST(__getScalar(key) AS macro_tmp_alter17481071647852007912, 'String') AS macro: default expression and column type are incompatible. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/getScalar.cpp:55: DB::(anonymous namespace)::FunctionGetScalar::getReturnTypeImpl(std::vector> const&) const @ 0x1cb4607d in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a041ed8 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a042243 in /usr/bin/clickhouse 25. /build/src/Storages/ColumnsDescription.cpp:847: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b8232c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:560: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab40a74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:39:39.407041 [ 1012 ] {fc1d461e-6a30-45ac-8f81-ed8a6184f366} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55250) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:39:39.408544 [ 1012 ] {fc1d461e-6a30-45ac-8f81-ed8a6184f366} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:39:40.488425 [ 8927 ] {d54d2d19-326f-4cf3-884a-f22018d402d9} executeQuery: Code: 403. DB::Exception: JOIN system.one AS l ALL INNER JOIN system.one AS r ON l.dummy = l.dummy cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55302) (comment: 01018_ambiguous_column.sql) (in query: SELECT dummy FROM one l JOIN one r ON l.dummy = dummy;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerJoins.cpp:443: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x2ae5b93e in /usr/bin/clickhouse 7. /build/src/Planner/PlannerJoins.cpp:511: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae5a684 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerJoinTree.cpp:805: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x2ae45ca7 in /usr/bin/clickhouse 9. /build/src/Planner/PlannerJoinTree.cpp:1363: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x2ae41433 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:1134: DB::Planner::buildPlanForQueryNode() @ 0x2ae265eb in /usr/bin/clickhouse 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2ae25108 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2ae2315f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2ae22f3b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:40.489595 [ 8927 ] {d54d2d19-326f-4cf3-884a-f22018d402d9} TCPHandler: Code: 403. DB::Exception: JOIN system.one AS l ALL INNER JOIN system.one AS r ON l.dummy = l.dummy cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerJoins.cpp:443: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x2ae5b93e in /usr/bin/clickhouse 7. /build/src/Planner/PlannerJoins.cpp:511: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae5a684 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerJoinTree.cpp:805: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x2ae45ca7 in /usr/bin/clickhouse 9. /build/src/Planner/PlannerJoinTree.cpp:1363: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x2ae41433 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:1134: DB::Planner::buildPlanForQueryNode() @ 0x2ae265eb in /usr/bin/clickhouse 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2ae25108 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2ae2315f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2ae22f3b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:40.524019 [ 8927 ] {de5d32bc-bc50-456d-a4eb-e721e99428ec} executeQuery: Code: 403. DB::Exception: JOIN system.one AS l ALL INNER JOIN system.one AS r ON l.dummy = l.dummy cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55302) (comment: 01018_ambiguous_column.sql) (in query: SELECT dummy FROM one l JOIN one r ON l.dummy = one.dummy;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerJoins.cpp:443: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x2ae5b93e in /usr/bin/clickhouse 7. /build/src/Planner/PlannerJoins.cpp:511: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae5a684 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerJoinTree.cpp:805: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x2ae45ca7 in /usr/bin/clickhouse 9. /build/src/Planner/PlannerJoinTree.cpp:1363: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x2ae41433 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:1134: DB::Planner::buildPlanForQueryNode() @ 0x2ae265eb in /usr/bin/clickhouse 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2ae25108 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2ae2315f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2ae22f3b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:40.525163 [ 8927 ] {de5d32bc-bc50-456d-a4eb-e721e99428ec} TCPHandler: Code: 403. DB::Exception: JOIN system.one AS l ALL INNER JOIN system.one AS r ON l.dummy = l.dummy cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerJoins.cpp:443: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x2ae5b93e in /usr/bin/clickhouse 7. /build/src/Planner/PlannerJoins.cpp:511: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2ae5a684 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerJoinTree.cpp:805: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x2ae45ca7 in /usr/bin/clickhouse 9. /build/src/Planner/PlannerJoinTree.cpp:1363: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x2ae41433 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:1134: DB::Planner::buildPlanForQueryNode() @ 0x2ae265eb in /usr/bin/clickhouse 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2ae25108 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2ae2315f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2ae22f3b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:40.826573 [ 8960 ] {96c09584-bdec-4a5d-b8c8-796968dc27e2} executeQuery: Code: 53. DB::Exception: Cannot convert string a to type UInt8: While processing toUInt8(1) IN ('a'). (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55316) (comment: 01017_in_unconvertible_complex_type.sql) (in query: -- When left and right element types are not compatible, we should get an error. select (toUInt8(1)) in ('a');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:492: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b329782 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3260bd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:110: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x2a07e0cc in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:150: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2a07cde0 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:349: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a072387 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:458: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0718a4 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a07b447 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a075cdf in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:39:40.828211 [ 8960 ] {96c09584-bdec-4a5d-b8c8-796968dc27e2} TCPHandler: Code: 53. DB::Exception: Cannot convert string a to type UInt8: While processing toUInt8(1) IN ('a'). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:492: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b329782 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3260bd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:110: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x2a07e0cc in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:150: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2a07cde0 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:349: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a072387 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:458: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0718a4 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a07b447 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a075cdf in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:39:40.957459 [ 8960 ] {85e94f36-2a8e-43f5-b21f-8341ca216048} executeQuery: Code: 53. DB::Exception: Cannot convert string a to type UInt8: While processing [toUInt8(1)] IN ['a']. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55316) (comment: 01017_in_unconvertible_complex_type.sql) (in query: select [toUInt8(1)] in ['a'];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:492: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b329782 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3260bd in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:322: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b327a9a in /usr/bin/clickhouse 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3260bd in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:110: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x2a07e0cc in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:150: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2a07cde0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:349: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a072387 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:458: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0718a4 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a07b447 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a075cdf in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:39:40.958775 [ 8960 ] {85e94f36-2a8e-43f5-b21f-8341ca216048} TCPHandler: Code: 53. DB::Exception: Cannot convert string a to type UInt8: While processing [toUInt8(1)] IN ['a']. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:492: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b329782 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3260bd in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:322: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b327a9a in /usr/bin/clickhouse 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3260bd in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:110: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x2a07e0cc in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:150: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2a07cde0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:349: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a072387 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:458: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0718a4 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a07b447 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a075cdf in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:39:42.100113 [ 8927 ] {4d3b8f1d-6021-4384-a2b2-79606c7b7925} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1083023 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55396) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:39:42.101723 [ 8927 ] {4d3b8f1d-6021-4384-a2b2-79606c7b7925} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1083023 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:39:44.060384 [ 18229 ] {a8c355c3-0ea9-4464-832d-5bf6a4ef78bb} executeQuery: Code: 131. DB::Exception: Too many times to repeat (1000001), maximum is: 1000000: While processing length(repeat('x', 1000001)). (TOO_LARGE_STRING_SIZE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55462) (comment: 01014_function_repeat_corner_cases.sql) (in query: SELECT length(repeat('x', 1000001));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/repeat.cpp:30: DB::(anonymous namespace)::RepeatImpl::checkRepeatTime(unsigned long) @ 0x20d06925 in /usr/bin/clickhouse 7. /build/src/Functions/repeat.cpp:94: void DB::(anonymous namespace)::RepeatImpl::vectorStrVectorRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&) @ 0x20d0989b in /usr/bin/clickhouse 8. /build/src/Functions/repeat.cpp:229: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)::operator()>(auto const&) const @ 0x20d0863e in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)&&) @ 0x20d07d27 in /usr/bin/clickhouse 10. /build/src/Functions/repeat.cpp:175: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, auto&&) @ 0x20d05c9d in /usr/bin/clickhouse 11. /build/src/Functions/repeat.cpp:223: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d05541 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 2024.03.27 21:39:44.061873 [ 18229 ] {a8c355c3-0ea9-4464-832d-5bf6a4ef78bb} TCPHandler: Code: 131. DB::Exception: Too many times to repeat (1000001), maximum is: 1000000: While processing length(repeat('x', 1000001)). (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/repeat.cpp:30: DB::(anonymous namespace)::RepeatImpl::checkRepeatTime(unsigned long) @ 0x20d06925 in /usr/bin/clickhouse 7. /build/src/Functions/repeat.cpp:94: void DB::(anonymous namespace)::RepeatImpl::vectorStrVectorRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&) @ 0x20d0989b in /usr/bin/clickhouse 8. /build/src/Functions/repeat.cpp:229: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)::operator()>(auto const&) const @ 0x20d0863e in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)&&) @ 0x20d07d27 in /usr/bin/clickhouse 10. /build/src/Functions/repeat.cpp:175: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, auto&&) @ 0x20d05c9d in /usr/bin/clickhouse 11. /build/src/Functions/repeat.cpp:223: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d05541 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 2024.03.27 21:39:44.151274 [ 18229 ] {64a73381-1fff-4139-9acb-0e5319004f92} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 144.05 MiB (attempt to allocate chunk of 134223064 bytes), maximum: 95.37 MiB.: While processing length(repeat(repeat('Hello, world!', 1000000), 10)). (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55462) (comment: 01014_function_repeat_corner_cases.sql) (in query: SELECT length(repeat(repeat('Hello, world!', 1000000), 10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:90: void DB::(anonymous namespace)::RepeatImpl::vectorStrVectorRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&) @ 0x20d09332 in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:229: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)::operator()>(auto const&) const @ 0x20d083be in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)&&) @ 0x20d07c67 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:175: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, auto&&) @ 0x20d05c9d in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:223: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d05541 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 2024.03.27 21:39:44.152785 [ 18229 ] {64a73381-1fff-4139-9acb-0e5319004f92} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 144.05 MiB (attempt to allocate chunk of 134223064 bytes), maximum: 95.37 MiB.: While processing length(repeat(repeat('Hello, world!', 1000000), 10)). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x19722565 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197223f9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197221a6 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:90: void DB::(anonymous namespace)::RepeatImpl::vectorStrVectorRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&) @ 0x20d09332 in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:229: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)::operator()>(auto const&) const @ 0x20d083be in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)&&) @ 0x20d07c67 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:175: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, auto&&) @ 0x20d05c9d in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:223: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d05541 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 2024.03.27 21:39:44.735018 [ 8960 ] {78425201-6582-424e-b09d-0137448f038e} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 2.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55526) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:39:44.736269 [ 8960 ] {78425201-6582-424e-b09d-0137448f038e} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 2.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b976b5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bbfb544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc181ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc18014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17dd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc17ad7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc1794a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc05936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bbfe0f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:39:46.323631 [ 18229 ] {dbf5a581-db3d-45b2-a7af-5fc6f7da13bb} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40102) (comment: 01017_mutations_with_nondeterministic_functions_zookeeper.sh) (in query: ALTER TABLE table_1017_1 DELETE WHERE ignore(rand())), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1258: DB::MutationsInterpreter::validate() @ 0x2af1f941 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b9a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:46.325527 [ 18229 ] {dbf5a581-db3d-45b2-a7af-5fc6f7da13bb} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1258: DB::MutationsInterpreter::validate() @ 0x2af1f941 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b9a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:47.173294 [ 8960 ] {a4d8ded2-09c9-4bdd-908b-9bb197ec749d} executeQuery: Code: 191. DB::Exception: Limit for JOIN exceeded, max rows: 1.00 thousand, current rows: 4.00 thousand: While executing FillingRightJoinSide. (SET_SIZE_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40126) (comment: 01010_pmj_on_disk.sql) (in query: SELECT n, j FROM (SELECT number AS n FROM numbers(4)) nums ANY LEFT JOIN ( SELECT number * 2 AS n, number + 10 AS j FROM numbers(4000) ) js2 USING n ORDER BY n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x29925268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x29924d8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299250d9 in /usr/bin/clickhouse 8. /build/src/Interpreters/HashJoin.cpp:842: DB::HashJoin::addJoinedBlock(DB::Block const&, bool) @ 0x2a5fdd95 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:308: DB::FillingRightJoinSideTransform::work() @ 0x2cc6b6ef in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 2024.03.27 21:39:47.175718 [ 8960 ] {a4d8ded2-09c9-4bdd-908b-9bb197ec749d} TCPHandler: Code: 191. DB::Exception: Limit for JOIN exceeded, max rows: 1.00 thousand, current rows: 4.00 thousand: While executing FillingRightJoinSide. (SET_SIZE_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x29925268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x29924d8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299250d9 in /usr/bin/clickhouse 8. /build/src/Interpreters/HashJoin.cpp:842: DB::HashJoin::addJoinedBlock(DB::Block const&, bool) @ 0x2a5fdd95 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:308: DB::FillingRightJoinSideTransform::work() @ 0x2cc6b6ef in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 2024.03.27 21:39:47.446088 [ 8960 ] {a6622a5f-c8d3-42a0-85dd-16e21b01f631} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40170) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x22184f8d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x22184f0a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6470b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x197f1a5b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28d2a8a6 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c82e207 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c82e0a1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c82e055 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c82e039 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c82df9d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c82dea2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c82de15 in /usr/bin/clickhouse 2024.03.27 21:39:47.447824 [ 8960 ] {a6622a5f-c8d3-42a0-85dd-16e21b01f631} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x22184f8d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x22184f0a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6470b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x197f1a5b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28d2a8a6 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c82e207 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c82e0a1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c82e055 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c82e039 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c82df9d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c82dea2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c82de15 in /usr/bin/clickhouse 2024.03.27 21:39:47.658670 [ 18229 ] {c9f4086f-6946-450f-873d-8eb5d70efdad} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40186) (comment: 01017_mutations_with_nondeterministic_functions_zookeeper.sh) (in query: ALTER TABLE table_1017_1 UPDATE y = y + rand() % 1 WHERE not ignore()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1258: DB::MutationsInterpreter::validate() @ 0x2af1f941 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b9a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:47.660351 [ 18229 ] {c9f4086f-6946-450f-873d-8eb5d70efdad} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1258: DB::MutationsInterpreter::validate() @ 0x2af1f941 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b9a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:50.120730 [ 8960 ] {60835aae-9cf7-4035-a5f1-783ca09ad2e4} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 8.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40272) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x22184f8d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x22184f0a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6470b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x197f1a5b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28d2a8a6 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c82e207 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c82e0a1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c82e055 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c82e039 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c82df9d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c82dea2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c82de15 in /usr/bin/clickhouse 2024.03.27 21:39:50.122848 [ 8960 ] {60835aae-9cf7-4035-a5f1-783ca09ad2e4} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 8.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x22184f8d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x22184f0a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6470b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x197f1a5b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28d2a8a6 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c82e207 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c82e0a1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c82e055 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c82e039 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c82df9d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c82dea2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c82de15 in /usr/bin/clickhouse 2024.03.27 21:39:50.261618 [ 8960 ] {48817bde-959c-4a09-a38e-a9bc33b91d0b} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40278) (comment: 01017_mutations_with_nondeterministic_functions_zookeeper.sh) (in query: ALTER TABLE table_1017_1 UPDATE y = x + arrayCount(x -> (rand() + x) % 2, range(y)) WHERE not ignore()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1258: DB::MutationsInterpreter::validate() @ 0x2af1f941 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b9a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:50.263735 [ 8960 ] {48817bde-959c-4a09-a38e-a9bc33b91d0b} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1258: DB::MutationsInterpreter::validate() @ 0x2af1f941 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b9a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:53.003359 [ 8960 ] {2f008c66-6301-4380-8ae1-8f5b508abcde} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 17.70 MiB (attempt to allocate chunk of 3145535 bytes), maximum: 16.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40370) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::alloc<>(unsigned long) @ 0x22200ae5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::realloc<>(unsigned long) @ 0x22200976 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::resize<>(unsigned long) @ 0x2985c8a6 in /usr/bin/clickhouse 14. /build/src/Compression/CompressedWriteBuffer.cpp:50: DB::CompressedWriteBuffer::nextImpl() @ 0x2985e79a in /usr/bin/clickhouse 15. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x19725e37 in /usr/bin/clickhouse 16. /build/src/IO/WriteBuffer.h:72: DB::WriteBuffer::nextIfAtEnd() @ 0x197276f8 in /usr/bin/clickhouse 17. /build/src/IO/WriteBuffer.h:87: DB::WriteBuffer::write(char const*, unsigned long) @ 0x1973a653 in /usr/bin/clickhouse 18. /build/src/DataTypes/Serializations/SerializationNumber.cpp:146: DB::SerializationNumber::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x29ae443b in /usr/bin/clickhouse 19. /build/src/DataTypes/Serializations/ISerialization.cpp:115: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x29a95a42 in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:484: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&) @ 0x2bbfa95c in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:370: DB::LogSink::consume(DB::Chunk) @ 0x2bbfa467 in /usr/bin/clickhouse 22. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 31. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 2024.03.27 21:39:53.005344 [ 8960 ] {2f008c66-6301-4380-8ae1-8f5b508abcde} FileChecker: Will truncate file store/a52/a5249e27-1423-4a35-9a2a-ba346d874f6a/x.bin that has size 4001641 to size 0 2024.03.27 21:39:53.007937 [ 8960 ] {2f008c66-6301-4380-8ae1-8f5b508abcde} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 17.70 MiB (attempt to allocate chunk of 3145535 bytes), maximum: 16.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::alloc<>(unsigned long) @ 0x22200ae5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::realloc<>(unsigned long) @ 0x22200976 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::resize<>(unsigned long) @ 0x2985c8a6 in /usr/bin/clickhouse 14. /build/src/Compression/CompressedWriteBuffer.cpp:50: DB::CompressedWriteBuffer::nextImpl() @ 0x2985e79a in /usr/bin/clickhouse 15. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x19725e37 in /usr/bin/clickhouse 16. /build/src/IO/WriteBuffer.h:72: DB::WriteBuffer::nextIfAtEnd() @ 0x197276f8 in /usr/bin/clickhouse 17. /build/src/IO/WriteBuffer.h:87: DB::WriteBuffer::write(char const*, unsigned long) @ 0x1973a653 in /usr/bin/clickhouse 18. /build/src/DataTypes/Serializations/SerializationNumber.cpp:146: DB::SerializationNumber::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x29ae443b in /usr/bin/clickhouse 19. /build/src/DataTypes/Serializations/ISerialization.cpp:115: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x29a95a42 in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:484: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&) @ 0x2bbfa95c in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:370: DB::LogSink::consume(DB::Chunk) @ 0x2bbfa467 in /usr/bin/clickhouse 22. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 31. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 2024.03.27 21:39:55.579356 [ 8960 ] {613f47dd-5ac1-4a7f-aaa2-6f64b63b909b} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'dictHas' is non-deterministic. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33314) (comment: 01017_mutations_with_nondeterministic_functions_zookeeper.sh) (in query: ALTER TABLE table_1017_1 DELETE WHERE dictHas('test_ca95svhz.dict1', toUInt64(x))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1258: DB::MutationsInterpreter::validate() @ 0x2af1f941 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b9a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:39:55.580880 [ 8960 ] {613f47dd-5ac1-4a7f-aaa2-6f64b63b909b} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'dictHas' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1258: DB::MutationsInterpreter::validate() @ 0x2af1f941 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b9a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:04.481128 [ 8929 ] {5990970e-5867-43a1-bae0-16caddbf65a0} executeQuery: Code: 469. DB::Exception: Constraint `a_constraint` for table test_1yr38qnc.replicated_constraints1 (1f807e55-9ef0-4c9a-8bff-1105cc46e07a) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33764) (comment: 00988_constraints_replication_zookeeper_long.sql) (in query: INSERT INTO replicated_constraints1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:04.482505 [ 8929 ] {5990970e-5867-43a1-bae0-16caddbf65a0} TCPHandler: Code: 469. DB::Exception: Constraint `a_constraint` for table test_1yr38qnc.replicated_constraints1 (1f807e55-9ef0-4c9a-8bff-1105cc46e07a) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:04.762902 [ 8929 ] {88954215-f1c5-46e5-bcd9-c4b0254e6c74} executeQuery: Code: 469. DB::Exception: Constraint `a_constraint` for table test_1yr38qnc.replicated_constraints1 (1f807e55-9ef0-4c9a-8bff-1105cc46e07a) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33764) (comment: 00988_constraints_replication_zookeeper_long.sql) (in query: INSERT INTO replicated_constraints1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:04.764230 [ 8929 ] {88954215-f1c5-46e5-bcd9-c4b0254e6c74} TCPHandler: Code: 469. DB::Exception: Constraint `a_constraint` for table test_1yr38qnc.replicated_constraints1 (1f807e55-9ef0-4c9a-8bff-1105cc46e07a) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:04.776748 [ 8929 ] {07d02e0e-69e3-4c9f-bfe9-54160dc1a9ee} executeQuery: Code: 469. DB::Exception: Constraint `b_constraint` for table test_1yr38qnc.replicated_constraints2 (91d21be5-b0bb-4522-a3b0-e621e3c427d4) is violated at row 1. Expression: (b > 10). Column values: b = 10. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33764) (comment: 00988_constraints_replication_zookeeper_long.sql) (in query: INSERT INTO replicated_constraints2 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:04.778079 [ 8929 ] {07d02e0e-69e3-4c9f-bfe9-54160dc1a9ee} TCPHandler: Code: 469. DB::Exception: Constraint `b_constraint` for table test_1yr38qnc.replicated_constraints2 (91d21be5-b0bb-4522-a3b0-e621e3c427d4) is violated at row 1. Expression: (b > 10). Column values: b = 10. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:05.079690 [ 2750 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:33676). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ab9546c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ab94828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c7a7fa6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 15. ? @ 0x7f2098f50609 in ? 16. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:40:05.171627 [ 8947 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:33388). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ab9546c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ab94828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c7a7fa6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 15. ? @ 0x7f2098f50609 in ? 16. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:40:12.689850 [ 2750 ] {31dce997-1bdc-4876-9828-552492e14c08} executeQuery: Code: 403. DB::Exception: No inequality in ASOF JOIN ON section. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42428) (comment: 00976_asof_join_on.sql) (in query: SELECT count() FROM A ASOF JOIN B ON A.a == B.b AND A.t == B.t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [39]) @ 0x1a9e965e in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:80: DB::CollectJoinOnKeysMatcher::Data::asofToJoinKeys() @ 0x2b2cc0d1 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:660: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2341a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:12.691045 [ 2750 ] {31dce997-1bdc-4876-9828-552492e14c08} TCPHandler: Code: 403. DB::Exception: No inequality in ASOF JOIN ON section. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [39]) @ 0x1a9e965e in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:80: DB::CollectJoinOnKeysMatcher::Data::asofToJoinKeys() @ 0x2b2cc0d1 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:660: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2341a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:12.701046 [ 2750 ] {dd2f4f9d-6a29-4db8-a9c7-eaa86f38f7c9} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 't != B.t': While processing t != B.t. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42428) (comment: 00976_asof_join_on.sql) (in query: SELECT count() FROM A ASOF JOIN B ON A.a == B.b AND A.t != B.t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cd366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b244be4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2449e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244de1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b244825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b233e9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:40:12.702365 [ 2750 ] {dd2f4f9d-6a29-4db8-a9c7-eaa86f38f7c9} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 't != B.t': While processing t != B.t. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cd366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b244be4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2449e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244de1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b244e86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b244dee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b24496a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b244825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b233e9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:40:12.819178 [ 2750 ] {dec25721-fa23-4f0c-aa19-6462ad159d53} executeQuery: Code: 48. DB::Exception: ASOF join doesn't support multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42428) (comment: 00976_asof_join_on.sql) (in query: SELECT A.a, A.t, B.b, B.t FROM A ASOF JOIN B ON A.a == B.b AND A.t < B.t OR A.a == B.b + 1 ORDER BY (A.a, A.t);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20d9db5e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:659: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b234159 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:12.820505 [ 2750 ] {dec25721-fa23-4f0c-aa19-6462ad159d53} TCPHandler: Code: 48. DB::Exception: ASOF join doesn't support multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20d9db5e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:659: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b234159 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:15.533853 [ 1014 ] {6080266a-dd37-4c28-a914-ab0e3b022f7d} executeQuery: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 2 at left, 1 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41942) (comment: 00981_in_subquery_with_tuple.sh) (in query: SELECT * FROM bug WHERE (s, d) IN (SELECT (s, max(d)) FROM bug GROUP BY s) ORDER BY d), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19b62cac in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:399: DB::Set::checkColumnsNumber(unsigned long) const @ 0x2b0abd68 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1220: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c01dff7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c01f5dc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:847: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c02d9c8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d985 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d945 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d905 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d8cd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c054066 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c053ea5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c053bb8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x2c04584a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:845: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c01b759 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, DB::KeyCondition*>(DB::KeyCondition*, std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cf361b2 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cf3608a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, void>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cf2d92a in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1273: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1f6c2 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:40:15.536420 [ 1014 ] {6080266a-dd37-4c28-a914-ab0e3b022f7d} TCPHandler: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 2 at left, 1 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19b62cac in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:399: DB::Set::checkColumnsNumber(unsigned long) const @ 0x2b0abd68 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1220: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c01dff7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c01f5dc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:847: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c02d9c8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d985 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d945 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d905 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d8cd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c054066 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c053ea5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c053bb8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x2c04584a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:845: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c01b759 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, DB::KeyCondition*>(DB::KeyCondition*, std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cf361b2 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cf3608a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, void>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cf2d92a in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1273: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1f6c2 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:40:16.014024 [ 2750 ] {36e7c6a6-5e51-4460-a450-3262b1543c2f} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 3.001315993 seconds, maximum: 3. (TIMEOUT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42456) (comment: 00976_max_execution_speed.sql) (in query: SELECT count() FROM system.numbers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29904a0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29903e93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x29903da8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2af435d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:16.016962 [ 2750 ] {36e7c6a6-5e51-4460-a450-3262b1543c2f} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 3.001315993 seconds, maximum: 3. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29904a0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x29903e93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x29903da8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2af435d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:16.923188 [ 1014 ] {182ea862-0ae7-4641-8868-83c9204eb11d} executeQuery: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 3 at left, 2 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41986) (comment: 00981_in_subquery_with_tuple.sh) (in query: SELECT * FROM bug WHERE (s, d, s) IN (SELECT s, max(d) FROM bug GROUP BY s)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19b62cac in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:399: DB::Set::checkColumnsNumber(unsigned long) const @ 0x2b0abd68 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1220: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c01dff7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c01f5dc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:847: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c02d9c8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d985 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d945 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d905 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d8cd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c054066 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c053ea5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c053bb8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x2c04584a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:845: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c01b759 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, DB::KeyCondition*>(DB::KeyCondition*, std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cf361b2 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cf3608a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, void>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cf2d92a in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1273: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1f6c2 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:40:16.925465 [ 1014 ] {182ea862-0ae7-4641-8868-83c9204eb11d} TCPHandler: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 3 at left, 2 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19b62cac in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:399: DB::Set::checkColumnsNumber(unsigned long) const @ 0x2b0abd68 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1220: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c01dff7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c01f5dc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:847: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c02d9c8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d985 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d945 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d905 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d8cd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c054066 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c053ea5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c053bb8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x2c04584a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:845: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c01b759 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, DB::KeyCondition*>(DB::KeyCondition*, std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cf361b2 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cf3608a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, void>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cf2d92a in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1273: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1f6c2 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:40:17.226159 [ 1014 ] {50636e89-50e9-461d-be87-25db596ef009} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42012) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x201950be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f4b6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:17.227217 [ 1014 ] {50636e89-50e9-461d-be87-25db596ef009} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x201950be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f4b6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:17.701798 [ 1014 ] {33adc37a-8845-4552-8f6d-577a72029f57} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 900.00 thousand, current rows: 1.00 million. (TOO_MANY_ROWS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42026) (comment: 00971_merge_tree_uniform_read_distribution_and_max_rows_to_read.sql) (in query: -- constant ignore will be pruned by part pruner. ignore(*) is used. SELECT count() FROM merge_tree WHERE not ignore(*);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x29925268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x29924d8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299250d9 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:168: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x2cf16423 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23cc6 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:17.702859 [ 1014 ] {33adc37a-8845-4552-8f6d-577a72029f57} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 900.00 thousand, current rows: 1.00 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x29925268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x29924d8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299250d9 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:168: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x2cf16423 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23cc6 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:17.720723 [ 1014 ] {5e60b533-19cd-411b-9f4f-ee4c471431f1} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 900.00 thousand, current rows: 1.00 million. (TOO_MANY_ROWS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42026) (comment: 00971_merge_tree_uniform_read_distribution_and_max_rows_to_read.sql) (in query: SELECT count() FROM merge_tree WHERE not ignore(*);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x29925268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x29924d8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299250d9 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:168: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x2cf16423 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23cc6 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:17.722019 [ 1014 ] {5e60b533-19cd-411b-9f4f-ee4c471431f1} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 900.00 thousand, current rows: 1.00 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x29925268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x29924d8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299250d9 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:168: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x2cf16423 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23cc6 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:18.237345 [ 1014 ] {3695fd8e-f836-452c-88f2-d17ab913065a} executeQuery: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 2 at left, 3 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42046) (comment: 00981_in_subquery_with_tuple.sh) (in query: SELECT * FROM bug WHERE (s, d) IN (SELECT s, max(d), s FROM bug GROUP BY s)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19b62cac in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:399: DB::Set::checkColumnsNumber(unsigned long) const @ 0x2b0abd68 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1220: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c01dff7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c01f5dc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:847: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c02d9c8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d985 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d945 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d905 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d8cd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c054066 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c053ea5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c053bb8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x2c04584a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:845: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c01b759 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, DB::KeyCondition*>(DB::KeyCondition*, std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cf361b2 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cf3608a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, void>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cf2d92a in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1273: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1f6c2 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:40:18.239633 [ 1014 ] {3695fd8e-f836-452c-88f2-d17ab913065a} TCPHandler: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 2 at left, 3 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19b62cac in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:399: DB::Set::checkColumnsNumber(unsigned long) const @ 0x2b0abd68 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1220: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c01dff7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c01f5dc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:847: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c02d9c8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d985 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d945 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d905 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d8cd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c054066 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c053ea5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c053bb8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x2c04584a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:845: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c01b759 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, DB::KeyCondition*>(DB::KeyCondition*, std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cf361b2 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cf3608a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, void>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cf2d92a in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1273: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1f6c2 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:40:19.728687 [ 1012 ] {b9341a16-8c53-4403-9a12-761799c9596f} executeQuery: Code: 53. DB::Exception: Types of column 2 in section IN don't match: DateTime on the left, Date on the right. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42090) (comment: 00981_in_subquery_with_tuple.sh) (in query: SELECT * FROM bug WHERE (s, toDateTime(d)) IN (SELECT s, max(d) FROM bug GROUP BY s)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:419: DB::Set::checkTypesEqual(unsigned long, std::shared_ptr const&) const @ 0x2b0ac5ba in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1222: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c01e084 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c01f5dc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:784: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c02d728 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&>()(std::declval(), std::declval())) std::__invoke[abi:v15000] const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d6e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d6a5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d665 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d62d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c054066 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c053ea5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c053bb8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:218: DB::RPNBuilder::RPNBuilder(std::shared_ptr const&, std::shared_ptr, DB::Block, std::shared_ptr, std::function const&) @ 0x2c045667 in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:779: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c01ac35 in /usr/bin/clickhouse 19. /build/src/Storages/MergeTree/KeyCondition.cpp:795: DB::KeyCondition::KeyCondition(DB::SelectQueryInfo const&, std::shared_ptr, std::vector> const&, std::shared_ptr const&, bool, bool) @ 0x2c01b152 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::vector>&, std::shared_ptr&, DB::KeyCondition*>(DB::KeyCondition*, DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c210ac7 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::vector>&, std::shared_ptr&>(DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c2109fe in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::vector>&, std::shared_ptr&, void>(DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c20b922 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:822: DB::MergeTreeDataSelectExecutor::filterPartsByPartition(std::vector, std::allocator>>&, std::optional, std::equal_to, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::unordered_map, std::equal_to, std::allocator>> const*, std::shared_ptr, std::vector>&) @ 0x2c1fc050 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1301: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf20228 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 29. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 30. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 2024.03.27 21:40:19.731110 [ 1012 ] {b9341a16-8c53-4403-9a12-761799c9596f} TCPHandler: Code: 53. DB::Exception: Types of column 2 in section IN don't match: DateTime on the left, Date on the right. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:419: DB::Set::checkTypesEqual(unsigned long, std::shared_ptr const&) const @ 0x2b0ac5ba in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1222: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c01e084 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c01f5dc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:784: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c02d728 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&>()(std::declval(), std::declval())) std::__invoke[abi:v15000] const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d6e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d6a5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d665 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d62d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c054066 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c053ea5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c053bb8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:218: DB::RPNBuilder::RPNBuilder(std::shared_ptr const&, std::shared_ptr, DB::Block, std::shared_ptr, std::function const&) @ 0x2c045667 in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:779: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c01ac35 in /usr/bin/clickhouse 19. /build/src/Storages/MergeTree/KeyCondition.cpp:795: DB::KeyCondition::KeyCondition(DB::SelectQueryInfo const&, std::shared_ptr, std::vector> const&, std::shared_ptr const&, bool, bool) @ 0x2c01b152 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::vector>&, std::shared_ptr&, DB::KeyCondition*>(DB::KeyCondition*, DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c210ac7 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::vector>&, std::shared_ptr&>(DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c2109fe in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::vector>&, std::shared_ptr&, void>(DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c20b922 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:822: DB::MergeTreeDataSelectExecutor::filterPartsByPartition(std::vector, std::allocator>>&, std::optional, std::equal_to, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::unordered_map, std::equal_to, std::allocator>> const*, std::shared_ptr, std::vector>&) @ 0x2c1fc050 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1301: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf20228 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 29. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 30. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 2024.03.27 21:40:20.612097 [ 1012 ] {1604842e-7fa8-430a-84d1-7a9e3b7cdb00} executeQuery: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 0, should be from 2 to 3: While processing neighbor(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42114) (comment: 00957_neighbor.sql) (in query: -- no arguments select neighbor();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1703cc in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fd3ae91 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:20.613315 [ 1012 ] {1604842e-7fa8-430a-84d1-7a9e3b7cdb00} TCPHandler: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 0, should be from 2 to 3: While processing neighbor(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1703cc in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fd3ae91 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:20.622489 [ 1012 ] {d8fce938-9d80-4dfd-a20f-087dcfbe390d} executeQuery: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 1, should be from 2 to 3: While processing neighbor(1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42114) (comment: 00957_neighbor.sql) (in query: -- single argument select neighbor(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1703cc in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fd3ae91 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:20.623520 [ 1012 ] {d8fce938-9d80-4dfd-a20f-087dcfbe390d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 1, should be from 2 to 3: While processing neighbor(1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1703cc in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fd3ae91 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:20.631953 [ 1012 ] {9288f565-f18a-4b23-a76e-bcf3d20361a9} executeQuery: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 4, should be from 2 to 3: While processing neighbor(1, 2, 3, 4). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42114) (comment: 00957_neighbor.sql) (in query: -- greater than 3 arguments select neighbor(1,2,3,4);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1703cc in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fd3ae91 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:20.632938 [ 1012 ] {9288f565-f18a-4b23-a76e-bcf3d20361a9} TCPHandler: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 4, should be from 2 to 3: While processing neighbor(1, 2, 3, 4). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1703cc in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fd3ae91 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:20.742214 [ 1012 ] {572d1a03-f8a9-4c4e-ace5-250061bd06d1} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of them are String/FixedString and some of them are not: While processing neighbor(dummy, 1, 'hello'). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42114) (comment: 00957_neighbor.sql) (in query: -- bad default value select neighbor(dummy, 1, 'hello');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2019ac8c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29a7cfc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29a812ef in /usr/bin/clickhouse 8. /build/src/Functions/neighbor.cpp:78: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fd3b2d1 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:20.743422 [ 1012 ] {572d1a03-f8a9-4c4e-ace5-250061bd06d1} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of them are String/FixedString and some of them are not: While processing neighbor(dummy, 1, 'hello'). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2019ac8c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29a7cfc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29a812ef in /usr/bin/clickhouse 8. /build/src/Functions/neighbor.cpp:78: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fd3b2d1 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:20.857563 [ 1012 ] {83cd5496-c8f0-443b-918b-a5f196f8fbd1} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing number, neighbor(number, 1, -10). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42114) (comment: 00957_neighbor.sql) (in query: -- types without common supertype (UInt64 and Int8) select number, neighbor(number, 1, -10) from numbers(3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2019ac8c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x29a7db06 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:137: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x29a7d484 in /usr/bin/clickhouse 8. /build/src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29a823d8 in /usr/bin/clickhouse 9. /build/src/Functions/neighbor.cpp:78: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fd3b2d1 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:40:20.858886 [ 1012 ] {83cd5496-c8f0-443b-918b-a5f196f8fbd1} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing number, neighbor(number, 1, -10). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2019ac8c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x29a7db06 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:137: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x29a7d484 in /usr/bin/clickhouse 8. /build/src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29a823d8 in /usr/bin/clickhouse 9. /build/src/Functions/neighbor.cpp:78: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fd3b2d1 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:40:20.982800 [ 1012 ] {51a18ea8-01f2-4d16-a792-7910ab9168ad} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(UInt64) of second argument of function neighbor - should be an integer: While processing number, if(number > 1, number, NULL) AS offset, neighbor(number, offset). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42114) (comment: 00957_neighbor.sql) (in query: -- nullable offset is not allowed select number, if(number > 1, number, null) as offset, neighbor(number, offset) from numbers(3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:70: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fd3afe4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:20.984343 [ 1012 ] {51a18ea8-01f2-4d16-a792-7910ab9168ad} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(UInt64) of second argument of function neighbor - should be an integer: While processing number, if(number > 1, number, NULL) AS offset, neighbor(number, offset). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:70: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fd3afe4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:21.092787 [ 1014 ] {c55835b2-fa1c-4dac-9912-59fad6768efb} executeQuery: Code: 53. DB::Exception: Types of column 2 in section IN don't match: Date on the left, DateTime on the right. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42126) (comment: 00981_in_subquery_with_tuple.sh) (in query: SELECT * FROM bug WHERE (s, d) IN (SELECT s, toDateTime(max(d)) FROM bug GROUP BY s)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:419: DB::Set::checkTypesEqual(unsigned long, std::shared_ptr const&) const @ 0x2b0ac5ba in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1222: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c01e084 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c01f5dc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:784: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c02d728 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&>()(std::declval(), std::declval())) std::__invoke[abi:v15000] const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d6e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d6a5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d665 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d62d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c054066 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c053ea5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c053bb8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:218: DB::RPNBuilder::RPNBuilder(std::shared_ptr const&, std::shared_ptr, DB::Block, std::shared_ptr, std::function const&) @ 0x2c045667 in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:779: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c01ac35 in /usr/bin/clickhouse 19. /build/src/Storages/MergeTree/KeyCondition.cpp:795: DB::KeyCondition::KeyCondition(DB::SelectQueryInfo const&, std::shared_ptr, std::vector> const&, std::shared_ptr const&, bool, bool) @ 0x2c01b152 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::vector>&, std::shared_ptr&, DB::KeyCondition*>(DB::KeyCondition*, DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c210ac7 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::vector>&, std::shared_ptr&>(DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c2109fe in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::vector>&, std::shared_ptr&, void>(DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c20b922 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:822: DB::MergeTreeDataSelectExecutor::filterPartsByPartition(std::vector, std::allocator>>&, std::optional, std::equal_to, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::unordered_map, std::equal_to, std::allocator>> const*, std::shared_ptr, std::vector>&) @ 0x2c1fc050 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1301: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf20228 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 29. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 30. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 2024.03.27 21:40:21.095106 [ 1014 ] {c55835b2-fa1c-4dac-9912-59fad6768efb} TCPHandler: Code: 53. DB::Exception: Types of column 2 in section IN don't match: Date on the left, DateTime on the right. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:419: DB::Set::checkTypesEqual(unsigned long, std::shared_ptr const&) const @ 0x2b0ac5ba in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1222: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c01e084 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c01f5dc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:784: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c02d728 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&>()(std::declval(), std::declval())) std::__invoke[abi:v15000] const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d6e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d6a5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d665 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c02d62d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c054066 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c053ea5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c053bb8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:218: DB::RPNBuilder::RPNBuilder(std::shared_ptr const&, std::shared_ptr, DB::Block, std::shared_ptr, std::function const&) @ 0x2c045667 in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:779: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c01ac35 in /usr/bin/clickhouse 19. /build/src/Storages/MergeTree/KeyCondition.cpp:795: DB::KeyCondition::KeyCondition(DB::SelectQueryInfo const&, std::shared_ptr, std::vector> const&, std::shared_ptr const&, bool, bool) @ 0x2c01b152 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::vector>&, std::shared_ptr&, DB::KeyCondition*>(DB::KeyCondition*, DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c210ac7 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::vector>&, std::shared_ptr&>(DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c2109fe in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::vector>&, std::shared_ptr&, void>(DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c20b922 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:822: DB::MergeTreeDataSelectExecutor::filterPartsByPartition(std::vector, std::allocator>>&, std::optional, std::equal_to, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::unordered_map, std::equal_to, std::allocator>> const*, std::shared_ptr, std::vector>&) @ 0x2c1fc050 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1301: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf20228 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cf1ef87 in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cf1e84a in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cf22b6d in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf23c7b in /usr/bin/clickhouse 29. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 30. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 2024.03.27 21:40:21.548140 [ 1014 ] {3907ccc8-40d9-4d27-ba7c-7301829a90c4} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42142) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x201950be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f4b6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:21.549253 [ 1014 ] {3907ccc8-40d9-4d27-ba7c-7301829a90c4} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x201950be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f4b6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:25.830580 [ 8960 ] {feec2602-524f-4698-b847-990dc4cee173} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47134) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x201950be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f4b6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:25.831382 [ 8960 ] {feec2602-524f-4698-b847-990dc4cee173} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x201950be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f4b6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:30.246634 [ 8244 ] {570e6814-627d-404c-8ea4-952e04e20d0d} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47258) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x201950be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f4b6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:30.247597 [ 8244 ] {570e6814-627d-404c-8ea4-952e04e20d0d} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x201950be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f4b6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:32.982378 [ 1409 ] {} InterserverIOHTTPHandler: Code: 221. DB::Exception: No interserver IO endpoint named DataPartsExchange:/clickhouse/tables/01-01/visits/replicas/some.server.com. (NO_SUCH_INTERSERVER_IO_ENDPOINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterserverIOHandler.h:80: DB::InterserverIOHandler::getEndpoint(String const&) const @ 0x2c753ab2 in /usr/bin/clickhouse 7. /build/src/Server/InterserverIOHTTPHandler.cpp:62: DB::InterserverIOHTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::InterserverIOHTTPHandler::Output&) @ 0x2c7510b8 in /usr/bin/clickhouse 8. /build/src/Server/InterserverIOHTTPHandler.cpp:116: DB::InterserverIOHTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c751707 in /usr/bin/clickhouse 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 15. ? @ 0x7f2098f50609 in ? 16. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:40:34.593678 [ 1014 ] {b6e60300-bd71-451e-8701-4760a7d5f99a} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47400) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x201950be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f4b6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:34.594659 [ 1014 ] {b6e60300-bd71-451e-8701-4760a7d5f99a} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x201950be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f4b6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:36.233825 [ 8947 ] {c8a0f4ef-93d5-4d4f-8901-237ad8160403} executeQuery: Code: 456. DB::Exception: Query parameter `s` was not set. (UNKNOWN_QUERY_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57342) (comment: 00954_client_prepared_statements.sh) (in query: SELECT {s:String}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/QueryNormalizer.cpp:294: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b2cec98 in /usr/bin/clickhouse 7. /build/src/Interpreters/QueryNormalizer.cpp:256: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x2b2cf90a in /usr/bin/clickhouse 8. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b2cee07 in /usr/bin/clickhouse 9. /build/src/Interpreters/QueryNormalizer.cpp:177: DB::QueryNormalizer::visit(DB::ASTSelectQuery&, std::shared_ptr const&, DB::QueryNormalizer::Data&) @ 0x2b2cf19a in /usr/bin/clickhouse 10. /build/src/Interpreters/QueryNormalizer.cpp:290: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b2ceb7a in /usr/bin/clickhouse 11. /build/src/Interpreters/QueryNormalizer.h:77: DB::QueryNormalizer::visit(std::shared_ptr&) @ 0x2b240480 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1441: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b23224d in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22ff29 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:40:36.235700 [ 8947 ] {c8a0f4ef-93d5-4d4f-8901-237ad8160403} TCPHandler: Code: 456. DB::Exception: Query parameter `s` was not set. (UNKNOWN_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/QueryNormalizer.cpp:294: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b2cec98 in /usr/bin/clickhouse 7. /build/src/Interpreters/QueryNormalizer.cpp:256: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x2b2cf90a in /usr/bin/clickhouse 8. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b2cee07 in /usr/bin/clickhouse 9. /build/src/Interpreters/QueryNormalizer.cpp:177: DB::QueryNormalizer::visit(DB::ASTSelectQuery&, std::shared_ptr const&, DB::QueryNormalizer::Data&) @ 0x2b2cf19a in /usr/bin/clickhouse 10. /build/src/Interpreters/QueryNormalizer.cpp:290: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b2ceb7a in /usr/bin/clickhouse 11. /build/src/Interpreters/QueryNormalizer.h:77: DB::QueryNormalizer::visit(std::shared_ptr&) @ 0x2b240480 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1441: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b23224d in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22ff29 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:40:37.582832 [ 1012 ] {95716720-6462-4bfb-aa33-6391a3e0663f} executeQuery: Code: 457. DB::Exception: Value [1] OR 1 cannot be parsed as Array(UInt32) for query parameter 'injection' because it isn't parsed completely: only 3 of 8 bytes was parsed: [1]. (BAD_QUERY_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57358) (comment: 00955_complex_prepared_statements.sh) (in query: SELECT * FROM ps WHERE a = {injection:Array(UInt32)}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x2b3404f6 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:92: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b33fa4f in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f485 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:398: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b34e178 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:37.584749 [ 1012 ] {95716720-6462-4bfb-aa33-6391a3e0663f} TCPHandler: Code: 457. DB::Exception: Value [1] OR 1 cannot be parsed as Array(UInt32) for query parameter 'injection' because it isn't parsed completely: only 3 of 8 bytes was parsed: [1]. (BAD_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x2b3404f6 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:92: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b33fa4f in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f485 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b33fff3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b33f57b in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:398: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b34e178 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:45.582840 [ 8947 ] {10b352f9-6d8a-4873-96c0-65940be23633} executeQuery: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('abc', 3, ['a1c']). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44818) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('abc', 3, ['a1c']) from system.numbers limit 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f92844b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f927f21 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927ed5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927e95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f927e55 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f927e20 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f923356 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f923255 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f918d81 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f926a09 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9255ac in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 2024.03.27 21:40:45.584834 [ 8947 ] {10b352f9-6d8a-4873-96c0-65940be23633} TCPHandler: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('abc', 3, ['a1c']). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f92844b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f927f21 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927ed5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927e95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f927e55 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f927e20 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f923356 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f923255 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f918d81 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f926a09 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9255ac in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 2024.03.27 21:40:45.596583 [ 8947 ] {7672f4b3-0f2e-4212-ad84-9d3e3050d869} executeQuery: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('abc', 4, ['a1c']). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44818) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('abc', 4, ['a1c']) from system.numbers limit 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f92844b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f927f21 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927ed5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927e95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f927e55 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f927e20 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f923356 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f923255 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f918d81 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f926a09 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9255ac in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 2024.03.27 21:40:45.597952 [ 8947 ] {7672f4b3-0f2e-4212-ad84-9d3e3050d869} TCPHandler: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('abc', 4, ['a1c']). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f92844b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f927f21 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927ed5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927e95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f927e55 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f927e20 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f923356 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f923255 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f918d81 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f926a09 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9255ac in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 2024.03.27 21:40:47.554393 [ 8947 ] {f2c701cf-bca8-46d9-b39b-ebf3f0221851} executeQuery: Code: 36. DB::Exception: Pattern '^hello.*world$' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('hello some world', 10, ['^hello.*world$']). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44818) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('hello some world', 10, ['^hello.*world$']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f92844b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f927f21 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927ed5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927e95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f927e55 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f927e20 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f923356 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f923255 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f918d81 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f926a09 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9255ac in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 2024.03.27 21:40:47.556244 [ 8947 ] {f2c701cf-bca8-46d9-b39b-ebf3f0221851} TCPHandler: Code: 36. DB::Exception: Pattern '^hello.*world$' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('hello some world', 10, ['^hello.*world$']). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f92844b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f927f21 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927ed5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927e95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f927e55 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f927e20 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f923356 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f923255 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f918d81 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f926a09 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9255ac in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 2024.03.27 21:40:47.696525 [ 8947 ] {9858bd22-3221-4f2f-867f-61e324646829} executeQuery: Code: 43. DB::Exception: Illegal type Int8 of argument of function multiFuzzyMatchAny: While processing multiFuzzyMatchAny('hello some world', -1, ['^hello.*world$']). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44818) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('hello some world', -1, ['^hello.*world$']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:64: DB::FunctionsMultiStringFuzzySearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1f92594d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:47.697957 [ 8947 ] {9858bd22-3221-4f2f-867f-61e324646829} TCPHandler: Code: 43. DB::Exception: Illegal type Int8 of argument of function multiFuzzyMatchAny: While processing multiFuzzyMatchAny('hello some world', -1, ['^hello.*world$']). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:64: DB::FunctionsMultiStringFuzzySearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1f92594d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:47.838352 [ 8947 ] {28e843f1-cd53-4ad4-bed4-32de36088354} executeQuery: Code: 44. DB::Exception: Illegal column Const(UInt64). The number is not const or does not fit in UInt32: While processing multiFuzzyMatchAny('hello some world', 10000000000, ['^hello.*world$']). (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44818) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('hello some world', 10000000000, ['^hello.*world$']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:91: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9250d0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:40:47.839821 [ 8947 ] {28e843f1-cd53-4ad4-bed4-32de36088354} TCPHandler: Code: 44. DB::Exception: Illegal column Const(UInt64). The number is not const or does not fit in UInt32: While processing multiFuzzyMatchAny('hello some world', 10000000000, ['^hello.*world$']). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:91: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9250d0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:40:52.329956 [ 8947 ] {f55e8e1b-d865-487d-b2cd-8fac68309c09} executeQuery: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('abc') :: 3, 3 :: 1, materialize(['a1c']) :: 0) -> multiFuzzyMatchAny(materialize('abc'), 3, materialize(['a1c'])) UInt8 : 2'. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44818) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('abc'), 3, materialize(['a1c'])) from system.numbers limit 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f92844b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f927f21 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927ed5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927e95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f927e55 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f927e20 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f923356 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f923255 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f918d81 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f926a09 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9255ac in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 21:40:52.331626 [ 8947 ] {f55e8e1b-d865-487d-b2cd-8fac68309c09} TCPHandler: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('abc') :: 3, 3 :: 1, materialize(['a1c']) :: 0) -> multiFuzzyMatchAny(materialize('abc'), 3, materialize(['a1c'])) UInt8 : 2'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f92844b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f927f21 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927ed5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927e95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f927e55 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f927e20 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f923356 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f923255 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f918d81 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f926a09 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9255ac in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 21:40:52.349195 [ 8947 ] {7b35338e-275c-48fc-91af-5d4953b27997} executeQuery: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('abc') :: 3, 4 :: 1, materialize(['a1c']) :: 0) -> multiFuzzyMatchAny(materialize('abc'), 4, materialize(['a1c'])) UInt8 : 2'. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44818) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('abc'), 4, materialize(['a1c'])) from system.numbers limit 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f92844b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f927f21 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927ed5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927e95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f927e55 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f927e20 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f923356 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f923255 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f918d81 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f926a09 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9255ac in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 21:40:52.350711 [ 8947 ] {7b35338e-275c-48fc-91af-5d4953b27997} TCPHandler: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('abc') :: 3, 4 :: 1, materialize(['a1c']) :: 0) -> multiFuzzyMatchAny(materialize('abc'), 4, materialize(['a1c'])) UInt8 : 2'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f92844b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f927f21 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927ed5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927e95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f927e55 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f927e20 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f923356 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f923255 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f918d81 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f926a09 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9255ac in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 21:40:52.495436 [ 8947 ] {5fa6b849-3389-4158-9995-d042eae550d8} executeQuery: Code: 36. DB::Exception: Pattern '^hello.*world$' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('hello some world') :: 3, 10 :: 1, materialize(['^hello.*world$']) :: 0) -> multiFuzzyMatchAny(materialize('hello some world'), 10, materialize(['^hello.*world$'])) UInt8 : 2'. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44818) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('hello some world'), 10, materialize(['^hello.*world$']));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f92844b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f927f21 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927ed5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927e95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f927e55 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f927e20 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f923356 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f923255 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f918d81 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f926a09 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9255ac in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 21:40:52.497594 [ 8947 ] {5fa6b849-3389-4158-9995-d042eae550d8} TCPHandler: Code: 36. DB::Exception: Pattern '^hello.*world$' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('hello some world') :: 3, 10 :: 1, materialize(['^hello.*world$']) :: 0) -> multiFuzzyMatchAny(materialize('hello some world'), 10, materialize(['^hello.*world$'])) UInt8 : 2'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f92844b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f927f21 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927ed5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f927e95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f927e55 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f927e20 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f923356 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f923255 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f918d81 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f926a09 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9255ac in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 21:40:52.508267 [ 8947 ] {6f59ecbf-389d-458d-9e8d-812c0051e969} executeQuery: Code: 43. DB::Exception: Illegal type Int8 of argument of function multiFuzzyMatchAny: While processing multiFuzzyMatchAny(materialize('hello some world'), -1, materialize(['^hello.*world$'])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44818) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('hello some world'), -1, materialize(['^hello.*world$']));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:64: DB::FunctionsMultiStringFuzzySearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1f92594d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:52.509405 [ 8947 ] {6f59ecbf-389d-458d-9e8d-812c0051e969} TCPHandler: Code: 43. DB::Exception: Illegal type Int8 of argument of function multiFuzzyMatchAny: While processing multiFuzzyMatchAny(materialize('hello some world'), -1, materialize(['^hello.*world$'])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:64: DB::FunctionsMultiStringFuzzySearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1f92594d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:52.651124 [ 8947 ] {b0aa37ae-8d42-4dec-9595-588b49dbb89f} executeQuery: Code: 44. DB::Exception: Illegal column Const(UInt64). The number is not const or does not fit in UInt32. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44818) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('hello some world'), 10000000000, materialize(['^hello.*world$']));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:91: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9250d0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:40:52.652167 [ 8947 ] {b0aa37ae-8d42-4dec-9595-588b49dbb89f} TCPHandler: Code: 44. DB::Exception: Illegal column Const(UInt64). The number is not const or does not fit in UInt32. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:91: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9250d0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:40:52.993298 [ 8960 ] {97c6363b-514b-4ae2-a70a-42dd2ee5f78d} executeQuery: Code: 48. DB::Exception: Alter of type 'MODIFY_ORDER_BY' is not supported by storage Distributed. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45084) (comment: 00910_crash_when_distributed_modify_order_by.sql) (in query: ALTER TABLE union2 MODIFY ORDER BY a;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::AlterCommand::Type const&, String&&) @ 0x2903508c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1411: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b8a599d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:52.994346 [ 8960 ] {97c6363b-514b-4ae2-a70a-42dd2ee5f78d} TCPHandler: Code: 48. DB::Exception: Alter of type 'MODIFY_ORDER_BY' is not supported by storage Distributed. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::AlterCommand::Type const&, String&&) @ 0x2903508c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1411: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b8a599d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:55.085264 [ 18229 ] {3e4b35af-9b97-437b-b065-85473dd71d53} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45144) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bb9e81e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f671 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:55.086437 [ 18229 ] {3e4b35af-9b97-437b-b065-85473dd71d53} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bb9e81e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f671 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:56.537377 [ 8929 ] {513661c6-b25c-44af-a575-515fc838c7a2} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayEnumerateUniqRanked doesn't match: passed 0, should be at least 1.: While processing arrayEnumerateUniqRanked(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:104: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e669 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:40:56.538528 [ 8929 ] {513661c6-b25c-44af-a575-515fc838c7a2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayEnumerateUniqRanked doesn't match: passed 0, should be at least 1.: While processing arrayEnumerateUniqRanked(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:104: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e669 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:40:56.673958 [ 8929 ] {b1d2db2e-7e33-4aff-ab0d-ddbd3d79d440} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: at least one array should be passed.: While processing arrayEnumerateUniqRanked(1). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [125]) @ 0x21a6419e in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:84: DB::getArraysDepths(std::vector> const&) @ 0x21a63d67 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:56.675078 [ 8929 ] {b1d2db2e-7e33-4aff-ab0d-ddbd3d79d440} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: at least one array should be passed.: While processing arrayEnumerateUniqRanked(1). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [125]) @ 0x21a6419e in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:84: DB::getArraysDepths(std::vector> const&) @ 0x21a63d67 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:56.789635 [ 8929 ] {720780bd-33b0-4f88-b9b7-c693fc933566} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: clear_depth (2) can't be larger than max_array_depth (1).: While processing arrayEnumerateUniqRanked(2, []). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(2,[]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:93: DB::getArraysDepths(std::vector> const&) @ 0x21a63f21 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:56.790757 [ 8929 ] {720780bd-33b0-4f88-b9b7-c693fc933566} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: clear_depth (2) can't be larger than max_array_depth (1).: While processing arrayEnumerateUniqRanked(2, []). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:93: DB::getArraysDepths(std::vector> const&) @ 0x21a63f21 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:56.908148 [ 8929 ] {c731bcc6-b24e-471a-9ea8-42feb2468306} executeQuery: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=2 for array with depth=1.: While processing arrayEnumerateUniqRanked(2, [], 2). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(2,[],2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21a63c28 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:56.909334 [ 8929 ] {c731bcc6-b24e-471a-9ea8-42feb2468306} TCPHandler: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=2 for array with depth=1.: While processing arrayEnumerateUniqRanked(2, [], 2). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21a63c28 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:56.920341 [ 8929 ] {767b338c-36ee-4fe2-8f6c-14099d93faf5} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: clear_depth (2) can't be larger than max_array_depth (1).: While processing arrayEnumerateUniqRanked(2, [], []). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(2,[],[]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:93: DB::getArraysDepths(std::vector> const&) @ 0x21a63f21 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:56.921350 [ 8929 ] {767b338c-36ee-4fe2-8f6c-14099d93faf5} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: clear_depth (2) can't be larger than max_array_depth (1).: While processing arrayEnumerateUniqRanked(2, [], []). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:93: DB::getArraysDepths(std::vector> const&) @ 0x21a63f21 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:56.933341 [ 8929 ] {745a3902-07e9-48af-9c46-6cfe3aa54d07} executeQuery: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=3 for array with depth=1.: While processing arrayEnumerateUniqRanked(2, [], [], 3). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(2,[],[],3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21a63c28 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:56.934318 [ 8929 ] {745a3902-07e9-48af-9c46-6cfe3aa54d07} TCPHandler: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=3 for array with depth=1.: While processing arrayEnumerateUniqRanked(2, [], [], 3). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21a63c28 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:56.944945 [ 8929 ] {da99cd84-2685-4fd1-9ea6-1b0d96d83df4} executeQuery: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=2 for array with depth=1.: While processing arrayEnumerateUniqRanked([], 2). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([],2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21a63c28 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:56.945858 [ 8929 ] {da99cd84-2685-4fd1-9ea6-1b0d96d83df4} TCPHandler: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=2 for array with depth=1.: While processing arrayEnumerateUniqRanked([], 2). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21a63c28 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:56.956012 [ 8929 ] {07940e13-86c5-4139-b543-e2ab5bd9dfe5} executeQuery: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=2 for array with depth=1.: While processing arrayEnumerateUniqRanked([], 2, []). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([],2,[]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21a63c28 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:56.956960 [ 8929 ] {07940e13-86c5-4139-b543-e2ab5bd9dfe5} TCPHandler: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=2 for array with depth=1.: While processing arrayEnumerateUniqRanked([], 2, []). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21a63c28 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:57.069813 [ 8929 ] {756805e7-831b-4ee0-9374-2e45d9dc501a} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (0) cannot be less or equal 0.: While processing arrayEnumerateUniqRanked(0, [], 0). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(0,[],0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:52: DB::getArraysDepths(std::vector> const&) @ 0x21a639ab in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:57.070908 [ 8929 ] {756805e7-831b-4ee0-9374-2e45d9dc501a} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (0) cannot be less or equal 0.: While processing arrayEnumerateUniqRanked(0, [], 0). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:52: DB::getArraysDepths(std::vector> const&) @ 0x21a639ab in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:57.081274 [ 8929 ] {0c039be9-a9cf-47e5-ad3b-cb32152726df} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (0) cannot be less or equal 0.: While processing arrayEnumerateUniqRanked(0, 0, 0). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(0,0,0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:52: DB::getArraysDepths(std::vector> const&) @ 0x21a639ab in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:57.082233 [ 8929 ] {0c039be9-a9cf-47e5-ad3b-cb32152726df} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (0) cannot be less or equal 0.: While processing arrayEnumerateUniqRanked(0, 0, 0). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:52: DB::getArraysDepths(std::vector> const&) @ 0x21a639ab in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:57.194641 [ 8929 ] {edebe2ca-bc47-4831-aea2-4b3fc61cabf4} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (1) for missing array.: While processing arrayEnumerateUniqRanked(1, 1, 1). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1,1,1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:64: DB::getArraysDepths(std::vector> const&) @ 0x21a63ae7 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:57.195758 [ 8929 ] {edebe2ca-bc47-4831-aea2-4b3fc61cabf4} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (1) for missing array.: While processing arrayEnumerateUniqRanked(1, 1, 1). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:64: DB::getArraysDepths(std::vector> const&) @ 0x21a63ae7 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:57.308210 [ 8929 ] {87edf85b-0553-4c80-ae20-b6de8fb4235c} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (0) cannot be less or equal 0.: While processing arrayEnumerateDenseRanked(1, [10, 20, 10, 30], 0). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(1, [10,20,10,30], 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:52: DB::getArraysDepths(std::vector> const&) @ 0x21a639ab in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a5f92c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:57.309485 [ 8929 ] {87edf85b-0553-4c80-ae20-b6de8fb4235c} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (0) cannot be less or equal 0.: While processing arrayEnumerateDenseRanked(1, [10, 20, 10, 30], 0). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:52: DB::getArraysDepths(std::vector> const&) @ 0x21a639ab in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a5f92c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:57.423625 [ 8929 ] {bf6edef6-2680-4f54-96ee-264e3ac80705} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [[7, 8, 9, 10], [10, 11, 12]], 2, [[14, 15, 16], [17, 18, 19], [20], [21]], 2). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [[7,8,9,10],[10,11,12]], 2, [[14,15,16],[17,18,19],[20],[21]], 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21a7db44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:40:57.425103 [ 8929 ] {bf6edef6-2680-4f54-96ee-264e3ac80705} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [[7, 8, 9, 10], [10, 11, 12]], 2, [[14, 15, 16], [17, 18, 19], [20], [21]], 2). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21a7db44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:40:57.437159 [ 8929 ] {0a926089-dac4-4531-a11f-44a55314e369} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 2], 1, ['a', 'b', 'c', 'd'], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,2], 1, ['a', 'b', 'c', 'd'],1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21a7db44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:40:57.438451 [ 8929 ] {0a926089-dac4-4531-a11f-44a55314e369} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 2], 1, ['a', 'b', 'c', 'd'], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21a7db44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:40:57.448105 [ 8929 ] {16b5008e-8ee5-40a0-a646-e50cb78c294a} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 2], 1, [14, 15, 16, 17, 18, 19], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,2], 1, [14,15,16,17,18,19], 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21a7db44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:40:57.449495 [ 8929 ] {16b5008e-8ee5-40a0-a646-e50cb78c294a} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 2], 1, [14, 15, 16, 17, 18, 19], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21a7db44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:40:57.459160 [ 8929 ] {b133d921-be5c-4720-bf2c-770f2d127f30} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [14, 15, 16, 17, 18, 19], 1, [1, 2], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [14,15,16,17,18,19], 1, [1,2], 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21a7db44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:40:57.460478 [ 8929 ] {b133d921-be5c-4720-bf2c-770f2d127f30} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [14, 15, 16, 17, 18, 19], 1, [1, 2], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21a7db44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:40:57.470062 [ 8929 ] {eab3d57f-24e7-4e8b-9524-bea7b08f11d6} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 1, 1, 1, 1, 1], 1, [1, 1], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,1,1,1,1,1], 1, [1,1], 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21a7db44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:40:57.471360 [ 8929 ] {eab3d57f-24e7-4e8b-9524-bea7b08f11d6} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 1, 1, 1, 1, 1], 1, [1, 1], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21a7db44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:40:57.488793 [ 8929 ] {f21f7e69-57f7-44a2-99bb-7596b3e9e343} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 1, [1, 1], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], 1, [1,1], 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21a7db44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:40:57.490101 [ 8929 ] {f21f7e69-57f7-44a2-99bb-7596b3e9e343} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 1, [1, 1], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21a7db44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:40:57.569434 [ 8929 ] {8ecbb891-7349-4841-872e-e3595be81e3b} executeQuery: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=3 for array with depth=1.: While processing arrayEnumerateUniqRanked([1, 2], 3, 4, 5). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([1,2], 3, 4, 5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21a63c28 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:57.570485 [ 8929 ] {8ecbb891-7349-4841-872e-e3595be81e3b} TCPHandler: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=3 for array with depth=1.: While processing arrayEnumerateUniqRanked([1, 2], 3, 4, 5). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21a63c28 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:57.579637 [ 8929 ] {bbe057a5-116c-4577-b3af-17ffcfac1bc9} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (2) for missing array.: While processing arrayEnumerateUniqRanked([1, 2], 1, 2). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([1,2], 1, 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:64: DB::getArraysDepths(std::vector> const&) @ 0x21a63ae7 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:57.580646 [ 8929 ] {bbe057a5-116c-4577-b3af-17ffcfac1bc9} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (2) for missing array.: While processing arrayEnumerateUniqRanked([1, 2], 1, 2). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:64: DB::getArraysDepths(std::vector> const&) @ 0x21a63ae7 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:57.589939 [ 8929 ] {966f1bd0-85de-4562-ae66-6b5d7ceca43f} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (3) for missing array.: While processing arrayEnumerateUniqRanked([1, 2], 1, 3, 4, 5). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([1,2], 1, 3, 4, 5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:64: DB::getArraysDepths(std::vector> const&) @ 0x21a63ae7 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:57.590895 [ 8929 ] {966f1bd0-85de-4562-ae66-6b5d7ceca43f} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (3) for missing array.: While processing arrayEnumerateUniqRanked([1, 2], 1, 3, 4, 5). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:64: DB::getArraysDepths(std::vector> const&) @ 0x21a63ae7 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:57.601749 [ 8929 ] {9d16c621-82b3-48f1-9a94-74f7c6eb1e69} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (3) for missing array.: While processing arrayEnumerateUniqRanked([1, 2], 1, 3, [4], 5). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([1,2], 1, 3, [4], 5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:64: DB::getArraysDepths(std::vector> const&) @ 0x21a63ae7 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:57.602783 [ 8929 ] {9d16c621-82b3-48f1-9a94-74f7c6eb1e69} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (3) for missing array.: While processing arrayEnumerateUniqRanked([1, 2], 1, 3, [4], 5). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:64: DB::getArraysDepths(std::vector> const&) @ 0x21a63ae7 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:57.738163 [ 8929 ] {94dca849-375f-43e7-8e64-17226a230d10} executeQuery: Code: 170. DB::Exception: Bad get: has String, requested UInt64: While processing arrayEnumerateUniqRanked('wat', [1, 2]). (BAD_GET) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked('wat', [1,2]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19e2509c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19e24e66 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21a638f1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:57.739457 [ 8929 ] {94dca849-375f-43e7-8e64-17226a230d10} TCPHandler: Code: 170. DB::Exception: Bad get: has String, requested UInt64: While processing arrayEnumerateUniqRanked('wat', [1, 2]). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19e2509c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19e24e66 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21a638f1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:57.748384 [ 8929 ] {6b9c9ed6-a244-423e-b2e8-21b8e06ce170} executeQuery: Code: 170. DB::Exception: Bad get: has String, requested UInt64: While processing arrayEnumerateUniqRanked(1, [1, 2], 'boom'). (BAD_GET) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,2], 'boom');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19e2509c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19e24e66 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21a638f1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:57.749384 [ 8929 ] {6b9c9ed6-a244-423e-b2e8-21b8e06ce170} TCPHandler: Code: 170. DB::Exception: Bad get: has String, requested UInt64: While processing arrayEnumerateUniqRanked(1, [1, 2], 'boom'). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19e2509c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19e24e66 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21a638f1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:57.868496 [ 8929 ] {44a3abdc-faa2-4d83-9378-0819bb29a1bf} executeQuery: Code: 170. DB::Exception: Bad get: has Int64, requested UInt64: While processing arrayEnumerateDenseRanked(['\0'], -8363126). (BAD_GET) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(['\0'], -8363126);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19e2509c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19e24e66 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21a638f1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a5f92c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:57.869642 [ 8929 ] {44a3abdc-faa2-4d83-9378-0819bb29a1bf} TCPHandler: Code: 170. DB::Exception: Bad get: has Int64, requested UInt64: While processing arrayEnumerateDenseRanked(['\0'], -8363126). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19e2509c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19e24e66 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21a638f1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a5f92c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:57.878967 [ 8929 ] {b9d1d019-f8bb-4ad4-b132-6d62309df077} executeQuery: Code: 170. DB::Exception: Bad get: has Int64, requested UInt64: While processing arrayEnumerateDenseRanked(-10, ['\0'], -8363126). (BAD_GET) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(-10, ['\0'], -8363126);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19e2509c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19e24e66 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21a638f1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a5f92c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:57.880008 [ 8929 ] {b9d1d019-f8bb-4ad4-b132-6d62309df077} TCPHandler: Code: 170. DB::Exception: Bad get: has Int64, requested UInt64: While processing arrayEnumerateDenseRanked(-10, ['\0'], -8363126). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19e2509c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19e24e66 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21a638f1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a5f92c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:57.888905 [ 8929 ] {4d529c6d-9da9-4e62-83ed-d69b391706da} executeQuery: Code: 170. DB::Exception: Bad get: has Int64, requested UInt64: While processing arrayEnumerateDenseRanked(1, ['\0'], -8363126). (BAD_GET) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(1, ['\0'], -8363126);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19e2509c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19e24e66 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21a638f1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a5f92c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:57.889830 [ 8929 ] {4d529c6d-9da9-4e62-83ed-d69b391706da} TCPHandler: Code: 170. DB::Exception: Bad get: has Int64, requested UInt64: While processing arrayEnumerateDenseRanked(1, ['\0'], -8363126). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19e2509c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19e24e66 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21a638f1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a5f92c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:57.898653 [ 8929 ] {785abdcc-0d64-4acf-ab71-338eb6019134} executeQuery: Code: 170. DB::Exception: Bad get: has Int64, requested UInt64: While processing arrayEnumerateDenseRanked(-101, ['\0']). (BAD_GET) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(-101, ['\0']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19e2509c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19e24e66 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21a638f1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a5f92c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:57.899701 [ 8929 ] {785abdcc-0d64-4acf-ab71-338eb6019134} TCPHandler: Code: 170. DB::Exception: Bad get: has Int64, requested UInt64: While processing arrayEnumerateDenseRanked(-101, ['\0']). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19e2509c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19e24e66 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21a638f1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a5f92c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:57.908423 [ 8929 ] {13023ec5-ea06-44b6-bde4-5fc7c6329116} executeQuery: Code: 170. DB::Exception: Bad get: has Float64, requested UInt64: While processing arrayEnumerateDenseRanked(1.1, [10, 20, 10, 30]). (BAD_GET) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(1.1, [10,20,10,30]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19e2509c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19e24e66 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21a638f1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a5f92c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:57.909396 [ 8929 ] {13023ec5-ea06-44b6-bde4-5fc7c6329116} TCPHandler: Code: 170. DB::Exception: Bad get: has Float64, requested UInt64: While processing arrayEnumerateDenseRanked(1.1, [10, 20, 10, 30]). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19e2509c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19e24e66 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21a638f1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a5f92c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:57.918223 [ 8929 ] {36a0b92b-5fc7-4cd1-baff-970c80674777} executeQuery: Code: 170. DB::Exception: Bad get: has Float64, requested UInt64: While processing arrayEnumerateDenseRanked([10, 20, 10, 30], 0.4). (BAD_GET) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked([10,20,10,30], 0.4);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19e2509c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19e24e66 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21a638f1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a5f92c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:57.919144 [ 8929 ] {36a0b92b-5fc7-4cd1-baff-970c80674777} TCPHandler: Code: 170. DB::Exception: Bad get: has Float64, requested UInt64: While processing arrayEnumerateDenseRanked([10, 20, 10, 30], 0.4). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19e2509c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19e24e66 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21a638f1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a5f92c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:57.927868 [ 8929 ] {83ccb48f-d7ca-4772-b414-171598acc2ee} executeQuery: Code: 170. DB::Exception: Bad get: has Float64, requested UInt64: While processing arrayEnumerateDenseRanked([10, 20, 10, 30], 1.8). (BAD_GET) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked([10,20,10,30], 1.8);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19e2509c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19e24e66 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21a638f1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a5f92c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:57.928787 [ 8929 ] {83ccb48f-d7ca-4772-b414-171598acc2ee} TCPHandler: Code: 170. DB::Exception: Bad get: has Float64, requested UInt64: While processing arrayEnumerateDenseRanked([10, 20, 10, 30], 1.8). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19e2509c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19e24e66 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21a638f1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a5f92c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:40:57.937753 [ 8929 ] {1d4b4aac-1474-4c57-a067-9ffa9e1d58c2} executeQuery: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=1000000000 for array with depth=1.: While processing arrayEnumerateUniqRanked(1, [], 1000000000). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45138) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [], 1000000000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21a63c28 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:57.938682 [ 8929 ] {1d4b4aac-1474-4c57-a067-9ffa9e1d58c2} TCPHandler: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=1000000000 for array with depth=1.: While processing arrayEnumerateUniqRanked(1, [], 1000000000). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21a63c28 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a7e6ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:40:59.430781 [ 18229 ] {c9a64587-34d0-4d05-87f3-3b3af10fadaa} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47194) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bb9e81e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f671 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:40:59.431784 [ 18229 ] {c9a64587-34d0-4d05-87f3-3b3af10fadaa} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bb9e81e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f671 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:03.740245 [ 18229 ] {5e6d69dc-306c-4df8-ae58-e0c043282fb2} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47350) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bb9e81e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f671 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:03.741601 [ 18229 ] {5e6d69dc-306c-4df8-ae58-e0c043282fb2} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bb9e81e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f671 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:07.482477 [ 18229 ] {54e74545-9abf-40bb-89a0-7ccfba65731a} executeQuery: Code: 394. DB::Exception: Query '54e74545-9abf-40bb-89a0-7ccfba65731a' is killed in pending state. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47504) (comment: 00909_kill_not_initialized_query.sh) (in query: SELECT sum(1) FROM cannot_kill_query WHERE NOT ignore(sleep(1)) SETTINGS max_threads = 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/executeQuery.cpp:769: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3523c1 in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 15. ? @ 0x7f2098f50609 in ? 16. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:07.484736 [ 18229 ] {54e74545-9abf-40bb-89a0-7ccfba65731a} TCPHandler: Code: 394. DB::Exception: Query '54e74545-9abf-40bb-89a0-7ccfba65731a' is killed in pending state. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/executeQuery.cpp:769: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3523c1 in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 15. ? @ 0x7f2098f50609 in ? 16. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:08.040164 [ 8960 ] {9e894185-7be0-4f82-9ecd-761692348f82} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47630) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bb9e81e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f671 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:08.041144 [ 8960 ] {9e894185-7be0-4f82-9ecd-761692348f82} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bb9e81e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f671 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:12.333748 [ 1013 ] {c135851e-9455-4e8e-9249-6b333cd1e584} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47804) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bb9e81e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f671 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:12.335480 [ 1013 ] {c135851e-9455-4e8e-9249-6b333cd1e584} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bb9e81e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c11f671 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ba61ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:22.632129 [ 1013 ] {cf17e3ef-13bf-415f-8707-0eb1945e56a8} executeQuery: Code: 60. DB::Exception: Table test_iu546uwi.test1_00843 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47268) (comment: 00843_optimize_predicate_and_rename_table.sql) (in query: SELECT * FROM view_00843;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7bf13 in /usr/bin/clickhouse 15. /build/src/Storages/StorageView.cpp:161: DB::StorageView::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2bbdd72a in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:22.633358 [ 1013 ] {cf17e3ef-13bf-415f-8707-0eb1945e56a8} TCPHandler: Code: 60. DB::Exception: Table test_iu546uwi.test1_00843 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7bf13 in /usr/bin/clickhouse 15. /build/src/Storages/StorageView.cpp:161: DB::StorageView::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2bbdd72a in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:24.157979 [ 1013 ] {324265cc-6f21-45ce-9349-625423980672} executeQuery: Code: 160. DB::Exception: The maximum sleep time is 3 seconds. Requested: 4295.967296: while executing 'FUNCTION sleep(4295.967296 :: 0) -> sleep(4295.967296) UInt8 : 1'. (TOO_SLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47314) (comment: 00833_sleep_overflow.sql) (in query: SELECT sleep(4295.967296);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:109: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x20d9d8b6 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:87: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d9d297 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 2024.03.27 21:41:24.159286 [ 1013 ] {324265cc-6f21-45ce-9349-625423980672} TCPHandler: Code: 160. DB::Exception: The maximum sleep time is 3 seconds. Requested: 4295.967296: while executing 'FUNCTION sleep(4295.967296 :: 0) -> sleep(4295.967296) UInt8 : 1'. (TOO_SLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:109: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x20d9d8b6 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:87: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d9d297 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 2024.03.27 21:41:24.850117 [ 6021 ] {c66fc7c9-6e53-4f5f-aa9c-121375d1c245} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/store/4dd/4dd29695-2b82-4a2e-8b81-82bee41f3786//data.TSV doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47364) (comment: 00832_storage_file_lock.sql) (in query: SELECT * FROM file;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:24.852067 [ 6021 ] {c66fc7c9-6e53-4f5f-aa9c-121375d1c245} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/store/4dd/4dd29695-2b82-4a2e-8b81-82bee41f3786//data.TSV doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:36.602041 [ 8927 ] {e1a9e214-fd86-4389-9134-5cdffdf37281} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal128, expected const Integer, got UInt64: While processing toDecimal128([], rowNumberInBlock()): While processing (SELECT toDecimal128([], rowNumberInBlock())) AS _subquery575. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55790) (comment: 00811_garbage.sql) (in query: SELECT ( SELECT toDecimal128([], rowNumberInBlock()) ) , lcm('', [[(CAST(('>A') AS String))]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x290af75a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x290ada5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290ad1e0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1770: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x19f880ec in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x19f87f40 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x19f87efd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x19f87ebd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x19f87e7d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x19f87e45 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1978481e in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x197834dd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x19f87c7b in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x19f6b7ba in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 2024.03.27 21:41:36.603540 [ 8927 ] {e1a9e214-fd86-4389-9134-5cdffdf37281} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal128, expected const Integer, got UInt64: While processing toDecimal128([], rowNumberInBlock()): While processing (SELECT toDecimal128([], rowNumberInBlock())) AS _subquery575. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x290af75a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x290ada5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290ad1e0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1770: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x19f880ec in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x19f87f40 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x19f87efd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x19f87ebd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x19f87e7d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x19f87e45 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1978481e in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x197834dd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x19f87c7b in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x19f6b7ba in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 2024.03.27 21:41:38.204185 [ 1012 ] {f9532734-bad6-4c84-b8ce-5f61087d4849} executeQuery: Code: 43. DB::Exception: Elements of array of second argument of function roundDown must be numeric type.: While processing 1 AS x, roundDown(x, []). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55858) (comment: 00805_round_down.sql) (in query: SELECT 1 as x, roundDown(x, []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:664: DB::FunctionRoundDown::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1a75fd4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:38.205291 [ 1012 ] {f9532734-bad6-4c84-b8ce-5f61087d4849} TCPHandler: Code: 43. DB::Exception: Elements of array of second argument of function roundDown must be numeric type.: While processing 1 AS x, roundDown(x, []). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:664: DB::FunctionRoundDown::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1a75fd4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:38.341610 [ 1012 ] {efd74f9d-2f78-45ec-b3f5-1a6ef40ede8b} executeQuery: Code: 44. DB::Exception: Argument at index 1 for function roundDown must be constant. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55858) (comment: 00805_round_down.sql) (in query: SELECT 1 as x, roundDown(x, emptyArrayUInt8());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x19ada46c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:125: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d205 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:38.342710 [ 1012 ] {efd74f9d-2f78-45ec-b3f5-1a6ef40ede8b} TCPHandler: Code: 44. DB::Exception: Argument at index 1 for function roundDown must be constant. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x19ada46c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:125: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d205 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:38.352214 [ 1012 ] {da8ee38f-0af3-4456-bb47-4ab2fa82e496} executeQuery: Code: 44. DB::Exception: Argument at index 1 for function roundDown must be constant. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55858) (comment: 00805_round_down.sql) (in query: SELECT roundDown(number, [number]) FROM system.numbers LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x19ada46c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:125: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d205 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:38.353195 [ 1012 ] {da8ee38f-0af3-4456-bb47-4ab2fa82e496} TCPHandler: Code: 44. DB::Exception: Argument at index 1 for function roundDown must be constant. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x19ada46c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:125: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d205 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:47.126873 [ 8929 ] {f56240d8-9634-4862-b984-680b006530db} executeQuery: Code: 43. DB::Exception: Illegal type String of second argument of function timeSlots. Must be UInt32 when first argument is DateTime.: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55656) (comment: 00734_timeslot.sql) (in query: SELECT timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), 'wrong argument');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:248: DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x20e4d40f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:41:47.128203 [ 8929 ] {f56240d8-9634-4862-b984-680b006530db} TCPHandler: Code: 43. DB::Exception: Illegal type String of second argument of function timeSlots. Must be UInt32 when first argument is DateTime.: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:248: DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x20e4d40f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:41:47.250103 [ 8929 ] {3915c910-59f4-4415-8ad6-d55c6f5b391e} executeQuery: Code: 43. DB::Exception: Illegal type String of third argument of function timeSlots. Must be UInt32 when first argument is DateTime.: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55656) (comment: 00734_timeslot.sql) (in query: SELECT timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 'wrong argument');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:252: DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x20e4d5e2 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:41:47.251341 [ 8929 ] {3915c910-59f4-4415-8ad6-d55c6f5b391e} TCPHandler: Code: 43. DB::Exception: Illegal type String of third argument of function timeSlots. Must be UInt32 when first argument is DateTime.: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:252: DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x20e4d5e2 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:41:47.355714 [ 8929 ] {3ff10298-7ec6-4c89-859d-b0d6d92a2ebf} executeQuery: Code: 44. DB::Exception: Third argument for function timeSlots must be greater than zero: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 0). (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55656) (comment: 00734_timeslot.sql) (in query: SELECT timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:297: DB::(anonymous namespace)::FunctionTimeSlots::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20e4bca5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:41:47.357017 [ 8929 ] {3ff10298-7ec6-4c89-859d-b0d6d92a2ebf} TCPHandler: Code: 44. DB::Exception: Third argument for function timeSlots must be greater than zero: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 0). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:297: DB::(anonymous namespace)::FunctionTimeSlots::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20e4bca5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 21:41:48.942994 [ 3331 ] {3d11a3f8-7f4b-418b-b2c6-45b1761745cd} executeQuery: Code: 42. DB::Exception: Aggregate function quantilesTiming requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT quantilesTiming(), -917.2552, 632651;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225523e1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:215: DB::AggregateFunctionQuantile, DB::NameQuantilesTiming, false, float, true>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x2336100d in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileTiming.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23339d04 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:41:48.945605 [ 3331 ] {3d11a3f8-7f4b-418b-b2c6-45b1761745cd} TCPHandler: Code: 42. DB::Exception: Aggregate function quantilesTiming requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225523e1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:215: DB::AggregateFunctionQuantile, DB::NameQuantilesTiming, false, float, true>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x2336100d in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileTiming.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23339d04 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:41:49.093667 [ 3331 ] {45082a76-583c-4c8d-aa25-13b1e1d43eb2} executeQuery: Code: 42. DB::Exception: Number of arguments for function toDecimal256OrZero doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing 6.6, 'c!X:M]1A', toDecimal256OrZero(): While processing (SELECT 6.6, 'c!X:M]1A', toDecimal256OrZero()) AS qfo. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', cosineDistance([]), ( SELECT 06.6, 'c!X:M]1A', toDecimal256OrZero() ) AS qfo, [(CAST(((CAST((990) AS Date))) AS DateTime))], NULL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2083: DB::FunctionConvertFromString>>, DB::NameToDecimal256OrZero, (DB::ConvertFromStringExceptionMode)1, (DB::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a051c40 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:41:49.096052 [ 3331 ] {45082a76-583c-4c8d-aa25-13b1e1d43eb2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toDecimal256OrZero doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing 6.6, 'c!X:M]1A', toDecimal256OrZero(): While processing (SELECT 6.6, 'c!X:M]1A', toDecimal256OrZero()) AS qfo. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2083: DB::FunctionConvertFromString>>, DB::NameToDecimal256OrZero, (DB::ConvertFromStringExceptionMode)1, (DB::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a051c40 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:41:49.219905 [ 3331 ] {3a0963ef-f246-4255-a097-ee8bbd3bf369} executeQuery: Code: 42. DB::Exception: The signature of table function hdfsCluster shall be the following: - cluster, uri - cluster, uri, format - cluster, uri, format, structure - cluster, uri, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfsCluster();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionHDFSCluster.cpp:49: DB::TableFunctionHDFSCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cf85f0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:49.221849 [ 3331 ] {3a0963ef-f246-4255-a097-ee8bbd3bf369} TCPHandler: Code: 42. DB::Exception: The signature of table function hdfsCluster shall be the following: - cluster, uri - cluster, uri, format - cluster, uri, format, structure - cluster, uri, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionHDFSCluster.cpp:49: DB::TableFunctionHDFSCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cf85f0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:49.334892 [ 3331 ] {b41a007e-14f0-41af-a48c-6a1e4e85b587} executeQuery: Code: 42. DB::Exception: Table function 'zeros' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM zeros();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28cb6b59 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:49.336848 [ 3331 ] {b41a007e-14f0-41af-a48c-6a1e4e85b587} TCPHandler: Code: 42. DB::Exception: Table function 'zeros' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28cb6b59 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:49.477842 [ 3331 ] {a29a9ba1-1a49-41d0-b68a-7bd890b4fdf3} executeQuery: Code: 42. DB::Exception: Number of arguments for function normalizedQueryHash doesn't match: passed 2, should be 1: While processing arrayDistinct(normalizedQueryHash('\0', toIPv4OrDefault(NULL)), [[NULL]]): While processing (SELECT arrayDistinct(normalizedQueryHash('\0', toIPv4OrDefault(NULL)), [[NULL]])) AS _subquery579: While processing toFloat32(addTupleOfIntervals([CAST('\0', 'String')]), (SELECT arrayDistinct(normalizedQueryHash('\0', toIPv4OrDefault(NULL)), [[NULL]])) AS _subquery579). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toFloat32(addTupleOfIntervals([(CAST(('\0') AS String))]), ( SELECT arrayDistinct(normalizedQueryHash('\0', toIPv4OrDefault(NULL)), [[NULL]]) ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:49.479977 [ 3331 ] {a29a9ba1-1a49-41d0-b68a-7bd890b4fdf3} TCPHandler: Code: 42. DB::Exception: Number of arguments for function normalizedQueryHash doesn't match: passed 2, should be 1: While processing arrayDistinct(normalizedQueryHash('\0', toIPv4OrDefault(NULL)), [[NULL]]): While processing (SELECT arrayDistinct(normalizedQueryHash('\0', toIPv4OrDefault(NULL)), [[NULL]])) AS _subquery579: While processing toFloat32(addTupleOfIntervals([CAST('\0', 'String')]), (SELECT arrayDistinct(normalizedQueryHash('\0', toIPv4OrDefault(NULL)), [[NULL]])) AS _subquery579). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:49.489227 [ 3331 ] {37ecfe04-cc7a-43cf-8927-6a31fd632b17} executeQuery: Code: 42. DB::Exception: Number of arguments for function tgamma doesn't match: passed 2, should be 1: While processing tgamma(502315.9, 9826.78). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT tgamma(502315.9, 9826.78);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:49.490977 [ 3331 ] {37ecfe04-cc7a-43cf-8927-6a31fd632b17} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tgamma doesn't match: passed 2, should be 1: While processing tgamma(502315.9, 9826.78). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:49.604992 [ 3331 ] {a7ab8ffd-63cb-46af-89d3-a7226c92bf4c} executeQuery: Code: 42. DB::Exception: Number of arguments for function subtractWeeks doesn't match: passed 0, should be 2 or 3: While processing subtractWeeks(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT subtractWeeks();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:531: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x20e1a0bf in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:41:49.607204 [ 3331 ] {a7ab8ffd-63cb-46af-89d3-a7226c92bf4c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function subtractWeeks doesn't match: passed 0, should be 2 or 3: While processing subtractWeeks(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:531: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x20e1a0bf in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:41:49.716890 [ 3331 ] {1001cccd-5401-4b50-803c-28a7a51bb164} executeQuery: Code: 42. DB::Exception: Function bar requires from 3 or 4 parameters: value, min_value, max_value, [max_width_of_bar = 80]. Passed 0.: While processing regexpQuoteMeta(-58, CAST(bar(), 'DateTime')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT regexpQuoteMeta(-58, (CAST((bar()) AS DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:56: DB::(anonymous namespace)::FunctionBar::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1a9e8fff in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:41:49.718932 [ 3331 ] {1001cccd-5401-4b50-803c-28a7a51bb164} TCPHandler: Code: 42. DB::Exception: Function bar requires from 3 or 4 parameters: value, min_value, max_value, [max_width_of_bar = 80]. Passed 0.: While processing regexpQuoteMeta(-58, CAST(bar(), 'DateTime')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:56: DB::(anonymous namespace)::FunctionBar::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1a9e8fff in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:41:49.830735 [ 3331 ] {aa440a76-5a74-48c4-9484-b868896ad50b} executeQuery: Code: 43. DB::Exception: First argument for function uniqThetaUnion must be a uniqTheta but it has type Array(Nothing): While processing uniqThetaUnion([], 365). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT uniqThetaUnion([], 365);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/UniqTheta/FunctionsUniqTheta.h:79: DB::FunctionUniqTheta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x220eba34 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:49.832671 [ 3331 ] {aa440a76-5a74-48c4-9484-b868896ad50b} TCPHandler: Code: 43. DB::Exception: First argument for function uniqThetaUnion must be a uniqTheta but it has type Array(Nothing): While processing uniqThetaUnion([], 365). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/UniqTheta/FunctionsUniqTheta.h:79: DB::FunctionUniqTheta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x220eba34 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:50.052403 [ 3331 ] {93141796-8cb5-4015-b1e7-250448d960ce} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing [CAST('\0', 'Date')]. (CANNOT_PARSE_DATE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [(CAST(('\0') AS Date))];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1df7397e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x221f92d5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x221f8f51 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19a61b77 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19a61866 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19a6181d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:989: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a614f4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a61391 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a5b6f8 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a4aff9 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a328 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 2024.03.27 21:41:50.054749 [ 3331 ] {93141796-8cb5-4015-b1e7-250448d960ce} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing [CAST('\0', 'Date')]. (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1df7397e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x221f92d5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x221f8f51 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19a61b77 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19a61866 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19a6181d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:989: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a614f4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a61391 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a5b6f8 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a4aff9 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a328 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 2024.03.27 21:41:50.095336 [ 3331 ] {c44292ae-f072-440b-89b3-15f0d84c539d} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapContainsKeyLike doesn't match: passed 0, should be 2: While processing mapContainsKeyLike(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT mapContainsKeyLike();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:50.097148 [ 3331 ] {c44292ae-f072-440b-89b3-15f0d84c539d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapContainsKeyLike doesn't match: passed 0, should be 2: While processing mapContainsKeyLike(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:50.222612 [ 3331 ] {7f7890ee-9cc7-4ae7-b290-697a3d9f7b23} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 2 to 6 parameters: , , [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remoteSecure(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:50.222757 [ 8947 ] {336b9cf4-821c-4d99-a089-ae6fd3a68dd1} executeQuery: Code: 42. DB::Exception: Number of arguments for function base64Encode doesn't match: passed 2, should be 1: While processing base64Encode(val, 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55796) (comment: 00732_base64_functions.sql) (in query: SELECT base64Encode(val, 'excess argument') FROM (select arrayJoin(['', 'f', 'fo', 'foo', 'foob', 'fooba', 'foobar']) val);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:50.224835 [ 8947 ] {336b9cf4-821c-4d99-a089-ae6fd3a68dd1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function base64Encode doesn't match: passed 2, should be 1: While processing base64Encode(val, 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:50.225079 [ 3331 ] {7f7890ee-9cc7-4ae7-b290-697a3d9f7b23} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 2 to 6 parameters: , , [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:50.347409 [ 3331 ] {048be8c9-72eb-45ca-b89f-fca5df5079f1} executeQuery: Code: 42. DB::Exception: Table function 'null' requires 'structure' argument or empty argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM null(-3, intHash64());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNull.cpp:28: DB::TableFunctionNull::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ca2559 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:50.347762 [ 8947 ] {144ab5a1-d913-446e-a0dc-2c0b1fe90409} executeQuery: Code: 42. DB::Exception: Number of arguments for function base64Decode doesn't match: passed 2, should be 1: While processing base64Decode(val, 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55796) (comment: 00732_base64_functions.sql) (in query: SELECT base64Decode(val, 'excess argument') FROM (select arrayJoin(['', 'Zg==', 'Zm8=', 'Zm9v', 'Zm9vYg==', 'Zm9vYmE=', 'Zm9vYmFy']) val);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:50.349531 [ 3331 ] {048be8c9-72eb-45ca-b89f-fca5df5079f1} TCPHandler: Code: 42. DB::Exception: Table function 'null' requires 'structure' argument or empty argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNull.cpp:28: DB::TableFunctionNull::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ca2559 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:50.350649 [ 8947 ] {144ab5a1-d913-446e-a0dc-2c0b1fe90409} TCPHandler: Code: 42. DB::Exception: Number of arguments for function base64Decode doesn't match: passed 2, should be 1: While processing base64Decode(val, 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:50.360803 [ 8947 ] {d2b07fb2-f7d7-4cca-9b67-fb2fca18d15f} executeQuery: Code: 42. DB::Exception: Number of arguments for function tryBase64Decode doesn't match: passed 2, should be 1: While processing tryBase64Decode('Zm9vYmF=Zm9v', 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55796) (comment: 00732_base64_functions.sql) (in query: SELECT tryBase64Decode('Zm9vYmF=Zm9v', 'excess argument');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:50.486752 [ 3331 ] {56949621-4741-4ba9-b5ea-1f98115887bc} executeQuery: Code: 36. DB::Exception: Argument 'format' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM file('', [[[]]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:60: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc11a8 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:50.487654 [ 8947 ] {d2b07fb2-f7d7-4cca-9b67-fb2fca18d15f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tryBase64Decode doesn't match: passed 2, should be 1: While processing tryBase64Decode('Zm9vYmF=Zm9v', 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:50.488796 [ 3331 ] {56949621-4741-4ba9-b5ea-1f98115887bc} TCPHandler: Code: 36. DB::Exception: Argument 'format' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:60: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc11a8 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:50.498707 [ 3331 ] {d7041542-caa8-4a32-a6be-0ec80f8c98e1} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractInt doesn't match: passed 1, should be 2: While processing ['1@n6'], simpleJSONExtractInt([]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ['1@n6'], simpleJSONExtractInt([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:50.500504 [ 3331 ] {d7041542-caa8-4a32-a6be-0ec80f8c98e1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractInt doesn't match: passed 1, should be 2: While processing ['1@n6'], simpleJSONExtractInt([]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:50.617362 [ 8947 ] {63c6e124-e07d-40f9-882e-5849054f9418} executeQuery: Code: 117. DB::Exception: Failed to base64Decode input 'Zm9vYmF=Zm9v': While processing base64Decode('Zm9vYmF=Zm9v'). (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55796) (comment: 00732_base64_functions.sql) (in query: SELECT base64Decode('Zm9vYmF=Zm9v');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, String&&) @ 0x1a9ee32c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBase64Conversion.h:74: DB::Base64Decode::performCoding(std::span, char8_t*) @ 0x1a9ee0c1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBase64Conversion.h:172: DB::FunctionBase64Conversion::execute(DB::ColumnString const&, unsigned long) @ 0x1a9eddfd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBase64Conversion.h:141: DB::FunctionBase64Conversion::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a9ed3da in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:41:50.743197 [ 3331 ] {74a26585-e048-4010-ba52-6ae964f939c1} executeQuery: Code: 36. DB::Exception: Host is empty in S3 URI. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3('S=h`\'');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [25]) @ 0x197395fe in /usr/bin/clickhouse 6. /build/src/IO/S3/URI.cpp:44: DB::S3::URI::URI(String const&) @ 0x28ce170a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd56bd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:50.743889 [ 8947 ] {63c6e124-e07d-40f9-882e-5849054f9418} TCPHandler: Code: 117. DB::Exception: Failed to base64Decode input 'Zm9vYmF=Zm9v': While processing base64Decode('Zm9vYmF=Zm9v'). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, String&&) @ 0x1a9ee32c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBase64Conversion.h:74: DB::Base64Decode::performCoding(std::span, char8_t*) @ 0x1a9ee0c1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBase64Conversion.h:172: DB::FunctionBase64Conversion::execute(DB::ColumnString const&, unsigned long) @ 0x1a9eddfd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBase64Conversion.h:141: DB::FunctionBase64Conversion::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a9ed3da in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 21:41:50.745324 [ 3331 ] {74a26585-e048-4010-ba52-6ae964f939c1} TCPHandler: Code: 36. DB::Exception: Host is empty in S3 URI. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [25]) @ 0x197395fe in /usr/bin/clickhouse 6. /build/src/IO/S3/URI.cpp:44: DB::S3::URI::URI(String const&) @ 0x28ce170a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd56bd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:50.861841 [ 3331 ] {c321f9bf-b18e-4a4e-95ae-0bf22c885f4d} executeQuery: Code: 42. DB::Exception: The signature of table function 's3' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd4635 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:50.863745 [ 3331 ] {c321f9bf-b18e-4a4e-95ae-0bf22c885f4d} TCPHandler: Code: 42. DB::Exception: The signature of table function 's3' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd4635 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:50.990389 [ 3331 ] {7ac9cca0-64b2-4b42-a83b-8d14b642277f} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1bf9de33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:432: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x2b9b6ea0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:63: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0bd76 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:50.992433 [ 3331 ] {7ac9cca0-64b2-4b42-a83b-8d14b642277f} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1bf9de33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:432: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x2b9b6ea0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:63: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0bd76 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:51.111219 [ 3331 ] {5b97d113-b5bd-4700-866f-c8e1d00dba23} executeQuery: Code: 42. DB::Exception: Number of arguments for function formatDateTimeInJodaSyntax doesn't match: passed 0, should be 2 or 3: While processing formatDateTimeInJodaSyntax(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT formatDateTimeInJodaSyntax();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/formatDateTime.cpp:741: DB::(anonymous namespace)::FunctionFormatDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x1c8c3cbf in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:41:51.113362 [ 3331 ] {5b97d113-b5bd-4700-866f-c8e1d00dba23} TCPHandler: Code: 42. DB::Exception: Number of arguments for function formatDateTimeInJodaSyntax doesn't match: passed 0, should be 2 or 3: While processing formatDateTimeInJodaSyntax(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/formatDateTime.cpp:741: DB::(anonymous namespace)::FunctionFormatDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x1c8c3cbf in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:41:51.149504 [ 3331 ] {2d67c91a-d57e-442a-9f9c-9d23d6bb300b} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing tupleHammingDistance(CAST('\0', 'Date')). (CANNOT_PARSE_DATE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT tupleHammingDistance((CAST(('\0') AS Date)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1df7397e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x221f92d5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x221f8f51 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19a61b77 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19a61866 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19a6181d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:989: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a614f4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a61391 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a5b6f8 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a4aff9 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a328 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 2024.03.27 21:41:51.151476 [ 3331 ] {2d67c91a-d57e-442a-9f9c-9d23d6bb300b} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing tupleHammingDistance(CAST('\0', 'Date')). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1df7397e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x221f92d5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x221f8f51 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19a61b77 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19a61866 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19a6181d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:989: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a614f4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a61391 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a5b6f8 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a4aff9 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a328 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 2024.03.27 21:41:51.286467 [ 3331 ] {820c3354-746f-4795-ac0b-b512330d1b8d} executeQuery: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM executable(-57028105.53088, []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:60: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cb7708 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:51.288512 [ 3331 ] {820c3354-746f-4795-ac0b-b512330d1b8d} TCPHandler: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:60: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cb7708 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:51.418513 [ 3331 ] {1bc0a97d-9666-462c-b6ec-4475e771a63a} executeQuery: Code: 36. DB::Exception: Argument 'source' must be a literal with type String, got UInt64: While processing (SELECT * FROM file(50, '\0')) AS constant_expression. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM iceberg(( SELECT * FROM file(50, '\0') ) , ['\0']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:28: DB::ITableFunctionFileLike::parseFirstArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x28cc0bc9 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFile.cpp:28: DB::TableFunctionFile::parseFirstArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x28cbd58a in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionFileLike.cpp:57: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc1144 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 22. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 27. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 28. /build/src/Interpreters/TreeRewriter.cpp:1343: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b234ec0 in /usr/bin/clickhouse 29. /build/src/Interpreters/evaluateConstantExpression.cpp:73: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3378ae in /usr/bin/clickhouse 30. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b33811d in /usr/bin/clickhouse 31. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b338232 in /usr/bin/clickhouse 2024.03.27 21:41:51.421117 [ 3331 ] {1bc0a97d-9666-462c-b6ec-4475e771a63a} TCPHandler: Code: 36. DB::Exception: Argument 'source' must be a literal with type String, got UInt64: While processing (SELECT * FROM file(50, '\0')) AS constant_expression. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:28: DB::ITableFunctionFileLike::parseFirstArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x28cc0bc9 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFile.cpp:28: DB::TableFunctionFile::parseFirstArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x28cbd58a in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionFileLike.cpp:57: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc1144 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 22. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 27. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 28. /build/src/Interpreters/TreeRewriter.cpp:1343: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b234ec0 in /usr/bin/clickhouse 29. /build/src/Interpreters/evaluateConstantExpression.cpp:73: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3378ae in /usr/bin/clickhouse 30. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b33811d in /usr/bin/clickhouse 31. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b338232 in /usr/bin/clickhouse 2024.03.27 21:41:51.429207 [ 3331 ] {ae772f9c-33b0-4e53-b3cd-0c664a28b5af} executeQuery: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM executable();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:60: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cb7708 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:51.430770 [ 3331 ] {ae772f9c-33b0-4e53-b3cd-0c664a28b5af} TCPHandler: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:60: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cb7708 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:51.550232 [ 3331 ] {396be628-e4c5-41a3-8b3d-74ae069350b0} executeQuery: Code: 42. DB::Exception: Number of arguments for function toDayOfWeek doesn't match: passed 0, expected 1, 2 or 3.: While processing 'O', CAST(-693868, 'DateTime'), toDayOfWeek(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 'O', (CAST((-693868) AS DateTime)), toDayOfWeek();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionCustomWeek.h:108: DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x20e7e280 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionCustomWeekToSomething.h:24: DB::FunctionCustomWeekToSomething, DB::ToDayOfWeekImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x20e7c3bf in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:51.552515 [ 3331 ] {396be628-e4c5-41a3-8b3d-74ae069350b0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toDayOfWeek doesn't match: passed 0, expected 1, 2 or 3.: While processing 'O', CAST(-693868, 'DateTime'), toDayOfWeek(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionCustomWeek.h:108: DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x20e7e280 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionCustomWeekToSomething.h:24: DB::FunctionCustomWeekToSomething, DB::ToDayOfWeekImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x20e7c3bf in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:51.562692 [ 3331 ] {5820406c-8864-4eaf-9044-91826963aba1} executeQuery: Code: 42. DB::Exception: Number of arguments for function cutToFirstSignificantSubdomainCustom doesn't match: passed 0, should be 2: While processing -274086.94, [-244], cutToFirstSignificantSubdomainCustom(), 0.160667. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT -274086.940, [-244], cutToFirstSignificantSubdomainCustom(), 0.160667;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:51.564672 [ 3331 ] {5820406c-8864-4eaf-9044-91826963aba1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function cutToFirstSignificantSubdomainCustom doesn't match: passed 0, should be 2: While processing -274086.94, [-244], cutToFirstSignificantSubdomainCustom(), 0.160667. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:51.693042 [ 3331 ] {910db3fd-3087-4cc4-a177-9cf5b18902db} executeQuery: Code: 43. DB::Exception: First argument for function bitmapBuild must be an array but it has type UInt32.: While processing bitmapBuild(366226): While processing (SELECT bitmapBuild(366226)) AS ylwqw. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [], ( SELECT bitmapBuild(366226) ) AS ylwqw, ( SELECT VAR_SAMP() ) , [NULL];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsBitmap.h:114: DB::FunctionBitmapBuildImpl::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x19e4f18e in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:51.812168 [ 8947 ] {9769e2b3-7f89-4b99-834d-d08223a18a04} executeQuery: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55858) (comment: 00729_prewhere_array_join.sql) (in query: select arrayJoin(val) as nameGroup6 from t1_00729 prewhere notEmpty(toString(nameGroup6)) group by nameGroup6 order by nameGroup6;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19ee1dfe in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2227: DB::ExpressionAnalysisResult::checkActions() const::$_2::operator()(std::shared_ptr const&) const @ 0x2a04659a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2232: DB::ExpressionAnalysisResult::checkActions() const @ 0x2a046056 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a045a73 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:51.812462 [ 3331 ] {910db3fd-3087-4cc4-a177-9cf5b18902db} TCPHandler: Code: 43. DB::Exception: First argument for function bitmapBuild must be an array but it has type UInt32.: While processing bitmapBuild(366226): While processing (SELECT bitmapBuild(366226)) AS ylwqw. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsBitmap.h:114: DB::FunctionBitmapBuildImpl::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x19e4f18e in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:51.813463 [ 8947 ] {9769e2b3-7f89-4b99-834d-d08223a18a04} TCPHandler: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19ee1dfe in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2227: DB::ExpressionAnalysisResult::checkActions() const::$_2::operator()(std::shared_ptr const&) const @ 0x2a04659a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2232: DB::ExpressionAnalysisResult::checkActions() const @ 0x2a046056 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a045a73 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:51.975681 [ 8947 ] {5a5ebcba-ee5b-45e4-a9d6-8545959c2b08} executeQuery: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55858) (comment: 00729_prewhere_array_join.sql) (in query: select arrayJoin(val) as nameGroup6, countDistinct(nid) as rowids from t1_00729 prewhere notEmpty(toString(nameGroup6)) group by nameGroup6 order by nameGroup6;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19ee1dfe in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2227: DB::ExpressionAnalysisResult::checkActions() const::$_2::operator()(std::shared_ptr const&) const @ 0x2a04659a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2232: DB::ExpressionAnalysisResult::checkActions() const @ 0x2a046056 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a045a73 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:51.975705 [ 3331 ] {2f86fd81-4850-407c-99ba-a1ceb4837951} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing arrayUniq(CAST(NULL, 'Date')). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT arrayUniq((CAST((NULL) AS Date)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x1971c99e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3709: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19c85ba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x19c8565c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36d49 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:41:51.977179 [ 8947 ] {5a5ebcba-ee5b-45e4-a9d6-8545959c2b08} TCPHandler: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19ee1dfe in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2227: DB::ExpressionAnalysisResult::checkActions() const::$_2::operator()(std::shared_ptr const&) const @ 0x2a04659a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2232: DB::ExpressionAnalysisResult::checkActions() const @ 0x2a046056 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a045a73 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:51.977713 [ 3331 ] {2f86fd81-4850-407c-99ba-a1ceb4837951} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing arrayUniq(CAST(NULL, 'Date')). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x1971c99e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3709: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19c85ba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x19c8565c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36d49 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:41:52.132082 [ 3331 ] {60179ada-b00b-4439-af84-50cf3f072298} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing CAST(NULL, 'String'), CAST(4556602, 'DateTime'). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST((NULL) AS String)), (CAST((4556602) AS DateTime));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x1971c99e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3709: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19c85ba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x19c8565c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36d49 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 2024.03.27 21:41:52.134459 [ 3331 ] {60179ada-b00b-4439-af84-50cf3f072298} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing CAST(NULL, 'String'), CAST(4556602, 'DateTime'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x1971c99e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3709: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19c85ba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x19c8565c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36d49 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 2024.03.27 21:41:52.134612 [ 8947 ] {83c8a4c9-ec7f-4d74-964e-52301c7cdbba} executeQuery: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55858) (comment: 00729_prewhere_array_join.sql) (in query: select arrayJoin(val) as nameGroup6 from t1_00729 prewhere notEmpty(toString(nameGroup6)) group by nameGroup6 order by nameGroup6;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19ee1dfe in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2227: DB::ExpressionAnalysisResult::checkActions() const::$_2::operator()(std::shared_ptr const&) const @ 0x2a04659a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2232: DB::ExpressionAnalysisResult::checkActions() const @ 0x2a046056 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a045a73 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:52.135821 [ 8947 ] {83c8a4c9-ec7f-4d74-964e-52301c7cdbba} TCPHandler: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19ee1dfe in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2227: DB::ExpressionAnalysisResult::checkActions() const::$_2::operator()(std::shared_ptr const&) const @ 0x2a04659a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2232: DB::ExpressionAnalysisResult::checkActions() const @ 0x2a046056 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a045a73 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:52.254076 [ 3331 ] {d6371890-0318-49f0-96c3-e6c87cf430e2} executeQuery: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM jdbc();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cfb668 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:52.254098 [ 8947 ] {d34bf49d-fe22-49e6-8b7f-07f95322f962} executeQuery: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55858) (comment: 00729_prewhere_array_join.sql) (in query: select arrayJoin(val) as nameGroup6, countDistinct(nid) as rowids from t1_00729 prewhere notEmpty(toString(nameGroup6)) group by nameGroup6 order by nameGroup6;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19ee1dfe in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2227: DB::ExpressionAnalysisResult::checkActions() const::$_2::operator()(std::shared_ptr const&) const @ 0x2a04659a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2232: DB::ExpressionAnalysisResult::checkActions() const @ 0x2a046056 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a045a73 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:52.255538 [ 8947 ] {d34bf49d-fe22-49e6-8b7f-07f95322f962} TCPHandler: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19ee1dfe in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2227: DB::ExpressionAnalysisResult::checkActions() const::$_2::operator()(std::shared_ptr const&) const @ 0x2a04659a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2232: DB::ExpressionAnalysisResult::checkActions() const @ 0x2a046056 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a045a73 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:52.256077 [ 3331 ] {d6371890-0318-49f0-96c3-e6c87cf430e2} TCPHandler: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cfb668 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:52.425259 [ 3331 ] {d2dfff33-fc6f-4c6b-9254-796d41042fb6} executeQuery: Code: 170. DB::Exception: Bad get: has Null, requested String. (BAD_GET) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM merge(toUInt256OrNull('\0'), [__bitSwapLastTwo([], '\0')]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19c832ed in /usr/bin/clickhouse 7. /build/src/Interpreters/evaluateConstantExpression.cpp:135: DB::evaluateConstantExpressionForDatabaseName(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3382c4 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:1052: DB::StorageMerge::evaluateDatabaseName(std::shared_ptr const&, std::shared_ptr) @ 0x2b98c857 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionMerge.cpp:75: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c87a37 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:52.427192 [ 3331 ] {d2dfff33-fc6f-4c6b-9254-796d41042fb6} TCPHandler: Code: 170. DB::Exception: Bad get: has Null, requested String. (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19c832ed in /usr/bin/clickhouse 7. /build/src/Interpreters/evaluateConstantExpression.cpp:135: DB::evaluateConstantExpressionForDatabaseName(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3382c4 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:1052: DB::StorageMerge::evaluateDatabaseName(std::shared_ptr const&, std::shared_ptr) @ 0x2b98c857 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionMerge.cpp:75: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c87a37 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:52.547578 [ 3331 ] {fbcbb665-587a-4471-8572-aecdb3e6938d} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mongodb([CAST([792], 'String')])), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [147]) @ 0x28ccf01e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cce6f6 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:52.549481 [ 3331 ] {fbcbb665-587a-4471-8572-aecdb3e6938d} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [147]) @ 0x28ccf01e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cce6f6 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:52.713017 [ 3331 ] {879dfc4e-48ec-4a7e-85ee-f3f02cb651cc} executeQuery: Code: 43. DB::Exception: Illegal type Tuple(Array(Nothing), String) of argument of function toDateTime: While processing CAST(__getScalar('16783216889626708526_11480543095900239894') AS _subquery581, 'DateTime'), ':+e', NULL, '\0', -619689. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST((( SELECT [], '\0' ) ) AS DateTime)), ':+e', NULL, '\0', -619689;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a88f06 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a87ffe in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:41:52.715530 [ 3331 ] {879dfc4e-48ec-4a7e-85ee-f3f02cb651cc} TCPHandler: Code: 43. DB::Exception: Illegal type Tuple(Array(Nothing), String) of argument of function toDateTime: While processing CAST(__getScalar('16783216889626708526_11480543095900239894') AS _subquery581, 'DateTime'), ':+e', NULL, '\0', -619689. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a88f06 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a87ffe in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:41:52.831239 [ 3331 ] {8a15bc18-4704-43e5-a5f4-7b695fb4bab7} executeQuery: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mysql(CAST(NULL, 'DateTime'), 9323686.5)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [161]) @ 0x2b9b04be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:297: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x2b9aec96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:58: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d07481 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:52.833077 [ 3331 ] {8a15bc18-4704-43e5-a5f4-7b695fb4bab7} TCPHandler: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [161]) @ 0x2b9b04be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:297: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x2b9aec96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:58: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d07481 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:52.847321 [ 3331 ] {6f8fd960-be5f-4ab7-afd1-b42c153767c6} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing '\0', [CAST('\0', 'Date')]. (CANNOT_PARSE_DATE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '\0', [(CAST(('\0') AS Date))];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1df7397e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x221f92d5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x221f8f51 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19a61b77 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19a61866 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19a6181d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:989: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a614f4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a61391 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a5b6f8 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a4aff9 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a328 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 2024.03.27 21:41:52.849480 [ 3331 ] {6f8fd960-be5f-4ab7-afd1-b42c153767c6} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing '\0', [CAST('\0', 'Date')]. (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1df7397e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x221f92d5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x221f8f51 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19a61b77 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19a61866 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19a6181d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:989: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a614f4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a61391 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a5b6f8 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a4aff9 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a328 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 2024.03.27 21:41:52.996898 [ 3331 ] {b87846bd-cb05-4e91-bc26-6887a26ffb43} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function roundBankers: While processing roundBankers(',\'(w{gM'), '1': While processing (SELECT roundBankers(',\'(w{gM'), '1') AS _subquery585: While processing ((SELECT roundBankers(',\'(w{gM'), '1') AS _subquery585, (SELECT * FROM hudi(NULL)) AS jipwrrv): While processing CAST(((SELECT roundBankers(',\'(w{gM'), '1') AS _subquery585, (SELECT * FROM hudi(NULL)) AS jipwrrv), 'Date'): While processing port(CAST(((SELECT roundBankers(',\'(w{gM'), '1') AS _subquery585, (SELECT * FROM hudi(NULL)) AS jipwrrv), 'Date'), (SELECT '') AS _subquery586, (SELECT -80.4317) AS lp): While processing (SELECT port(CAST(((SELECT roundBankers(',\'(w{gM'), '1'), (SELECT * FROM hudi(NULL)) AS jipwrrv), 'Date'), (SELECT ''), (SELECT -80.4317) AS lp)) AS _subquery582: While processing ((SELECT port(CAST(((SELECT roundBankers(',\'(w{gM'), '1'), (SELECT * FROM hudi(NULL)) AS jipwrrv), 'Date'), (SELECT ''), (SELECT -80.4317) AS lp)) AS _subquery582, (SELECT displayName(NULL, (SELECT (SELECT mapAdd(['(@ rO0QX'], '| ')) AS fuiszxu, (SELECT multiSearchFirstIndexCaseInsensitiveUTF8(), (SELECT '\0', 'w"VG`NO[', initialQueryID('', 8770.47), [], ['']), (SELECT trunc([])) AS mqz, toStartOfISOYear(), [(SELECT * FROM dictionary()) AS anvdszl]) AS vleduf, NULL, CAST((SELECT multiSearchFirstPositionUTF8('', [])) AS gshrvn, 'Date'), []))) AS _subquery583): While processing CAST(((SELECT port(CAST(((SELECT roundBankers(',\'(w{gM'), '1'), (SELECT * FROM hudi(NULL)) AS jipwrrv), 'Date'), (SELECT ''), (SELECT -80.4317) AS lp)) AS _subquery582, (SELECT displayName(NULL, (SELECT (SELECT mapAdd(['(@ rO0QX'], '| ')) AS fuiszxu, (SELECT multiSearchFirstIndexCaseInsensitiveUTF8(), (SELECT '\0', 'w"VG`NO[', initialQueryID('', 8770.47), [], ['']), (SELECT trunc([])) AS mqz, toStartOfISOYear(), [(SELECT * FROM dictionary()) AS anvdszl]) AS vleduf, NULL, CAST((SELECT multiSearchFirstPositionUTF8('', [])) AS gshrvn, 'Date'), []))) AS _subquery583), 'String'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST((( SELECT port((CAST((( SELECT roundBankers(',\'(w{gM'), '1' ) , ( SELECT * FROM hudi(NULL) ) AS jipwrrv) AS Date)), ( SELECT '' ) , ( SELECT -80.4317 ) AS lp) ) , ( SELECT displayName(NULL, ( SELECT ( SELECT mapAdd(['(@ rO0QX'], '| ') ) AS fuiszxu, ( SELECT multiSearchFirstIndexCaseInsensitiveUTF8(), ( SELECT '\0', 'w"VG`NO[', initialQueryID('', 8770.47), [], [''] ) , ( SELECT truncate([]) ) AS mqz, toStartOfISOYear(), [( SELECT * FROM dictionary() ) AS anvdszl] ) AS vleduf, NULL, (CAST((( SELECT multiSearchFirstPositionUTF8('', []) ) AS gshrvn) AS Date)), [] ) ) ) ) AS String)), [[( SELECT parseDateTime32BestEffortOrZero('BPg1X') ) ]], 'WA>Z$';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:547: DB::FunctionRounding::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1a61d2ec in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:52.999567 [ 3331 ] {b87846bd-cb05-4e91-bc26-6887a26ffb43} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function roundBankers: While processing roundBankers(',\'(w{gM'), '1': While processing (SELECT roundBankers(',\'(w{gM'), '1') AS _subquery585: While processing ((SELECT roundBankers(',\'(w{gM'), '1') AS _subquery585, (SELECT * FROM hudi(NULL)) AS jipwrrv): While processing CAST(((SELECT roundBankers(',\'(w{gM'), '1') AS _subquery585, (SELECT * FROM hudi(NULL)) AS jipwrrv), 'Date'): While processing port(CAST(((SELECT roundBankers(',\'(w{gM'), '1') AS _subquery585, (SELECT * FROM hudi(NULL)) AS jipwrrv), 'Date'), (SELECT '') AS _subquery586, (SELECT -80.4317) AS lp): While processing (SELECT port(CAST(((SELECT roundBankers(',\'(w{gM'), '1'), (SELECT * FROM hudi(NULL)) AS jipwrrv), 'Date'), (SELECT ''), (SELECT -80.4317) AS lp)) AS _subquery582: While processing ((SELECT port(CAST(((SELECT roundBankers(',\'(w{gM'), '1'), (SELECT * FROM hudi(NULL)) AS jipwrrv), 'Date'), (SELECT ''), (SELECT -80.4317) AS lp)) AS _subquery582, (SELECT displayName(NULL, (SELECT (SELECT mapAdd(['(@ rO0QX'], '| ')) AS fuiszxu, (SELECT multiSearchFirstIndexCaseInsensitiveUTF8(), (SELECT '\0', 'w"VG`NO[', initialQueryID('', 8770.47), [], ['']), (SELECT trunc([])) AS mqz, toStartOfISOYear(), [(SELECT * FROM dictionary()) AS anvdszl]) AS vleduf, NULL, CAST((SELECT multiSearchFirstPositionUTF8('', [])) AS gshrvn, 'Date'), []))) AS _subquery583): While processing CAST(((SELECT port(CAST(((SELECT roundBankers(',\'(w{gM'), '1'), (SELECT * FROM hudi(NULL)) AS jipwrrv), 'Date'), (SELECT ''), (SELECT -80.4317) AS lp)) AS _subquery582, (SELECT displayName(NULL, (SELECT (SELECT mapAdd(['(@ rO0QX'], '| ')) AS fuiszxu, (SELECT multiSearchFirstIndexCaseInsensitiveUTF8(), (SELECT '\0', 'w"VG`NO[', initialQueryID('', 8770.47), [], ['']), (SELECT trunc([])) AS mqz, toStartOfISOYear(), [(SELECT * FROM dictionary()) AS anvdszl]) AS vleduf, NULL, CAST((SELECT multiSearchFirstPositionUTF8('', [])) AS gshrvn, 'Date'), []))) AS _subquery583), 'String'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:547: DB::FunctionRounding::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1a61d2ec in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:53.113196 [ 3331 ] {106f99a9-5a0d-4952-b44c-1b3f9c01dadd} executeQuery: Code: 42. DB::Exception: Number of arguments for function rightPad doesn't match: passed 1, should be 2 or 3: While processing rightPad(''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT rpad('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1703cc in /usr/bin/clickhouse 6. /build/src/Functions/padString.cpp:164: DB::(anonymous namespace)::FunctionPadString::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20142a91 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:53.115047 [ 3331 ] {106f99a9-5a0d-4952-b44c-1b3f9c01dadd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function rightPad doesn't match: passed 1, should be 2 or 3: While processing rightPad(''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1703cc in /usr/bin/clickhouse 6. /build/src/Functions/padString.cpp:164: DB::(anonymous namespace)::FunctionPadString::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20142a91 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:53.249229 [ 3331 ] {627eda41-e404-4ef0-98f6-5eaeee3ee417} executeQuery: Code: 386. DB::Exception: There is no supertype for types String, Float64 because some of them are String/FixedString and some of them are not. (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM values('', 81285.303);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2019ac8c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29a7cfc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29a812ef in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionValues.cpp:113: DB::TableFunctionValues::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc571b in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:53.251109 [ 3331 ] {627eda41-e404-4ef0-98f6-5eaeee3ee417} TCPHandler: Code: 386. DB::Exception: There is no supertype for types String, Float64 because some of them are String/FixedString and some of them are not. (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2019ac8c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29a7cfc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29a812ef in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionValues.cpp:113: DB::TableFunctionValues::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc571b in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:53.383893 [ 3331 ] {43402cde-7b0c-487b-8b80-f22fb4365f74} executeQuery: Code: 42. DB::Exception: Table function 'null' requires 'structure' argument or empty argument: While processing (SELECT * FROM null(CAST([], 'DateTime'), [['']])) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3Cluster(( SELECT * FROM null((CAST(([]) AS DateTime)), [['']]) ) , []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNull.cpp:28: DB::TableFunctionNull::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ca2559 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 23. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:1343: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b234ec0 in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:73: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3378ae in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b33811d in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b338232 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionS3Cluster.cpp:49: DB::TableFunctionS3Cluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ce2b6e in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 2024.03.27 21:41:53.385875 [ 3331 ] {43402cde-7b0c-487b-8b80-f22fb4365f74} TCPHandler: Code: 42. DB::Exception: Table function 'null' requires 'structure' argument or empty argument: While processing (SELECT * FROM null(CAST([], 'DateTime'), [['']])) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNull.cpp:28: DB::TableFunctionNull::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ca2559 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 23. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:1343: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b234ec0 in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:73: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3378ae in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b33811d in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b338232 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionS3Cluster.cpp:49: DB::TableFunctionS3Cluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ce2b6e in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 2024.03.27 21:41:53.530341 [ 3331 ] {4bb769e9-bbc5-48e0-828a-11dcffae6307} executeQuery: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Float64: While processing (SELECT * FROM s3(6327.50132)) AS _subquery587. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT * FROM s3(6327.50132) ) , ( SELECT * FROM generateRandom() ) AS ks, medianBFloat16Weighted('\0'), -281276, portRFC([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd56a5 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 2024.03.27 21:41:53.532545 [ 3331 ] {4bb769e9-bbc5-48e0-828a-11dcffae6307} TCPHandler: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Float64: While processing (SELECT * FROM s3(6327.50132)) AS _subquery587. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd56a5 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 2024.03.27 21:41:53.664280 [ 3331 ] {23344fcd-9903-42f6-88f4-3040b7aac792} executeQuery: Code: 42. DB::Exception: Table function 'values' requires at least 1 argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM values();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionValues.cpp:91: DB::TableFunctionValues::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc521a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:53.666133 [ 3331 ] {23344fcd-9903-42f6-88f4-3040b7aac792} TCPHandler: Code: 42. DB::Exception: Table function 'values' requires at least 1 argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionValues.cpp:91: DB::TableFunctionValues::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc521a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:53.797098 [ 3331 ] {60efad29-3fa6-4ee6-b459-df4051d77bcd} executeQuery: Code: 43. DB::Exception: Illegal type String of the first argument of function regionToName (must be UInt32): While processing regionToName(CAST('GU', 'String')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT regionToName((CAST(('GU') AS String)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsEmbeddedDictionaries.h:595: DB::FunctionRegionToName::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1a128efd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:53.799707 [ 3331 ] {60efad29-3fa6-4ee6-b459-df4051d77bcd} TCPHandler: Code: 43. DB::Exception: Illegal type String of the first argument of function regionToName (must be UInt32): While processing regionToName(CAST('GU', 'String')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsEmbeddedDictionaries.h:595: DB::FunctionRegionToName::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1a128efd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:53.925379 [ 3331 ] {60b86a8b-a004-4622-84f7-4d067bdc471a} executeQuery: Code: 43. DB::Exception: Illegal type String of argument for aggregate function quantileInterpolatedWeighted. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT medianInterpolatedWeighted('\0', ( SELECT * FROM null() ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantileInterpolatedWeighted.cpp:53: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x230d60a9 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b296a in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:41:53.927703 [ 3331 ] {60b86a8b-a004-4622-84f7-4d067bdc471a} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument for aggregate function quantileInterpolatedWeighted. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantileInterpolatedWeighted.cpp:53: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x230d60a9 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b296a in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:41:54.041840 [ 3331 ] {04329111-c6fb-44df-9343-db54fc7f9a5d} executeQuery: Code: 43. DB::Exception: The type String of argument for aggregate function groupBitOr is illegal, because it cannot be used in bitwise operations. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT groupBitOr('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionBitwise.cpp:26: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionBitwise(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x25a562b3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:41:54.044379 [ 3331 ] {04329111-c6fb-44df-9343-db54fc7f9a5d} TCPHandler: Code: 43. DB::Exception: The type String of argument for aggregate function groupBitOr is illegal, because it cannot be used in bitwise operations. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionBitwise.cpp:26: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionBitwise(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x25a562b3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:41:54.065720 [ 3331 ] {a28b4691-d1ad-4c1e-a860-0960386a3a53} executeQuery: Code: 42. DB::Exception: Number of arguments for function cutToFirstSignificantSubdomainCustomWithWWWRFC doesn't match: passed 0, should be 2: While processing cutToFirstSignificantSubdomainCustomWithWWWRFC(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT cutToFirstSignificantSubdomainCustomWithWWWRFC();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:54.067640 [ 3331 ] {a28b4691-d1ad-4c1e-a860-0960386a3a53} TCPHandler: Code: 42. DB::Exception: Number of arguments for function cutToFirstSignificantSubdomainCustomWithWWWRFC doesn't match: passed 0, should be 2: While processing cutToFirstSignificantSubdomainCustomWithWWWRFC(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:54.206848 [ 3331 ] {9b874d1e-67b4-4b1f-896d-b40b48e35ee9} executeQuery: Code: 42. DB::Exception: Number of arguments for function unbin doesn't match: passed 2, should be 1: While processing unbin([['\0']], 'ODqxob'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT groupArrayMovingSum(unbin([['\0']], 'ODqxob'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:584: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x2a03443e in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:639: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034935 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:54.209387 [ 3331 ] {9b874d1e-67b4-4b1f-896d-b40b48e35ee9} TCPHandler: Code: 42. DB::Exception: Number of arguments for function unbin doesn't match: passed 2, should be 1: While processing unbin([['\0']], 'ODqxob'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:584: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x2a03443e in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:639: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034935 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:54.353987 [ 3331 ] {579e100b-441e-4d27-98d9-ee76ee5e750f} executeQuery: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data: While processing (SELECT * FROM format()) AS _subquery590: While processing (SELECT (SELECT * FROM format()), (SELECT * FROM values([[]], (SELECT dictGetIPv6('\0')), (SELECT * FROM clusterAllReplicas()))) AS miy) AS _subquery589. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 8766.358041, ['\0'], ( SELECT ( SELECT * FROM format() ) , ( SELECT * FROM values([[]], ( SELECT dictGetIPv6('\0') ) , ( SELECT * FROM clusterAllReplicas() ) ) ) AS miy ) , 14511295;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:43: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d13aca in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230004 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 2024.03.27 21:41:54.357415 [ 3331 ] {579e100b-441e-4d27-98d9-ee76ee5e750f} TCPHandler: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data: While processing (SELECT * FROM format()) AS _subquery590: While processing (SELECT (SELECT * FROM format()), (SELECT * FROM values([[]], (SELECT dictGetIPv6('\0')), (SELECT * FROM clusterAllReplicas()))) AS miy) AS _subquery589. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:43: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d13aca in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230004 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 2024.03.27 21:41:54.366548 [ 3331 ] {bb9a1aab-a8e2-4f09-ad33-8260284eaeae} executeQuery: Code: 42. DB::Exception: Number of arguments for function SHA384 doesn't match: passed 0, should be 1: While processing SHA384(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT SHA384();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:54.369151 [ 3331 ] {bb9a1aab-a8e2-4f09-ad33-8260284eaeae} TCPHandler: Code: 42. DB::Exception: Number of arguments for function SHA384 doesn't match: passed 0, should be 1: While processing SHA384(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:54.486446 [ 3331 ] {7b685fe4-fea0-4707-bcce-1024d9918fd2} executeQuery: Code: 43. DB::Exception: First argument for function arraySum must be a function. Actual Float64: While processing arraySum(85674.54, '`_'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT arraySum(85674.54, '`_');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionArrayMapped.h:224: DB::FunctionArrayMapped, DB::NameArraySum>::getReturnTypeImpl(std::vector> const&) const @ 0x2138c8aa in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:41:54.488645 [ 3331 ] {7b685fe4-fea0-4707-bcce-1024d9918fd2} TCPHandler: Code: 43. DB::Exception: First argument for function arraySum must be a function. Actual Float64: While processing arraySum(85674.54, '`_'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionArrayMapped.h:224: DB::FunctionArrayMapped, DB::NameArraySum>::getReturnTypeImpl(std::vector> const&) const @ 0x2138c8aa in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:41:54.495987 [ 3331 ] {cd016c7b-78f5-4da8-b32a-02fd2832e188} executeQuery: Code: 42. DB::Exception: Number of arguments for function reinterpretAsDate doesn't match: passed 0, should be 1: While processing reinterpretAsDate(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT reinterpretAsDate();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:54.497799 [ 3331 ] {cd016c7b-78f5-4da8-b32a-02fd2832e188} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reinterpretAsDate doesn't match: passed 0, should be 1: While processing reinterpretAsDate(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:54.614650 [ 3331 ] {4c5d8f7e-f78f-4e7c-9300-af1e0511448a} executeQuery: Code: 42. DB::Exception: Number of arguments for function isDecimalOverflow doesn't match: passed 0, should be 1 or 2.: While processing isDecimalOverflow(): While processing (SELECT CAST(-2.20968, 'String'), '$[|4Fw;', quantilesTDigest(isDecimalOverflow()), '\0') AS _subquery591. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT splitByRegexp(), [''], ( SELECT (CAST((-2.20968) AS String)), '$[|4Fw;', quantilesTDigest(isDecimalOverflow()), '\0' ) , ( SELECT bitRotateRight(emptyArrayUInt16(['']), ( SELECT lemmatize('aY/r', NULL) ) ) ) AS hfetoaav, (CAST((NULL) AS DateTime)), -6.1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/isDecimalOverflow.cpp:44: DB::(anonymous namespace)::FunctionIsDecimalOverflow::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1df75e7f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:584: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x2a03443e in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:639: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034935 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:41:54.617108 [ 3331 ] {4c5d8f7e-f78f-4e7c-9300-af1e0511448a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function isDecimalOverflow doesn't match: passed 0, should be 1 or 2.: While processing isDecimalOverflow(): While processing (SELECT CAST(-2.20968, 'String'), '$[|4Fw;', quantilesTDigest(isDecimalOverflow()), '\0') AS _subquery591. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/isDecimalOverflow.cpp:44: DB::(anonymous namespace)::FunctionIsDecimalOverflow::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1df75e7f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:584: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x2a03443e in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:639: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034935 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:41:54.764665 [ 3331 ] {9a8af3eb-2ed1-462e-9655-8a60323e5999} executeQuery: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Array: While processing (SELECT * FROM deltaLake([])) AS _subquery592. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', 493153.7585, ( SELECT * FROM deltaLake([]) ) , [], NULL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd56a5 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cef72d in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 2024.03.27 21:41:54.767093 [ 3331 ] {9a8af3eb-2ed1-462e-9655-8a60323e5999} TCPHandler: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Array: While processing (SELECT * FROM deltaLake([])) AS _subquery592. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd56a5 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cef72d in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 2024.03.27 21:41:54.883207 [ 3331 ] {cd90eaf6-3810-426b-86e4-418a802f3556} executeQuery: Code: 36. DB::Exception: Host is empty in S3 URI. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hudi('', 'qaEZfI');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [25]) @ 0x197395fe in /usr/bin/clickhouse 6. /build/src/IO/S3/URI.cpp:44: DB::S3::URI::URI(String const&) @ 0x28ce170a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd56bd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ce79cd in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:54.885300 [ 3331 ] {cd90eaf6-3810-426b-86e4-418a802f3556} TCPHandler: Code: 36. DB::Exception: Host is empty in S3 URI. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [25]) @ 0x197395fe in /usr/bin/clickhouse 6. /build/src/IO/S3/URI.cpp:44: DB::S3::URI::URI(String const&) @ 0x28ce170a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd56bd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ce79cd in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:55.010522 [ 3331 ] {78a73fdb-ee3a-455b-a468-a3e6c4f25c69} executeQuery: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Int64. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM clusterAllReplicas(-57, 09);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:132: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90f84 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:55.012486 [ 3331 ] {78a73fdb-ee3a-455b-a468-a3e6c4f25c69} TCPHandler: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Int64. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:132: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90f84 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:55.019078 [ 3331 ] {bfcd3d11-1617-4091-8c64-141375ae703f} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql('')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1bf9de33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:432: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x2b9b6ea0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:63: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0bd76 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:55.020669 [ 3331 ] {bfcd3d11-1617-4091-8c64-141375ae703f} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1bf9de33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:432: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x2b9b6ea0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:63: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0bd76 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:55.131376 [ 3331 ] {7f7e027f-cb11-4bec-ac07-3ad78b088c98} executeQuery: Code: 42. DB::Exception: The signature of table function s3Cluster could be the following: - cluster, url - cluster, url, format - cluster, url, format, structure - cluster, url, access_key_id, secret_access_key - cluster, url, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, format - cluster, url, access_key_id, secret_access_key, format, structure - cluster, url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3Cluster();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3Cluster.cpp:62: DB::TableFunctionS3Cluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ce2dd1 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:55.133355 [ 3331 ] {7f7e027f-cb11-4bec-ac07-3ad78b088c98} TCPHandler: Code: 42. DB::Exception: The signature of table function s3Cluster could be the following: - cluster, url - cluster, url, format - cluster, url, format, structure - cluster, url, access_key_id, secret_access_key - cluster, url, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, format - cluster, url, access_key_id, secret_access_key, format, structure - cluster, url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3Cluster.cpp:62: DB::TableFunctionS3Cluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ce2dd1 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:55.142002 [ 3331 ] {039ff731-9366-4fec-b7da-ff51996621b2} executeQuery: Code: 42. DB::Exception: Table function 'clusterAllReplicas' requires from 2 to 4 parameters: , , [, sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM clusterAllReplicas(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:55.143591 [ 3331 ] {039ff731-9366-4fec-b7da-ff51996621b2} TCPHandler: Code: 42. DB::Exception: Table function 'clusterAllReplicas' requires from 2 to 4 parameters: , , [, sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:55.255488 [ 3331 ] {791a1812-9244-490e-a2b4-f76556122964} executeQuery: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM merge([30]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [106]) @ 0x28c894de in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c879b8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:55.257370 [ 3331 ] {791a1812-9244-490e-a2b4-f76556122964} TCPHandler: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [106]) @ 0x28c894de in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c879b8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:55.275464 [ 3331 ] {63c967ac-2838-4aa8-936a-8a06dd2e95ec} executeQuery: Code: 42. DB::Exception: The signature of table function 'oss' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM oss();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd4635 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:55.277170 [ 3331 ] {63c967ac-2838-4aa8-936a-8a06dd2e95ec} TCPHandler: Code: 42. DB::Exception: The signature of table function 'oss' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd4635 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:55.293899 [ 3331 ] {3a2261ef-813b-4488-b6be-2ccf3145a441} executeQuery: Code: 42. DB::Exception: The signature of table function s3Cluster could be the following: - cluster, url - cluster, url, format - cluster, url, format, structure - cluster, url, access_key_id, secret_access_key - cluster, url, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, format - cluster, url, access_key_id, secret_access_key, format, structure - cluster, url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3Cluster('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3Cluster.cpp:62: DB::TableFunctionS3Cluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ce2dd1 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:55.295494 [ 3331 ] {3a2261ef-813b-4488-b6be-2ccf3145a441} TCPHandler: Code: 42. DB::Exception: The signature of table function s3Cluster could be the following: - cluster, url - cluster, url, format - cluster, url, format, structure - cluster, url, access_key_id, secret_access_key - cluster, url, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, format - cluster, url, access_key_id, secret_access_key, format, structure - cluster, url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3Cluster.cpp:62: DB::TableFunctionS3Cluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ce2dd1 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:55.410479 [ 3331 ] {c5fad31a-ae2f-4919-961f-7c41f6857fa8} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toInt128OrDefault provided 0, expected 1 to 2 ('Value' : , ['default_value' : ]): While processing toInt128OrDefault(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toInt128OrDefault();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x290aefbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290acf45 in /usr/bin/clickhouse 7. /build/src/Functions/castOrDefault.cpp:220: DB::FunctionCastOrDefaultTyped>, DB::NameToInt128OrDefault>::getReturnTypeImpl(std::vector> const&) const @ 0x1bf68cbc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:55.413035 [ 3331 ] {c5fad31a-ae2f-4919-961f-7c41f6857fa8} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toInt128OrDefault provided 0, expected 1 to 2 ('Value' : , ['default_value' : ]): While processing toInt128OrDefault(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x290aefbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290acf45 in /usr/bin/clickhouse 7. /build/src/Functions/castOrDefault.cpp:220: DB::FunctionCastOrDefaultTyped>, DB::NameToInt128OrDefault>::getReturnTypeImpl(std::vector> const&) const @ 0x1bf68cbc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:55.533809 [ 3331 ] {88b46af3-5528-4e92-b49a-76b8af0f4849} executeQuery: Code: 43. DB::Exception: Argument 0 for function arrayConcat must be an array but it has type UInt32.: While processing arrayConcat(9074930). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT arrayConcat(9074930);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, String&&, String&&) @ 0x213be908 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayConcat.cpp:46: DB::FunctionArrayConcat::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x213be691 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:55.535667 [ 3331 ] {88b46af3-5528-4e92-b49a-76b8af0f4849} TCPHandler: Code: 43. DB::Exception: Argument 0 for function arrayConcat must be an array but it has type UInt32.: While processing arrayConcat(9074930). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, String&&, String&&) @ 0x213be908 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayConcat.cpp:46: DB::FunctionArrayConcat::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x213be691 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:41:55.654457 [ 3331 ] {5dd8f8b9-1bb3-437a-bdc1-47869cfcd98b} executeQuery: Code: 42. DB::Exception: Number of arguments for function 'joinGet' doesn't match: passed 2, should be greater or equal to 3: While processing NULL, NULL, joinGet(rank(), NULL), ''. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, NULL, joinGet(rank(), NULL), '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionJoinGet.cpp:76: DB::JoinGetOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x19dee426 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a073e in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 2024.03.27 21:41:55.656465 [ 3331 ] {5dd8f8b9-1bb3-437a-bdc1-47869cfcd98b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function 'joinGet' doesn't match: passed 2, should be greater or equal to 3: While processing NULL, NULL, joinGet(rank(), NULL), ''. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionJoinGet.cpp:76: DB::JoinGetOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x19dee426 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a073e in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 2024.03.27 21:41:55.821086 [ 3331 ] {cb7c9e3c-879f-484a-b0ce-88c9d3bfc5d9} executeQuery: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]: While processing (SELECT * FROM executable([])) AS qdq: While processing (SELECT (SELECT '\0', NULL, -42527.), (SELECT * FROM executable([])) AS qdq, quantilesExactHigh()) AS _subquery593: While processing [(SELECT (SELECT '\0', NULL, -42527.), (SELECT * FROM executable([])) AS qdq, quantilesExactHigh()) AS _subquery593, (SELECT (SELECT [NULL]) AS ldeddkbl, NULL, [CAST((SELECT [], -6817.47, [(SELECT * FROM input(-506, toYYYYMM((SELECT polygonsUnionCartesian()) AS pgnupi, (SELECT regionHierarchy(-9056.5)) AS v))) AS brway, (SELECT [], 8.6, sequenceMatch(), (SELECT [SHA256()], [(SELECT -14.74, (SELECT toDecimal64OrDefault([(SELECT NULL, '\0', -95, '', []), (SELECT * FROM iceberg()) AS zwymz])) AS eol, (SELECT * FROM viewExplain()), '') AS nbzpahr], -65296) AS wto) AS xmhth], (SELECT * FROM merge('\0')) AS yqznae) AS xabtz, 'Date')], CAST(CAST(['\0'], 'DateTime'), 'DateTime'), 'B') AS _subquery594]: While processing CAST([(SELECT (SELECT '\0', NULL, -42527.), (SELECT * FROM executable([])) AS qdq, quantilesExactHigh()) AS _subquery593, (SELECT (SELECT [NULL]) AS ldeddkbl, NULL, [CAST((SELECT [], -6817.47, [(SELECT * FROM input(-506, toYYYYMM((SELECT polygonsUnionCartesian()) AS pgnupi, (SELECT regionHierarchy(-9056.5)) AS v))) AS brway, (SELECT [], 8.6, sequenceMatch(), (SELECT [SHA256()], [(SELECT -14.74, (SELECT toDecimal64OrDefault([(SELECT NULL, '\0', -95, '', []), (SELECT * FROM iceberg()) AS zwymz])) AS eol, (SELECT * FROM viewExplain()), '') AS nbzpahr], -65296) AS wto) AS xmhth], (SELECT * FROM merge('\0')) AS yqznae) AS xabtz, 'Date')], CAST(CAST(['\0'], 'DateTime'), 'DateTime'), 'B') AS _subquery594], 'Date'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(([( SELECT ( SELECT '\0', NULL, -42527.0 ) , ( SELECT * FROM executable([]) ) AS qdq, quantilesExactHigh() ) , ( SELECT ( SELECT [NULL] ) AS ldeddkbl, NULL, [(CAST((( SELECT [], -6817.47, [( SELECT * FROM input(-506, toYYYYMM(( SELECT polygonsUnionCartesian() ) AS pgnupi, ( SELECT regionHierarchy(-9056.5) ) AS v)) ) AS brway, ( SELECT [], 8.6, sequenceMatch(), ( SELECT [SHA256()], [( SELECT -014.74, ( SELECT toDecimal64OrDefault([( SELECT NULL, '\0', -95, '', [] ) , ( SELECT * FROM iceberg() ) AS zwymz]) ) AS eol, ( SELECT * FROM viewExplain() ) , '' ) AS nbzpahr], -65296 ) AS wto ) AS xmhth], ( SELECT * FROM merge('\0') ) AS yqznae ) AS xabtz) AS Date))], (CAST(((CAST((['\0']) AS DateTime))) AS DateTime)), 'B' ) ]) AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:60: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cb7708 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230004 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 2024.03.27 21:41:55.823953 [ 3331 ] {cb7c9e3c-879f-484a-b0ce-88c9d3bfc5d9} TCPHandler: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]: While processing (SELECT * FROM executable([])) AS qdq: While processing (SELECT (SELECT '\0', NULL, -42527.), (SELECT * FROM executable([])) AS qdq, quantilesExactHigh()) AS _subquery593: While processing [(SELECT (SELECT '\0', NULL, -42527.), (SELECT * FROM executable([])) AS qdq, quantilesExactHigh()) AS _subquery593, (SELECT (SELECT [NULL]) AS ldeddkbl, NULL, [CAST((SELECT [], -6817.47, [(SELECT * FROM input(-506, toYYYYMM((SELECT polygonsUnionCartesian()) AS pgnupi, (SELECT regionHierarchy(-9056.5)) AS v))) AS brway, (SELECT [], 8.6, sequenceMatch(), (SELECT [SHA256()], [(SELECT -14.74, (SELECT toDecimal64OrDefault([(SELECT NULL, '\0', -95, '', []), (SELECT * FROM iceberg()) AS zwymz])) AS eol, (SELECT * FROM viewExplain()), '') AS nbzpahr], -65296) AS wto) AS xmhth], (SELECT * FROM merge('\0')) AS yqznae) AS xabtz, 'Date')], CAST(CAST(['\0'], 'DateTime'), 'DateTime'), 'B') AS _subquery594]: While processing CAST([(SELECT (SELECT '\0', NULL, -42527.), (SELECT * FROM executable([])) AS qdq, quantilesExactHigh()) AS _subquery593, (SELECT (SELECT [NULL]) AS ldeddkbl, NULL, [CAST((SELECT [], -6817.47, [(SELECT * FROM input(-506, toYYYYMM((SELECT polygonsUnionCartesian()) AS pgnupi, (SELECT regionHierarchy(-9056.5)) AS v))) AS brway, (SELECT [], 8.6, sequenceMatch(), (SELECT [SHA256()], [(SELECT -14.74, (SELECT toDecimal64OrDefault([(SELECT NULL, '\0', -95, '', []), (SELECT * FROM iceberg()) AS zwymz])) AS eol, (SELECT * FROM viewExplain()), '') AS nbzpahr], -65296) AS wto) AS xmhth], (SELECT * FROM merge('\0')) AS yqznae) AS xabtz, 'Date')], CAST(CAST(['\0'], 'DateTime'), 'DateTime'), 'B') AS _subquery594], 'Date'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:60: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cb7708 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230004 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 2024.03.27 21:41:55.830795 [ 3331 ] {1bdcda6c-5f61-4ce1-b43b-0348b07e05d0} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1bf9de33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:432: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x2b9b6ea0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:63: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0bd76 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:55.832400 [ 3331 ] {1bdcda6c-5f61-4ce1-b43b-0348b07e05d0} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1bf9de33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:432: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x2b9b6ea0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:63: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0bd76 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:55.985361 [ 3331 ] {bbe7c764-75e1-4b7d-ad8a-d26ce7a0ae00} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: While processing CAST([], 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfsCluster([], (CAST(([]) AS Date)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a426 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:41:55.987769 [ 3331 ] {bbe7c764-75e1-4b7d-ad8a-d26ce7a0ae00} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: While processing CAST([], 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a426 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:41:56.106909 [ 3331 ] {27aa3614-4cc4-4cd9-a038-9e3aef116d65} executeQuery: Code: 42. DB::Exception: SQLite database requires 2 arguments: database path, table name. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM sqlite('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [64]) @ 0x1a04a1de in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:70: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0ef7d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:56.108780 [ 3331 ] {27aa3614-4cc4-4cd9-a038-9e3aef116d65} TCPHandler: Code: 42. DB::Exception: SQLite database requires 2 arguments: database path, table name. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [64]) @ 0x1a04a1de in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:70: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0ef7d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:56.244327 [ 3331 ] {81eaad03-54a9-4784-9739-1c3085d0e184} executeQuery: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Null. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hudi(NULL, '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd56a5 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ce79cd in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:56.246266 [ 3331 ] {81eaad03-54a9-4784-9739-1c3085d0e184} TCPHandler: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Null. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd56a5 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ce79cd in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:56.387831 [ 3331 ] {2370b1cd-bed9-4918-8372-8de578d243a9} executeQuery: Code: 170. DB::Exception: Bad get: has Array, requested String. (BAD_GET) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remoteSecure('WgQgv>Dg', []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19c832ed in /usr/bin/clickhouse 7. /build/src/Interpreters/evaluateConstantExpression.cpp:135: DB::evaluateConstantExpressionForDatabaseName(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3382c4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:152: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c91265 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:56.389781 [ 3331 ] {2370b1cd-bed9-4918-8372-8de578d243a9} TCPHandler: Code: 170. DB::Exception: Bad get: has Array, requested String. (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19c832ed in /usr/bin/clickhouse 7. /build/src/Interpreters/evaluateConstantExpression.cpp:135: DB::evaluateConstantExpressionForDatabaseName(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3382c4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:152: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c91265 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:56.502464 [ 3331 ] {50139338-00f7-4e7a-a91b-ea8fb09dae73} executeQuery: Code: 43. DB::Exception: Illegal type Float64 of the first argument of function leftPad, should be string: While processing toRelativeSecondNum(leftPad(-95.138, [NULL])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toRelativeSecondNum(lpad(-95.138, [NULL]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/padString.cpp:171: DB::(anonymous namespace)::FunctionPadString::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20137422 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:41:56.504457 [ 3331 ] {50139338-00f7-4e7a-a91b-ea8fb09dae73} TCPHandler: Code: 43. DB::Exception: Illegal type Float64 of the first argument of function leftPad, should be string: While processing toRelativeSecondNum(leftPad(-95.138, [NULL])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/padString.cpp:171: DB::(anonymous namespace)::FunctionPadString::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20137422 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:41:56.622770 [ 3331 ] {33e7405e-5abb-467b-a0d6-47780f5fdcfb} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function ULIDStringToDateTime. Must be String or FixedString(26).: While processing [['\0']], 51, ULIDStringToDateTime([], -60301455.9). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [['\0']], 51, ULIDStringToDateTime([], -60301455.9);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingULID.cpp:62: DB::FunctionULIDStringToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x19f1baff in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:41:56.625015 [ 3331 ] {33e7405e-5abb-467b-a0d6-47780f5fdcfb} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function ULIDStringToDateTime. Must be String or FixedString(26).: While processing [['\0']], 51, ULIDStringToDateTime([], -60301455.9). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingULID.cpp:62: DB::FunctionULIDStringToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x19f1baff in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:41:56.635544 [ 3331 ] {82be631a-ac0f-4b1b-b962-175c1966c392} executeQuery: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toDate: While processing '\0', ')', [CAST(CAST(['|zHW>OB+'], 'Date'), 'DateTime')], NULL. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '\0', ')', [(CAST(((CAST((['|zHW>OB+']) AS Date))) AS DateTime))], NULL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a426 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:41:56.637597 [ 3331 ] {82be631a-ac0f-4b1b-b962-175c1966c392} TCPHandler: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toDate: While processing '\0', ')', [CAST(CAST(['|zHW>OB+'], 'Date'), 'DateTime')], NULL. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a426 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:41:56.791827 [ 3331 ] {5380dd57-22ad-4481-a025-2dfe64b8f9c5} executeQuery: Code: 36. DB::Exception: Argument 0 must be a number, 'String' given: While processing (SELECT '\0', nonNegativeDerivative(CAST('\0', 'String'), NULL), NULL, NULL, -86153.48) AS jzqdbysw. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', ( SELECT '\0', nonNegativeDerivative((CAST(('\0') AS String)), NULL), NULL, NULL, -86153.48 ) AS jzqdbysw, ( SELECT IPv4StringToNumOrNull('\0', '>EcF1yr') ) , 43657;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, String&&) @ 0x1c86a40c in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2341: DB::WindowFunctionNonNegativeDerivative::WindowFunctionNonNegativeDerivative(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd74b67 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNonNegativeDerivative* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNonNegativeDerivative*>(DB::WindowFunctionNonNegativeDerivative*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd747b4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNonNegativeDerivative*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd74571 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd74257 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd740ca in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd74056 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2540: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_11::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2cd5b94d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_11&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd5b8f8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_11&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd5b875 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd5b815 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2cd5b7bd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:41:56.794445 [ 3331 ] {5380dd57-22ad-4481-a025-2dfe64b8f9c5} TCPHandler: Code: 36. DB::Exception: Argument 0 must be a number, 'String' given: While processing (SELECT '\0', nonNegativeDerivative(CAST('\0', 'String'), NULL), NULL, NULL, -86153.48) AS jzqdbysw. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, String&&) @ 0x1c86a40c in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2341: DB::WindowFunctionNonNegativeDerivative::WindowFunctionNonNegativeDerivative(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd74b67 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNonNegativeDerivative* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNonNegativeDerivative*>(DB::WindowFunctionNonNegativeDerivative*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd747b4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNonNegativeDerivative*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd74571 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd74257 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd740ca in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cd74056 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2540: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_11::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2cd5b94d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_11&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd5b8f8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_11&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd5b875 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cd5b815 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2cd5b7bd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:41:56.802157 [ 3331 ] {c1289739-3e92-4a21-a01a-cd015414405e} executeQuery: Code: 42. DB::Exception: Number of arguments for function firstSignificantSubdomainRFC doesn't match: passed 2, should be 1: While processing firstSignificantSubdomainRFC('>7wO]i', '$kE'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT firstSignificantSubdomainRFC('>7wO]i', '$kE');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:56.804055 [ 3331 ] {c1289739-3e92-4a21-a01a-cd015414405e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function firstSignificantSubdomainRFC doesn't match: passed 2, should be 1: While processing firstSignificantSubdomainRFC('>7wO]i', '$kE'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:41:56.973543 [ 3331 ] {c830f391-22dd-4914-afe5-6b7ba1226853} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Bad URI syntax: URI contains invalid characters (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM iceberg('+m');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x31ded3c7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:158: Poco::DataException::DataException(String const&, int) @ 0x31df02e7 in /usr/bin/clickhouse 5. /build/base/poco/Foundation/src/Exception.cpp:161: Poco::SyntaxException::SyntaxException(String const&, int) @ 0x31df0a27 in /usr/bin/clickhouse 6. /build/base/poco/Foundation/src/Exception.cpp:179: Poco::URISyntaxException::URISyntaxException(String const&, int) @ 0x31df4b67 in /usr/bin/clickhouse 7. /build/base/poco/Foundation/src/URI.cpp:724: Poco::URI::parse(String const&)::$_0::operator()(char) const @ 0x31e85202 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__algorithm/for_each.h:25: Poco::URI::parse(String const&)::$_0 std::for_each[abi:v15000], Poco::URI::parse(String const&)::$_0>(std::__wrap_iter, std::__wrap_iter, Poco::URI::parse(String const&)::$_0) @ 0x31e84982 in /usr/bin/clickhouse 9. /build/base/poco/Foundation/src/URI.cpp:727: Poco::URI::parse(String const&) @ 0x31e808c5 in /usr/bin/clickhouse 10. /build/base/poco/Foundation/src/URI.cpp:42: Poco::URI::URI(String const&) @ 0x31e80825 in /usr/bin/clickhouse 11. /build/src/IO/S3/URI.cpp:39: DB::S3::URI::URI(String const&) @ 0x28ce165b in /usr/bin/clickhouse 12. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd56bd in /usr/bin/clickhouse 13. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cf366d in /usr/bin/clickhouse 14. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 15. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 16. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:41:56.975462 [ 3331 ] {c830f391-22dd-4914-afe5-6b7ba1226853} TCPHandler: Code: 1000. DB::Exception: Bad URI syntax: URI contains invalid characters. (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x31ded3c7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:158: Poco::DataException::DataException(String const&, int) @ 0x31df02e7 in /usr/bin/clickhouse 5. /build/base/poco/Foundation/src/Exception.cpp:161: Poco::SyntaxException::SyntaxException(String const&, int) @ 0x31df0a27 in /usr/bin/clickhouse 6. /build/base/poco/Foundation/src/Exception.cpp:179: Poco::URISyntaxException::URISyntaxException(String const&, int) @ 0x31df4b67 in /usr/bin/clickhouse 7. /build/base/poco/Foundation/src/URI.cpp:724: Poco::URI::parse(String const&)::$_0::operator()(char) const @ 0x31e85202 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__algorithm/for_each.h:25: Poco::URI::parse(String const&)::$_0 std::for_each[abi:v15000], Poco::URI::parse(String const&)::$_0>(std::__wrap_iter, std::__wrap_iter, Poco::URI::parse(String const&)::$_0) @ 0x31e84982 in /usr/bin/clickhouse 9. /build/base/poco/Foundation/src/URI.cpp:727: Poco::URI::parse(String const&) @ 0x31e808c5 in /usr/bin/clickhouse 10. /build/base/poco/Foundation/src/URI.cpp:42: Poco::URI::URI(String const&) @ 0x31e80825 in /usr/bin/clickhouse 11. /build/src/IO/S3/URI.cpp:39: DB::S3::URI::URI(String const&) @ 0x28ce165b in /usr/bin/clickhouse 12. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd56bd in /usr/bin/clickhouse 13. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cf366d in /usr/bin/clickhouse 14. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 15. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 16. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 21:41:56.981625 [ 3331 ] {f04a367d-7263-491d-bea4-fa59ca9ccdcf} ReadWriteBufferFromHTTP: HTTP request to `http://127.0.0.1:9019/ping?use_connection_pooling=1` failed at try 1/1 with bytes read: 0/unknown. Error: Connection refused. (Current backoff wait is 100/1600 ms) 2024.03.27 21:41:57.036202 [ 8947 ] {513082d5-9f8e-4616-84fd-9ca625018b57} executeQuery: Code: 524. DB::Exception: ALTER of key column id0 from type String to type UUID is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57022) (comment: 00714_alter_uuid.sql) (in query: ALTER TABLE uuid MODIFY COLUMN id0 UUID;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e817c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:57.037177 [ 8947 ] {513082d5-9f8e-4616-84fd-9ca625018b57} TCPHandler: Code: 524. DB::Exception: ALTER of key column id0 from type String to type UUID is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e817c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:57.054748 [ 8947 ] {47346c7b-f691-4b9d-9038-e3fe0c37dc30} executeQuery: Code: 524. DB::Exception: ALTER of key column id1 from type FixedString(36) to type UUID is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57022) (comment: 00714_alter_uuid.sql) (in query: ALTER TABLE uuid MODIFY COLUMN id1 UUID;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e817c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:57.055708 [ 8947 ] {47346c7b-f691-4b9d-9038-e3fe0c37dc30} TCPHandler: Code: 524. DB::Exception: ALTER of key column id1 from type FixedString(36) to type UUID is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19ef2508 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e817c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:57.217188 [ 3331 ] {f04a367d-7263-491d-bea4-fa59ca9ccdcf} executeQuery: Code: 410. DB::Exception: clickhouse-jdbc-bridge is not running. Please, start it manually. (EXTERNAL_SERVER_IS_NOT_RESPONDING) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55752) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM jdbc('3f1U)5Sp', 'G');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/BridgeHelper/IBridgeHelper.cpp:55: DB::IBridgeHelper::startBridgeCommand() @ 0x2c6ca776 in /usr/bin/clickhouse 7. /build/src/BridgeHelper/IBridgeHelper.cpp:25: DB::IBridgeHelper::startBridgeSync() @ 0x2c6c9cdd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionXDBC.cpp:60: DB::ITableFunctionXDBC::startBridgeIfNot(std::shared_ptr) const @ 0x28cfbbba in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionXDBC.cpp:97: DB::ITableFunctionXDBC::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28cfc4ab in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:41:57.219122 [ 3331 ] {f04a367d-7263-491d-bea4-fa59ca9ccdcf} TCPHandler: Code: 410. DB::Exception: clickhouse-jdbc-bridge is not running. Please, start it manually. (EXTERNAL_SERVER_IS_NOT_RESPONDING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/BridgeHelper/IBridgeHelper.cpp:55: DB::IBridgeHelper::startBridgeCommand() @ 0x2c6ca776 in /usr/bin/clickhouse 7. /build/src/BridgeHelper/IBridgeHelper.cpp:25: DB::IBridgeHelper::startBridgeSync() @ 0x2c6c9cdd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionXDBC.cpp:60: DB::ITableFunctionXDBC::startBridgeIfNot(std::shared_ptr) const @ 0x28cfbbba in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionXDBC.cpp:97: DB::ITableFunctionXDBC::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28cfc4ab in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:00.002728 [ 2750 ] {6561eeb1-6705-44c4-bfb5-d3c259c9be49} executeQuery: Code: 42. DB::Exception: Table function 'numbers_mt' requires 'length' or 'offset, length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM numbers_mt();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:40: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c9e2af in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:00.005414 [ 2750 ] {6561eeb1-6705-44c4-bfb5-d3c259c9be49} TCPHandler: Code: 42. DB::Exception: Table function 'numbers_mt' requires 'length' or 'offset, length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:40: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c9e2af in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:00.140490 [ 2750 ] {3553ccdd-22ff-4cce-a331-28790d3bfe7f} executeQuery: Code: 42. DB::Exception: Number of arguments for function toInt64OrZero doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing -2.2, -1406428, toInt64OrZero(), '', replicate(NULL, '\0'): While processing (SELECT -2.2, -1406428, toInt64OrZero(), '', replicate(NULL, '\0')) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM meilisearch([], ( SELECT -2.2, -1406428, toInt64OrZero(), '', replicate(NULL, '\0') ) AS yaf, ( SELECT -6.281, (CAST(('\0') AS String)), '*C+OU', NULL, '\0' ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2083: DB::FunctionConvertFromString, DB::NameToInt64OrZero, (DB::ConvertFromStringExceptionMode)1, (DB::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a0208d3 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:00.143113 [ 2750 ] {3553ccdd-22ff-4cce-a331-28790d3bfe7f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toInt64OrZero doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing -2.2, -1406428, toInt64OrZero(), '', replicate(NULL, '\0'): While processing (SELECT -2.2, -1406428, toInt64OrZero(), '', replicate(NULL, '\0')) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2083: DB::FunctionConvertFromString, DB::NameToInt64OrZero, (DB::ConvertFromStringExceptionMode)1, (DB::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a0208d3 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:00.310079 [ 2750 ] {75c68c8d-fd2f-4216-a5f6-d834789531cc} executeQuery: Code: 42. DB::Exception: Function arrayPartialReverseSort needs at least 2 arguments, passed 0: While processing arrayPartialReverseSort(): While processing (SELECT arrayPartialReverseSort()) AS irmd: While processing (__getScalar('7789823997692358509_3700297270169672182') AS jdlkmlmz, (SELECT arrayPartialReverseSort()) AS irmd): While processing CAST((__getScalar('7789823997692358509_3700297270169672182') AS jdlkmlmz, (SELECT arrayPartialReverseSort()) AS irmd), 'Date'): While processing (SELECT [-6205], CAST(((SELECT 'XT\\8O:0)', NULL, '\0') AS jdlkmlmz, (SELECT arrayPartialReverseSort()) AS irmd), 'Date')) AS ieud: While processing CAST((SELECT [-6205], CAST(((SELECT 'XT\\8O:0)', NULL, '\0') AS jdlkmlmz, (SELECT arrayPartialReverseSort()) AS irmd), 'Date')) AS ieud, 'String'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, (CAST((( SELECT [-6205], (CAST((( SELECT 'XT\8O:0)', NULL, '\0' ) AS jdlkmlmz, ( SELECT arrayPartialReverseSort() ) AS irmd) AS Date)) ) AS ieud) AS String)), (CAST(([]) AS DateTime)), NULL, array(['\0']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, char const*&&, unsigned long&&) @ 0x1eb5d044 in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionArrayMapped.h:174: DB::FunctionArrayMapped, DB::NameArrayPartialReverseSort>::getReturnTypeImpl(std::vector> const&) const @ 0x21b5dcd0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:00.312450 [ 2750 ] {75c68c8d-fd2f-4216-a5f6-d834789531cc} TCPHandler: Code: 42. DB::Exception: Function arrayPartialReverseSort needs at least 2 arguments, passed 0: While processing arrayPartialReverseSort(): While processing (SELECT arrayPartialReverseSort()) AS irmd: While processing (__getScalar('7789823997692358509_3700297270169672182') AS jdlkmlmz, (SELECT arrayPartialReverseSort()) AS irmd): While processing CAST((__getScalar('7789823997692358509_3700297270169672182') AS jdlkmlmz, (SELECT arrayPartialReverseSort()) AS irmd), 'Date'): While processing (SELECT [-6205], CAST(((SELECT 'XT\\8O:0)', NULL, '\0') AS jdlkmlmz, (SELECT arrayPartialReverseSort()) AS irmd), 'Date')) AS ieud: While processing CAST((SELECT [-6205], CAST(((SELECT 'XT\\8O:0)', NULL, '\0') AS jdlkmlmz, (SELECT arrayPartialReverseSort()) AS irmd), 'Date')) AS ieud, 'String'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, char const*&&, unsigned long&&) @ 0x1eb5d044 in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionArrayMapped.h:174: DB::FunctionArrayMapped, DB::NameArrayPartialReverseSort>::getReturnTypeImpl(std::vector> const&) const @ 0x21b5dcd0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:00.425181 [ 2750 ] {519d52b6-8032-4d4f-ba90-7a960e7d743a} executeQuery: Code: 42. DB::Exception: Aggregate function sparkbar requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT sparkbar();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x225c2821 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSparkbar.cpp:52: DB::(anonymous namespace)::createAggregateFunctionSparkbar(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x25de7188 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:42:00.428456 [ 2750 ] {519d52b6-8032-4d4f-ba90-7a960e7d743a} TCPHandler: Code: 42. DB::Exception: Aggregate function sparkbar requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x225c2821 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSparkbar.cpp:52: DB::(anonymous namespace)::createAggregateFunctionSparkbar(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x25de7188 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:42:00.535831 [ 2750 ] {b733c43c-9e3c-43fd-bf49-1d6cb4795dec} executeQuery: Code: 43. DB::Exception: Illegal type String of argument 1 of function h3GetUnidirectionalEdgesFromHexagon. Must be UInt64: While processing h3GetUnidirectionalEdgesFromHexagon(',D'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM format(h3GetUnidirectionalEdgesFromHexagon(',D'), NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x1cb38128 in /usr/bin/clickhouse 6. /build/src/Functions/h3GetUnidirectionalEdgesFromHexagon.cpp:46: DB::(anonymous namespace)::FunctionH3GetUnidirectionalEdgesFromHexagon::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d5f408a in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1796: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x2a04236d in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:80: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b337a0b in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b33811d in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b338232 in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionFormat.cpp:46: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d13bb9 in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 28. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 29. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:42:00.537735 [ 2750 ] {b733c43c-9e3c-43fd-bf49-1d6cb4795dec} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument 1 of function h3GetUnidirectionalEdgesFromHexagon. Must be UInt64: While processing h3GetUnidirectionalEdgesFromHexagon(',D'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x1cb38128 in /usr/bin/clickhouse 6. /build/src/Functions/h3GetUnidirectionalEdgesFromHexagon.cpp:46: DB::(anonymous namespace)::FunctionH3GetUnidirectionalEdgesFromHexagon::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d5f408a in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1796: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x2a04236d in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:80: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b337a0b in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b33811d in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b338232 in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionFormat.cpp:46: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d13bb9 in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 28. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 29. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:42:00.644934 [ 2750 ] {4c0d5b46-7add-421e-98b0-b84478d559f7} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function toYYYYMMDD. Should be Date, Date32, DateTime or DateTime64: While processing '', '\0', toYYYYMMDD('eMH*[;ri'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', '\0', toYYYYMMDD('eMH*[;ri');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x20f142f1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:59: DB::FunctionDateOrDateTimeToSomething, DB::ToYYYYMMDDImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x20f12b7f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:00.647052 [ 2750 ] {4c0d5b46-7add-421e-98b0-b84478d559f7} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function toYYYYMMDD. Should be Date, Date32, DateTime or DateTime64: While processing '', '\0', toYYYYMMDD('eMH*[;ri'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x20f142f1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:59: DB::FunctionDateOrDateTimeToSomething, DB::ToYYYYMMDDImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x20f12b7f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:00.781963 [ 2750 ] {29d812b9-69ca-4d7f-b6cf-4510d7a691cc} executeQuery: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]: While processing (SELECT * FROM executable()) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cluster(( SELECT * FROM executable() ) , []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:60: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cb7708 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 23. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:1343: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b234ec0 in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:73: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3378ae in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b33811d in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b338232 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionRemote.cpp:131: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90ebf in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 2024.03.27 21:42:00.784175 [ 2750 ] {29d812b9-69ca-4d7f-b6cf-4510d7a691cc} TCPHandler: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]: While processing (SELECT * FROM executable()) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:60: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cb7708 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 23. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:1343: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b234ec0 in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:73: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3378ae in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b33811d in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b338232 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionRemote.cpp:131: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90ebf in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 2024.03.27 21:42:00.797570 [ 2750 ] {6d932f21-3cad-4acb-8108-b59aa92c1b3e} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nullable(Nothing)) of argument of function toDate: While processing CAST(CAST([NULL], 'Date'), 'Date'): While processing (SELECT * FROM iceberg([], CAST(CAST([NULL], 'Date'), 'Date'))) AS _subquery597: While processing arrayAvg((SELECT * FROM iceberg([], CAST(CAST([NULL], 'Date'), 'Date'))) AS _subquery597). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT arrayAvg(( SELECT * FROM iceberg([], (CAST(((CAST(([NULL]) AS Date))) AS Date))) ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a426 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:42:00.799684 [ 2750 ] {6d932f21-3cad-4acb-8108-b59aa92c1b3e} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nullable(Nothing)) of argument of function toDate: While processing CAST(CAST([NULL], 'Date'), 'Date'): While processing (SELECT * FROM iceberg([], CAST(CAST([NULL], 'Date'), 'Date'))) AS _subquery597: While processing arrayAvg((SELECT * FROM iceberg([], CAST(CAST([NULL], 'Date'), 'Date'))) AS _subquery597). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a426 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:42:00.928389 [ 2750 ] {53a67257-5e27-4ad8-8097-ffa7a130d281} executeQuery: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hive('[2|eR', []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d1d1b7 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:00.930271 [ 2750 ] {53a67257-5e27-4ad8-8097-ffa7a130d281} TCPHandler: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d1d1b7 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:01.051425 [ 2750 ] {b70fdcfc-1702-4174-9bb1-dcb429b215c7} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST((( SELECT * FROM dictionary() ) , ( SELECT notNullIn() ) AS ixz) AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a52fed3 in /usr/bin/clickhouse 6. /build/src/Interpreters/misc.h:45: DB::checkFunctionIsInOrGlobalInOperator(DB::ASTFunction const&) @ 0x29e214ef in /usr/bin/clickhouse 7. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:92: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e2091c in /usr/bin/clickhouse 8. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204fd in /usr/bin/clickhouse 9. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 10. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:55: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20898 in /usr/bin/clickhouse 11. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20462 in /usr/bin/clickhouse 12. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 13. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 14. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 15. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 16. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 17. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 18. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 19. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 20. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:55: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20898 in /usr/bin/clickhouse 21. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20462 in /usr/bin/clickhouse 22. /build/src/Interpreters/ApplyWithSubqueryVisitor.h:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&) @ 0x2adac02e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:407: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d5a2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:42:01.053662 [ 2750 ] {b70fdcfc-1702-4174-9bb1-dcb429b215c7} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a52fed3 in /usr/bin/clickhouse 6. /build/src/Interpreters/misc.h:45: DB::checkFunctionIsInOrGlobalInOperator(DB::ASTFunction const&) @ 0x29e214ef in /usr/bin/clickhouse 7. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:92: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e2091c in /usr/bin/clickhouse 8. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204fd in /usr/bin/clickhouse 9. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 10. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:55: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20898 in /usr/bin/clickhouse 11. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20462 in /usr/bin/clickhouse 12. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 13. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 14. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 15. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 16. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 17. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 18. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 19. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 20. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:55: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20898 in /usr/bin/clickhouse 21. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20462 in /usr/bin/clickhouse 22. /build/src/Interpreters/ApplyWithSubqueryVisitor.h:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&) @ 0x2adac02e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:407: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d5a2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:42:01.170607 [ 2750 ] {91fa5657-9630-46ee-a997-8e35cb6a6624} executeQuery: Code: 43. DB::Exception: Illegal type String expression, must be numeric type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM numbers_mt('', ';/#07');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:64: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28c9f348 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:42: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c9e3ad in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:01.172697 [ 2750 ] {91fa5657-9630-46ee-a997-8e35cb6a6624} TCPHandler: Code: 43. DB::Exception: Illegal type String expression, must be numeric type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:64: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28c9f348 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:42: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c9e3ad in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:01.288172 [ 2750 ] {42d60555-ed64-44e2-ac24-b5463a519c23} executeQuery: Code: 42. DB::Exception: Number of arguments for function toSecond doesn't match: passed 0, should be 1 or 2: While processing toSecond(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT SECOND();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x20ec4651 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:59: DB::FunctionDateOrDateTimeToSomething, DB::ToSecondImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x20ec28bf in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:01.290285 [ 2750 ] {42d60555-ed64-44e2-ac24-b5463a519c23} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toSecond doesn't match: passed 0, should be 1 or 2: While processing toSecond(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x20ec4651 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:59: DB::FunctionDateOrDateTimeToSomething, DB::ToSecondImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x20ec28bf in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:01.442642 [ 2750 ] {10abbe5a-a9c3-454a-9e59-c02e3aa5a022} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT tupleNegate(( SELECT globalNotNullIn(deltaSum()) ) , ( SELECT [[]], -3, (CAST(('%WO/') AS String)), (CAST((multiplyDecimal(polygonsSymDifferenceSpherical(( SELECT * FROM remote([], [(CAST(([]) AS String))]) ) , (CAST(('\0') AS Date))), [])) AS String)) ) AS xxz);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a52fed3 in /usr/bin/clickhouse 6. /build/src/Interpreters/misc.h:45: DB::checkFunctionIsInOrGlobalInOperator(DB::ASTFunction const&) @ 0x29e214ef in /usr/bin/clickhouse 7. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:92: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e2091c in /usr/bin/clickhouse 8. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204fd in /usr/bin/clickhouse 9. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 10. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:55: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20898 in /usr/bin/clickhouse 11. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20462 in /usr/bin/clickhouse 12. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 13. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 14. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 15. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 16. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 17. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 18. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:55: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20898 in /usr/bin/clickhouse 19. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20462 in /usr/bin/clickhouse 20. /build/src/Interpreters/ApplyWithSubqueryVisitor.h:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&) @ 0x2adac02e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:407: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d5a2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:01.444522 [ 2750 ] {10abbe5a-a9c3-454a-9e59-c02e3aa5a022} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a52fed3 in /usr/bin/clickhouse 6. /build/src/Interpreters/misc.h:45: DB::checkFunctionIsInOrGlobalInOperator(DB::ASTFunction const&) @ 0x29e214ef in /usr/bin/clickhouse 7. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:92: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e2091c in /usr/bin/clickhouse 8. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204fd in /usr/bin/clickhouse 9. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 10. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:55: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20898 in /usr/bin/clickhouse 11. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20462 in /usr/bin/clickhouse 12. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 13. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 14. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 15. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 16. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 17. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 18. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:55: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20898 in /usr/bin/clickhouse 19. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20462 in /usr/bin/clickhouse 20. /build/src/Interpreters/ApplyWithSubqueryVisitor.h:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&) @ 0x2adac02e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:407: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d5a2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:01.455692 [ 2750 ] {be81531c-f1d5-497f-a3ea-29475e2c0434} executeQuery: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toDateTime: While processing CAST(CAST([''], 'DateTime'), 'Date'), domain(aes_encrypt_mysql(CAST([], 'Date'), '[HIDDEN]')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT CAST(CAST([''], 'DateTime'), 'Date'), domain(aes_encrypt_mysql(CAST([], 'Date'), '[HIDDEN]'))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a88f06 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a87ffe in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:42:01.457719 [ 2750 ] {be81531c-f1d5-497f-a3ea-29475e2c0434} TCPHandler: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toDateTime: While processing CAST(CAST([''], 'DateTime'), 'Date'), domain(aes_encrypt_mysql(CAST([], 'Date'), '[HIDDEN]')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a88f06 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a87ffe in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:42:01.463225 [ 2750 ] {5783a30e-903e-49d9-a254-07ce81a8dd12} executeQuery: Code: 42. DB::Exception: Table function 'cluster' requires from 2 to 4 parameters: , , [, sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cluster();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:01.464822 [ 2750 ] {5783a30e-903e-49d9-a254-07ce81a8dd12} TCPHandler: Code: 42. DB::Exception: Table function 'cluster' requires from 2 to 4 parameters: , , [, sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:01.600247 [ 2750 ] {ad022c1b-3a42-49bb-8dd7-28933f7fd7b2} executeQuery: Code: 184. DB::Exception: Aggregate function quantilesTiming(CAST([], 'Date')) is found in wrong place in query: While processing quantilesTiming(CAST([], 'Date')). (ILLEGAL_AGGREGATION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM url('', quantilesTiming((CAST(([]) AS Date))));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:69: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a063eb1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:61: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a063dc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a063bc0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0657c1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a063b4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a04ba85 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:114: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x2b2400c7 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1362: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b23515e in /usr/bin/clickhouse 14. /build/src/Interpreters/evaluateConstantExpression.cpp:73: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3378ae in /usr/bin/clickhouse 15. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b33811d in /usr/bin/clickhouse 16. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b338232 in /usr/bin/clickhouse 17. /build/src/Storages/StorageURL.cpp:1106: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x2bbbb2df in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionURL.cpp:75: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc203a in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:42:01.602076 [ 2750 ] {ad022c1b-3a42-49bb-8dd7-28933f7fd7b2} TCPHandler: Code: 184. DB::Exception: Aggregate function quantilesTiming(CAST([], 'Date')) is found in wrong place in query: While processing quantilesTiming(CAST([], 'Date')). (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:69: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a063eb1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:61: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a063dc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a063bc0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0657c1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a063b4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a04ba85 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:114: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x2b2400c7 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1362: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b23515e in /usr/bin/clickhouse 14. /build/src/Interpreters/evaluateConstantExpression.cpp:73: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3378ae in /usr/bin/clickhouse 15. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b33811d in /usr/bin/clickhouse 16. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b338232 in /usr/bin/clickhouse 17. /build/src/Storages/StorageURL.cpp:1106: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x2bbbb2df in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionURL.cpp:75: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc203a in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:42:01.736629 [ 2750 ] {b668ec77-1c40-41f8-918f-f86618289779} executeQuery: Code: 36. DB::Exception: Argument 'format/NOSIGN' must be a literal with type String, got Null. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3([(CAST((231182.9096) AS Date))], NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd4aca in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:01.738667 [ 2750 ] {b668ec77-1c40-41f8-918f-f86618289779} TCPHandler: Code: 36. DB::Exception: Argument 'format/NOSIGN' must be a literal with type String, got Null. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd4aca in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:01.747500 [ 2750 ] {b1af095e-31e3-4647-98cd-04dde327f50e} executeQuery: Code: 42. DB::Exception: Number of arguments for function currentUser doesn't match: passed 1, should be 0: While processing currentUser('z#'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT currentUser('z#');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:01.749330 [ 2750 ] {b1af095e-31e3-4647-98cd-04dde327f50e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function currentUser doesn't match: passed 1, should be 0: While processing currentUser('z#'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:01.762045 [ 2750 ] {f34a9060-75b9-4227-873d-b0881ee6caef} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing simpleJSONExtractString(CAST('\0', 'Date'), 'FO/\''): While processing (SELECT simpleJSONExtractString(CAST('\0', 'Date'), 'FO/\'')) AS _subquery598: While processing dictGetFloat64OrDefault((SELECT simpleJSONExtractString(CAST('\0', 'Date'), 'FO/\'')) AS _subquery598, [-6211378]). (CANNOT_PARSE_DATE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT dictGetFloat64OrDefault(( SELECT simpleJSONExtractString((CAST(('\0') AS Date)), 'FO/\'') ) , [-6211378]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1df7397e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x221f92d5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x221f8f51 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19a61b77 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19a61866 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19a6181d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:989: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a614f4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a61391 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a5b6f8 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a4aff9 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a328 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 2024.03.27 21:42:01.764343 [ 2750 ] {f34a9060-75b9-4227-873d-b0881ee6caef} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing simpleJSONExtractString(CAST('\0', 'Date'), 'FO/\''): While processing (SELECT simpleJSONExtractString(CAST('\0', 'Date'), 'FO/\'')) AS _subquery598: While processing dictGetFloat64OrDefault((SELECT simpleJSONExtractString(CAST('\0', 'Date'), 'FO/\'')) AS _subquery598, [-6211378]). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1df7397e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x221f92d5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x221f8f51 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19a61b77 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19a61866 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19a6181d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:989: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a614f4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a61391 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a5b6f8 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a4aff9 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a328 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 2024.03.27 21:42:01.892668 [ 2750 ] {28e9da87-2902-4e57-b4b3-c3b2125689d3} executeQuery: Code: 42. DB::Exception: Number of arguments for function roundBankers doesn't match: passed 0, should be 1 or 2.: While processing roundBankers(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT roundBankers();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:541: DB::FunctionRounding::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1a61d13f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:01.894557 [ 2750 ] {28e9da87-2902-4e57-b4b3-c3b2125689d3} TCPHandler: Code: 42. DB::Exception: Number of arguments for function roundBankers doesn't match: passed 0, should be 1 or 2.: While processing roundBankers(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:541: DB::FunctionRounding::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1a61d13f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:02.031041 [ 2750 ] {547d55d7-0dba-4b89-b14b-86d4216bbfbc} executeQuery: Code: 42. DB::Exception: Table function 'zeros_mt' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM zeros_mt();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28cb47d9 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:02.033083 [ 2750 ] {547d55d7-0dba-4b89-b14b-86d4216bbfbc} TCPHandler: Code: 42. DB::Exception: Table function 'zeros_mt' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28cb47d9 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:02.143750 [ 2750 ] {bd10aabb-5a00-4140-997c-7914b4654aff} executeQuery: Code: 36. DB::Exception: Table function 'viewExplain' requires a String argument for EXPLAIN kind, got '[]'. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM viewExplain([], 'uD');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExplain.cpp:52: DB::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d18495 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:02.145577 [ 2750 ] {bd10aabb-5a00-4140-997c-7914b4654aff} TCPHandler: Code: 36. DB::Exception: Table function 'viewExplain' requires a String argument for EXPLAIN kind, got '[]'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExplain.cpp:52: DB::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d18495 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:02.157416 [ 2750 ] {c87bcfc8-ce54-48f4-9fbc-0c8d374fb0df} executeQuery: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 2, should be 1.: While processing parseTimeDelta('\0', CAST([], 'String')): While processing (SELECT parseTimeDelta('\0', CAST([], 'String'))) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfs(( SELECT parseTimeDelta('\0', (CAST(([]) AS String))) ) AS nluwvt);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:126: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20197d62 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:02.159542 [ 2750 ] {c87bcfc8-ce54-48f4-9fbc-0c8d374fb0df} TCPHandler: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 2, should be 1.: While processing parseTimeDelta('\0', CAST([], 'String')): While processing (SELECT parseTimeDelta('\0', CAST([], 'String'))) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:126: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20197d62 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:02.296043 [ 2750 ] {d943d347-200f-4782-8305-ef2fd107673d} executeQuery: Code: 42. DB::Exception: Number of arguments for function displayName doesn't match: passed 2, should be 0: While processing displayName([], '\0'): While processing (SELECT displayName([], '\0')) AS ruroafh. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT displayName([], '\0') ) AS ruroafh, ( SELECT * FROM generateRandom([], (CAST(('') AS String))) ) AS q;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 2024.03.27 21:42:02.298234 [ 2750 ] {d943d347-200f-4782-8305-ef2fd107673d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function displayName doesn't match: passed 2, should be 0: While processing displayName([], '\0'): While processing (SELECT displayName([], '\0')) AS ruroafh. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 2024.03.27 21:42:02.444289 [ 2750 ] {e5de2720-8c9a-4acb-b28d-cab0afcf7f4a} executeQuery: Code: 42. DB::Exception: Number of arguments for function ifNull doesn't match: passed 0, should be 2: While processing CAST(ifNull(), 'DateTime'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM meilisearch((CAST((ifNull()) AS DateTime)), accurateCastOrDefault((CAST(('xt;i5') AS Date))));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1796: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x2a04236d in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:80: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b337a0b in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b33811d in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b338232 in /usr/bin/clickhouse 26. /build/src/Storages/MeiliSearch/StorageMeiliSearch.cpp:157: DB::StorageMeiliSearch::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x28f0d48b in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionMeiliSearch.cpp:31: DB::TableFunctionMeiliSearch::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd2226 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 29. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 30. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 2024.03.27 21:42:02.446169 [ 2750 ] {e5de2720-8c9a-4acb-b28d-cab0afcf7f4a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function ifNull doesn't match: passed 0, should be 2: While processing CAST(ifNull(), 'DateTime'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1796: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x2a04236d in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:80: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b337a0b in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b33811d in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b338232 in /usr/bin/clickhouse 26. /build/src/Storages/MeiliSearch/StorageMeiliSearch.cpp:157: DB::StorageMeiliSearch::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x28f0d48b in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionMeiliSearch.cpp:31: DB::TableFunctionMeiliSearch::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd2226 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 29. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 30. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 2024.03.27 21:42:02.455123 [ 2750 ] {d89187e8-fc08-4f36-a064-b433ec01c529} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing polygonsIntersectionSpherical(CAST(NULL, 'Date')). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT polygonsIntersectionSpherical((CAST((NULL) AS Date)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x1971c99e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3709: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19c85ba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x19c8565c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36d49 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:02.456790 [ 2750 ] {d89187e8-fc08-4f36-a064-b433ec01c529} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing polygonsIntersectionSpherical(CAST(NULL, 'Date')). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x1971c99e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3709: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19c85ba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x19c8565c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36d49 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:02.564328 [ 2750 ] {df87a6dc-db2f-4741-ae4e-62cb58523db1} executeQuery: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM format();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:43: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d13aca in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:02.566177 [ 2750 ] {df87a6dc-db2f-4741-ae4e-62cb58523db1} TCPHandler: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:43: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d13aca in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:02.580485 [ 2750 ] {ca038824-ac9c-44d3-86ed-02cfe9636c6b} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDateTime: While processing arrayDifference(CAST(__getScalar('16940710676435280544_13866599027108340407') AS _subquery599, 'DateTime')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT arrayDifference((CAST((( SELECT [] ) ) AS DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a88f06 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a87ffe in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:42:02.582859 [ 2750 ] {ca038824-ac9c-44d3-86ed-02cfe9636c6b} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDateTime: While processing arrayDifference(CAST(__getScalar('16940710676435280544_13866599027108340407') AS _subquery599, 'DateTime')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a88f06 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a87ffe in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:42:02.588888 [ 2750 ] {98775423-bfa1-4637-916d-8a1a441ae10e} executeQuery: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hive(NULL, -8.81090);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d1d1b7 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:02.590473 [ 2750 ] {98775423-bfa1-4637-916d-8a1a441ae10e} TCPHandler: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d1d1b7 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:02.604031 [ 2750 ] {82f7ac6a-a2c0-4ba6-bb92-efa12567babb} executeQuery: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toDateTime: While processing '', _CAST('Eq', 'Nullable(String)') AS _subquery600, [], CAST(['G~3T\\O5'], 'DateTime'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', ( SELECT 'Eq' ) , [], (CAST((['G~3T\O5']) AS DateTime));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a88f06 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a87ffe in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:42:02.606231 [ 2750 ] {82f7ac6a-a2c0-4ba6-bb92-efa12567babb} TCPHandler: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toDateTime: While processing '', _CAST('Eq', 'Nullable(String)') AS _subquery600, [], CAST(['G~3T\\O5'], 'DateTime'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a88f06 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a87ffe in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:42:02.617716 [ 2750 ] {6bc1df36-1609-4c97-9fac-7e311026bf4a} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing CAST('', 'String'), CAST('\0', 'Date'), NULL, ['']. (CANNOT_PARSE_DATE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(('') AS String)), (CAST(('\0') AS Date)), NULL, [''];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1df7397e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x221f92d5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x221f8f51 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19a61b77 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19a61866 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19a6181d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:989: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a614f4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a61391 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a5b6f8 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a4aff9 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a328 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 2024.03.27 21:42:02.619811 [ 2750 ] {6bc1df36-1609-4c97-9fac-7e311026bf4a} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing CAST('', 'String'), CAST('\0', 'Date'), NULL, ['']. (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1df7397e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x221f92d5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x221f8f51 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19a61b77 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19a61866 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19a6181d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:989: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a614f4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a61391 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a5b6f8 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a4aff9 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a328 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 2024.03.27 21:42:02.627243 [ 2750 ] {aed4183c-9bf6-43e0-9e3c-67bd61a8b59a} executeQuery: Code: 42. DB::Exception: SQLite database requires 2 arguments: database path, table name. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM sqlite(SHA512([[now64([[]])]]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [64]) @ 0x1a04a1de in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:70: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0ef7d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:02.628893 [ 2750 ] {aed4183c-9bf6-43e0-9e3c-67bd61a8b59a} TCPHandler: Code: 42. DB::Exception: SQLite database requires 2 arguments: database path, table name. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [64]) @ 0x1a04a1de in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:70: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0ef7d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:02.732215 [ 2750 ] {f49ac5cf-277c-4aa9-92cb-2ccd5fe4cc31} executeQuery: Code: 42. DB::Exception: Wrong argument count for function dictGet: While processing dictGetInt8(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT dictGetInt8();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:336: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a132791 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a148b28 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:42:02.734193 [ 2750 ] {f49ac5cf-277c-4aa9-92cb-2ccd5fe4cc31} TCPHandler: Code: 42. DB::Exception: Wrong argument count for function dictGet: While processing dictGetInt8(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:336: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a132791 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a148b28 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:42:02.844447 [ 2750 ] {3990a78d-aa0c-4310-8c06-488bad6dc2c4} executeQuery: Code: 42. DB::Exception: Number of arguments for function toRelativeDayNum doesn't match: passed 0, should be 1 or 2: While processing toRelativeDayNum(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toRelativeDayNum();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime>::checkArguments(std::vector> const&, bool) const @ 0x20eac271 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:59: DB::FunctionDateOrDateTimeToSomething, DB::ToRelativeDayNumImpl<(DB::ResultPrecision)0>>::getReturnTypeImpl(std::vector> const&) const @ 0x20eaa69f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:03.004390 [ 8244 ] {576f5281-297e-4b91-bc8e-f1c14263c2c5} executeQuery: Code: 190. DB::Exception: Elements 'n.x' and 'n.y' of Nested data structure 'n' (Array columns) have different array sizes. (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57278) (comment: 00698_validate_array_sizes_for_nested.sql) (in query: INSERT INTO mergetree_00698 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String&) @ 0x29a4df08 in /usr/bin/clickhouse 6. /build/src/DataTypes/NestedUtils.cpp:245: DB::Nested::validateArraySizes(DB::Block const&) @ 0x29a4c96d in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:16: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb691f in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:42:03.004712 [ 2750 ] {3990a78d-aa0c-4310-8c06-488bad6dc2c4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toRelativeDayNum doesn't match: passed 0, should be 1 or 2: While processing toRelativeDayNum(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime>::checkArguments(std::vector> const&, bool) const @ 0x20eac271 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:59: DB::FunctionDateOrDateTimeToSomething, DB::ToRelativeDayNumImpl<(DB::ResultPrecision)0>>::getReturnTypeImpl(std::vector> const&) const @ 0x20eaa69f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:03.005777 [ 8244 ] {576f5281-297e-4b91-bc8e-f1c14263c2c5} TCPHandler: Code: 190. DB::Exception: Elements 'n.x' and 'n.y' of Nested data structure 'n' (Array columns) have different array sizes. (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String&) @ 0x29a4df08 in /usr/bin/clickhouse 6. /build/src/DataTypes/NestedUtils.cpp:245: DB::Nested::validateArraySizes(DB::Block const&) @ 0x29a4c96d in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:16: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb691f in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 21:42:03.011934 [ 2750 ] {215cf8b3-49d8-45e4-a301-7dec9adb7144} executeQuery: Code: 42. DB::Exception: Number of arguments for function cutToFirstSignificantSubdomainRFC doesn't match: passed 0, should be 1: While processing cutToFirstSignificantSubdomainRFC(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT cutToFirstSignificantSubdomainRFC();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:03.013752 [ 2750 ] {215cf8b3-49d8-45e4-a301-7dec9adb7144} TCPHandler: Code: 42. DB::Exception: Number of arguments for function cutToFirstSignificantSubdomainRFC doesn't match: passed 0, should be 1: While processing cutToFirstSignificantSubdomainRFC(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:03.160055 [ 2750 ] {f29c8ada-628c-481d-9a24-a04e524dc0b1} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument 1 of function h3ToParent. Must be UInt64: While processing h3ToParent([], '\0'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT h3ToParent([], '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x1cb38128 in /usr/bin/clickhouse 6. /build/src/Functions/h3ToParent.cpp:46: DB::(anonymous namespace)::FunctionH3ToParent::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d61060a in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:03.161804 [ 2750 ] {f29c8ada-628c-481d-9a24-a04e524dc0b1} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument 1 of function h3ToParent. Must be UInt64: While processing h3ToParent([], '\0'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x1cb38128 in /usr/bin/clickhouse 6. /build/src/Functions/h3ToParent.cpp:46: DB::(anonymous namespace)::FunctionH3ToParent::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d61060a in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:03.168998 [ 2750 ] {eb1132cd-83a1-4cb3-8a05-57b9ba2c9fe5} executeQuery: Code: 42. DB::Exception: Number of arguments for function match doesn't match: passed 1, should be 2: While processing match(-17). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT match(-017);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:03.170739 [ 2750 ] {eb1132cd-83a1-4cb3-8a05-57b9ba2c9fe5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function match doesn't match: passed 1, should be 2: While processing match(-17). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:03.180544 [ 2750 ] {53241162-c746-4896-979b-96dd3bcb12fa} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractURLParameterNames doesn't match: passed 2, should be 1: While processing extractURLParameterNames([], NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT extractURLParameterNames([], NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:03.182419 [ 2750 ] {53241162-c746-4896-979b-96dd3bcb12fa} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractURLParameterNames doesn't match: passed 2, should be 1: While processing extractURLParameterNames([], NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:03.311249 [ 2750 ] {45c6b23e-118c-4d98-842c-b187a9e0df85} executeQuery: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remoteSecure([], '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c45e91e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:139: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c910d9 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:03.313164 [ 2750 ] {45c6b23e-118c-4d98-842c-b187a9e0df85} TCPHandler: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c45e91e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:139: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c910d9 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:03.447458 [ 2750 ] {9fe6da2f-254b-4de2-8c99-a4c6876321a0} executeQuery: Code: 36. DB::Exception: Argument 'random_seed' must be a literal with type UInt64, got Float64: While processing (SELECT * FROM generateRandom('', -49602894.605)) AS _subquery604: While processing [(SELECT * FROM generateRandom('', -49602894.605)) AS _subquery604]: While processing [[(SELECT * FROM generateRandom('', -49602894.605)) AS _subquery604]]. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [[( SELECT * FROM generateRandom('', -49602894.605) ) ]];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: unsigned long DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3ddc in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:66: DB::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ccba69 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d933d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cf7 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 2024.03.27 21:42:03.449670 [ 2750 ] {9fe6da2f-254b-4de2-8c99-a4c6876321a0} TCPHandler: Code: 36. DB::Exception: Argument 'random_seed' must be a literal with type UInt64, got Float64: While processing (SELECT * FROM generateRandom('', -49602894.605)) AS _subquery604: While processing [(SELECT * FROM generateRandom('', -49602894.605)) AS _subquery604]: While processing [[(SELECT * FROM generateRandom('', -49602894.605)) AS _subquery604]]. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: unsigned long DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3ddc in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:66: DB::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ccba69 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d933d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cf7 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 2024.03.27 21:42:03.550872 [ 2750 ] {0fea9600-e9d9-4054-a7bc-f418e6496579} executeQuery: Code: 344. DB::Exception: Natural language processing function 'synonyms' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing -56248026.5, '|bX', wkt('-~G>ovF', [synonyms(nullIf())]), []. (SUPPORT_IS_DISABLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT -56248026.5, '|bX', wkt('-~G>ovF', [synonyms(nullIf())]), [];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/synonyms.cpp:35: DB::FunctionSynonyms::create(std::shared_ptr) @ 0x20e3200f in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.h:81: std::shared_ptr DB::FunctionFactory::adaptFunctionToOverloadResolver(std::shared_ptr) @ 0x20e31e8a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr)>()(std::declval>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x196c5016 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x196c4fbd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) @ 0x196c4f7d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr)>::__call_impl (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x196c4f25 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) const @ 0x290ac05e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr)>::operator()(std::shared_ptr) const @ 0x290a74e1 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionFactory.cpp:108: DB::FunctionFactory::tryGetImpl(String const&, std::shared_ptr) const @ 0x290a6183 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionFactory.cpp:57: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x290a5d3d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x290a66ca in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1101: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a076e64 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 2024.03.27 21:42:03.552800 [ 2750 ] {0fea9600-e9d9-4054-a7bc-f418e6496579} TCPHandler: Code: 344. DB::Exception: Natural language processing function 'synonyms' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing -56248026.5, '|bX', wkt('-~G>ovF', [synonyms(nullIf())]), []. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Functions/synonyms.cpp:35: DB::FunctionSynonyms::create(std::shared_ptr) @ 0x20e3200f in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.h:81: std::shared_ptr DB::FunctionFactory::adaptFunctionToOverloadResolver(std::shared_ptr) @ 0x20e31e8a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr)>()(std::declval>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x196c5016 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x196c4fbd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) @ 0x196c4f7d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr)>::__call_impl (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x196c4f25 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) const @ 0x290ac05e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr)>::operator()(std::shared_ptr) const @ 0x290a74e1 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionFactory.cpp:108: DB::FunctionFactory::tryGetImpl(String const&, std::shared_ptr) const @ 0x290a6183 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionFactory.cpp:57: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x290a5d3d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x290a66ca in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1101: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a076e64 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 2024.03.27 21:42:03.559098 [ 2750 ] {91d44fdf-c0c0-4bc4-9926-0a61c35dbd82} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 2 to 6 parameters: , , [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remote();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:03.560678 [ 2750 ] {91d44fdf-c0c0-4bc4-9926-0a61c35dbd82} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 2 to 6 parameters: , , [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:03.571187 [ 2750 ] {157c7580-a798-46c6-b887-fc644a35f08a} executeQuery: Code: 43. DB::Exception: Illegal type Array(Float64) of argument of function toDate: While processing CAST([9547.6], 'Date'), '\0', [], CAST(CAST(3, 'Date'), 'DateTime'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(([9547.6]) AS Date)), '\0', [], (CAST(((CAST((3) AS Date))) AS DateTime));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a426 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:42:03.573227 [ 2750 ] {157c7580-a798-46c6-b887-fc644a35f08a} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Float64) of argument of function toDate: While processing CAST([9547.6], 'Date'), '\0', [], CAST(CAST(3, 'Date'), 'DateTime'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a426 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:42:03.581847 [ 2750 ] {9d60226a-1ace-4698-a946-57163fd184e8} executeQuery: Code: 42. DB::Exception: Number of arguments for function gcd doesn't match: passed 0, should be 2: While processing gcd(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT gcd();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:03.584358 [ 2750 ] {9d60226a-1ace-4698-a946-57163fd184e8} TCPHandler: Code: 42. DB::Exception: Number of arguments for function gcd doesn't match: passed 0, should be 2: While processing gcd(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:03.601547 [ 2750 ] {cfad9312-e428-43e1-ace7-c9446464c901} executeQuery: Code: 42. DB::Exception: Table function 'clusterAllReplicas' requires from 2 to 4 parameters: , , [, sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM clusterAllReplicas('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:03.603602 [ 2750 ] {cfad9312-e428-43e1-ace7-c9446464c901} TCPHandler: Code: 42. DB::Exception: Table function 'clusterAllReplicas' requires from 2 to 4 parameters: , , [, sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:03.806000 [ 2750 ] {99f51e20-ae8e-42b0-a5b6-bde90976c28b} executeQuery: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing CAST(')[P>', 'DateTime'), -225.2, CAST(['AA;y\\%f'], 'String'), '', '\0': While processing (SELECT CAST(')[P>', 'DateTime'), -225.2, CAST(['AA;y\\%f'], 'String'), '', '\0') AS xyvmgxqq. (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT (CAST((')[P>') AS DateTime)), -0225.2, (CAST((['AA;y\%f']) AS String)), '', '\0' ) AS xyvmgxqq, '^`', '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x197813b7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1211: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x221f9fd6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:977: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19a9f7f6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1055: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19a9f4c5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1007: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a9f40d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a9f2bc in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a99b78 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a89ad9 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a88e08 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a87ffe in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 2024.03.27 21:42:03.924028 [ 8960 ] {827b0aa5-a586-425b-82df-34df8bee9e25} executeQuery: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarPop. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57222) (comment: 00700_decimal_empty_aggregates.sql) (in query: SELECT covarPop(a, a), covarPop(b, b), covarPop(c, c) FROM decimal;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x225c29e8 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x24253551 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:03.925461 [ 8960 ] {827b0aa5-a586-425b-82df-34df8bee9e25} TCPHandler: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarPop. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x225c29e8 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x24253551 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:03.925301 [ 2750 ] {99f51e20-ae8e-42b0-a5b6-bde90976c28b} TCPHandler: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing CAST(')[P>', 'DateTime'), -225.2, CAST(['AA;y\\%f'], 'String'), '', '\0': While processing (SELECT CAST(')[P>', 'DateTime'), -225.2, CAST(['AA;y\\%f'], 'String'), '', '\0') AS xyvmgxqq. (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x197813b7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1211: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x221f9fd6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:977: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19a9f7f6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1055: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19a9f4c5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1007: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a9f40d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a9f2bc in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a99b78 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a89ad9 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a88e08 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a87ffe in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 2024.03.27 21:42:04.055464 [ 8960 ] {203fa112-d499-4fd9-b879-28633a6d2b75} executeQuery: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarSamp. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57222) (comment: 00700_decimal_empty_aggregates.sql) (in query: SELECT covarSamp(a, a), covarSamp(b, b), covarSamp(c, c) FROM decimal;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x225c29e8 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x24253311 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:04.169326 [ 2750 ] {260ad21f-cf94-4cff-8d34-f7e7fb3f2d9b} executeQuery: Code: 42. DB::Exception: Function JSONExtractArrayRaw requires at least one argument: While processing JSONExtractArrayRaw(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT JSONExtractArrayRaw();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsJSON.cpp:86: DB::FunctionJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long) @ 0x1a5b257c in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsJSON.cpp:369: DB::ExecutableFunctionJSON::chooseAndRunJSONParser(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a5b242a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsJSON.cpp:356: DB::ExecutableFunctionJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a5b22e1 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:42:04.169937 [ 8960 ] {203fa112-d499-4fd9-b879-28633a6d2b75} TCPHandler: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarSamp. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x225c29e8 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x24253311 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:04.171376 [ 2750 ] {260ad21f-cf94-4cff-8d34-f7e7fb3f2d9b} TCPHandler: Code: 42. DB::Exception: Function JSONExtractArrayRaw requires at least one argument: While processing JSONExtractArrayRaw(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsJSON.cpp:86: DB::FunctionJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long) @ 0x1a5b257c in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsJSON.cpp:369: DB::ExecutableFunctionJSON::chooseAndRunJSONParser(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a5b242a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsJSON.cpp:356: DB::ExecutableFunctionJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a5b22e1 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:42:04.282422 [ 2750 ] {8ccb5fae-9c16-41ec-8c9f-478ff9458445} executeQuery: Code: 42. DB::Exception: Number of arguments for function leftPadUTF8 doesn't match: passed 0, should be 2 or 3: While processing leftPadUTF8(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT leftPadUTF8();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1703cc in /usr/bin/clickhouse 6. /build/src/Functions/padString.cpp:164: DB::(anonymous namespace)::FunctionPadString::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x2013ce11 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:04.398020 [ 8960 ] {0a09bae3-b581-4ed6-a008-ab56e9e675e6} executeQuery: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function corr. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57222) (comment: 00700_decimal_empty_aggregates.sql) (in query: SELECT corr(a, a), corr(b, b), corr(c, c) FROM decimal;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x225c29e8 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2431adf1 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:04.398275 [ 2750 ] {8ccb5fae-9c16-41ec-8c9f-478ff9458445} TCPHandler: Code: 42. DB::Exception: Number of arguments for function leftPadUTF8 doesn't match: passed 0, should be 2 or 3: While processing leftPadUTF8(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1703cc in /usr/bin/clickhouse 6. /build/src/Functions/padString.cpp:164: DB::(anonymous namespace)::FunctionPadString::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x2013ce11 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:04.399526 [ 8960 ] {0a09bae3-b581-4ed6-a008-ab56e9e675e6} TCPHandler: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function corr. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x225c29e8 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2431adf1 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:04.430284 [ 2750 ] {e2e9cd50-7167-486e-885d-a7f1c42d1b37} executeQuery: Code: 42. DB::Exception: Table function 'cluster' requires from 2 to 4 parameters: , , [, sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cluster();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:04.432005 [ 2750 ] {e2e9cd50-7167-486e-885d-a7f1c42d1b37} TCPHandler: Code: 42. DB::Exception: Table function 'cluster' requires from 2 to 4 parameters: , , [, sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:04.451168 [ 2750 ] {3c68f024-a912-44e0-a6a1-5e5de5926674} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractBool doesn't match: passed 0, should be 2: While processing visitParamExtractBool(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT visitParamExtractBool();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:04.453269 [ 2750 ] {3c68f024-a912-44e0-a6a1-5e5de5926674} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractBool doesn't match: passed 0, should be 2: While processing visitParamExtractBool(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:04.458872 [ 2750 ] {ca4768d4-fc62-42bd-9e9b-719348bb1aff} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 2 to 6 parameters: , , [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remoteSecure();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:04.460534 [ 2750 ] {ca4768d4-fc62-42bd-9e9b-719348bb1aff} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 2 to 6 parameters: , , [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:04.465496 [ 2750 ] {303c28d8-f93f-4ced-8e58-af2fa1d7ff94} executeQuery: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM executable();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:60: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cb7708 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:04.467548 [ 2750 ] {303c28d8-f93f-4ced-8e58-af2fa1d7ff94} TCPHandler: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:60: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cb7708 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:04.588588 [ 2750 ] {bc0ad99f-b9fd-4ad2-adf0-8969f63823c3} executeQuery: Code: 636. DB::Exception: Table function 'generateRandom' was used without structure argument but structure could not be determined automatically. Please, provide structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM generateRandom();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:81: DB::TableFunctionGenerateRandom::getActualTableStructure(std::shared_ptr) const @ 0x28ccbd99 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:94: DB::TableFunctionGenerateRandom::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28ccbeff in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:04.590530 [ 2750 ] {bc0ad99f-b9fd-4ad2-adf0-8969f63823c3} TCPHandler: Code: 636. DB::Exception: Table function 'generateRandom' was used without structure argument but structure could not be determined automatically. Please, provide structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:81: DB::TableFunctionGenerateRandom::getActualTableStructure(std::shared_ptr) const @ 0x28ccbd99 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:94: DB::TableFunctionGenerateRandom::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28ccbeff in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:04.705226 [ 2750 ] {589db094-6084-469f-8429-d2d0b6d2ce18} executeQuery: Code: 43. DB::Exception: All arguments for function arrayEnumerateDense must be arrays but argument 1 has type Int16.: While processing arrayEnumerateDense(-206). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT arrayEnumerateDense(-0206);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x1a7b0dc8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateExtended.h:53: DB::FunctionArrayEnumerateExtended::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x21a390c4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:04.713846 [ 2750 ] {589db094-6084-469f-8429-d2d0b6d2ce18} TCPHandler: Code: 43. DB::Exception: All arguments for function arrayEnumerateDense must be arrays but argument 1 has type Int16.: While processing arrayEnumerateDense(-206). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x1a7b0dc8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateExtended.h:53: DB::FunctionArrayEnumerateExtended::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x21a390c4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:04.721607 [ 2750 ] {d7d272f3-6502-4061-b693-9ddb46c8bf0d} executeQuery: Code: 42. DB::Exception: Number of arguments for function reinterpretAsUInt16 doesn't match: passed 2, should be 1: While processing reinterpretAsUInt16(-9372734.42, ']N{cbx8h'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT reinterpretAsUInt16(-9372734.42, ']N{cbx8h');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:04.723420 [ 2750 ] {d7d272f3-6502-4061-b693-9ddb46c8bf0d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reinterpretAsUInt16 doesn't match: passed 2, should be 1: While processing reinterpretAsUInt16(-9372734.42, ']N{cbx8h'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:04.729673 [ 2750 ] {385ac134-a417-4308-a065-7de303ed76e4} executeQuery: Code: 42. DB::Exception: Table function 'cluster' requires from 2 to 4 parameters: , , [, sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cluster(-7.586419);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:04.731284 [ 2750 ] {385ac134-a417-4308-a065-7de303ed76e4} TCPHandler: Code: 42. DB::Exception: Table function 'cluster' requires from 2 to 4 parameters: , , [, sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:04.737801 [ 2750 ] {69c29701-3915-4ba3-bd0a-fe11b33bc34d} executeQuery: Code: 42. DB::Exception: Number of arguments for function 'joinGet' doesn't match: passed 0, should be greater or equal to 3: While processing joinGet(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT joinGet();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionJoinGet.cpp:76: DB::JoinGetOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x19dee426 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a073e in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 2024.03.27 21:42:04.739945 [ 2750 ] {69c29701-3915-4ba3-bd0a-fe11b33bc34d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function 'joinGet' doesn't match: passed 0, should be greater or equal to 3: While processing joinGet(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionJoinGet.cpp:76: DB::JoinGetOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x19dee426 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a073e in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 2024.03.27 21:42:04.880505 [ 2750 ] {ee7e5ea7-bb1b-4afd-8423-3caa2da0f519} executeQuery: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got UInt64. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM deltaLake(7782010);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd56a5 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cef72d in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:04.882427 [ 2750 ] {ee7e5ea7-bb1b-4afd-8423-3caa2da0f519} TCPHandler: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got UInt64. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd56a5 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cef72d in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:05.009751 [ 2750 ] {5be0fcb4-919d-44c4-b59c-ec34836af590} executeQuery: Code: 42. DB::Exception: Aggregate function quantileDeterministic requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT medianDeterministic(-58607);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x225c2821 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:206: DB::AggregateFunctionQuantile, DB::NameQuantileDeterministic, true, double, false>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x22eb7350 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileDeterministic.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x22eb6704 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:42:05.012054 [ 2750 ] {5be0fcb4-919d-44c4-b59c-ec34836af590} TCPHandler: Code: 42. DB::Exception: Aggregate function quantileDeterministic requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x225c2821 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:206: DB::AggregateFunctionQuantile, DB::NameQuantileDeterministic, true, double, false>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x22eb7350 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileDeterministic.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x22eb6704 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:42:05.017727 [ 2750 ] {4860b7be-f937-4dea-9488-af4811b8bfee} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 2 to 6 parameters: , , [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remote();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:05.019709 [ 2750 ] {4860b7be-f937-4dea-9488-af4811b8bfee} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 2 to 6 parameters: , , [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:05.148530 [ 2750 ] {ff46d756-4b80-4643-9e61-a895c16d25c5} executeQuery: Code: 73. DB::Exception: Unknown format . (UNKNOWN_FORMAT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfs('\0', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:683: DB::FormatFactory::checkFormatName(String const&) const @ 0x2c7d8e06 in /usr/bin/clickhouse 7. /build/src/Storages/HDFS/StorageHDFS.cpp:167: DB::StorageHDFS::StorageHDFS(String const&, DB::StorageID const&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, bool, std::shared_ptr) @ 0x28f7457f in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageHDFS* std::construct_at[abi:v15000]&, String const&, DB::StorageHDFS*>(DB::StorageHDFS*, String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28cf71fb in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String const&, void, void>(std::allocator&, DB::StorageHDFS*, String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28cf6ee7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String const&>(std::allocator, String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28cf6b95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28cf69a7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String const&, void>(String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28cf64cd in /usr/bin/clickhouse 13. /build/src/TableFunctions/TableFunctionHDFS.cpp:20: DB::TableFunctionHDFS::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x28cf60d9 in /usr/bin/clickhouse 14. /build/src/TableFunctions/ITableFunctionFileLike.cpp:93: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28cc1875 in /usr/bin/clickhouse 15. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 16. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 17. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 2024.03.27 21:42:05.151976 [ 2750 ] {ff46d756-4b80-4643-9e61-a895c16d25c5} TCPHandler: Code: 73. DB::Exception: Unknown format . (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:683: DB::FormatFactory::checkFormatName(String const&) const @ 0x2c7d8e06 in /usr/bin/clickhouse 7. /build/src/Storages/HDFS/StorageHDFS.cpp:167: DB::StorageHDFS::StorageHDFS(String const&, DB::StorageID const&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, bool, std::shared_ptr) @ 0x28f7457f in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageHDFS* std::construct_at[abi:v15000]&, String const&, DB::StorageHDFS*>(DB::StorageHDFS*, String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28cf71fb in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String const&, void, void>(std::allocator&, DB::StorageHDFS*, String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28cf6ee7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String const&>(std::allocator, String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28cf6b95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28cf69a7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String const&, void>(String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28cf64cd in /usr/bin/clickhouse 13. /build/src/TableFunctions/TableFunctionHDFS.cpp:20: DB::TableFunctionHDFS::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x28cf60d9 in /usr/bin/clickhouse 14. /build/src/TableFunctions/ITableFunctionFileLike.cpp:93: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28cc1875 in /usr/bin/clickhouse 15. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 16. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 17. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 2024.03.27 21:42:05.274847 [ 2750 ] {f378c337-e17d-40fd-a7c4-a259b8464dd5} executeQuery: Code: 42. DB::Exception: Table function 'hdfs' requires at least 1 argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfs();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:52: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc0fba in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:05.276863 [ 2750 ] {f378c337-e17d-40fd-a7c4-a259b8464dd5} TCPHandler: Code: 42. DB::Exception: Table function 'hdfs' requires at least 1 argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:52: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc0fba in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:05.402109 [ 2750 ] {b7b68f20-3c77-469f-b6b0-db4216a37036} executeQuery: Code: 42. DB::Exception: Number of arguments for function age doesn't match: passed 0, should be 3 or 4: While processing age(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT age();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/dateDiff.cpp:310: DB::(anonymous namespace)::FunctionDateDiff::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1c00c1bf in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:05.404064 [ 2750 ] {b7b68f20-3c77-469f-b6b0-db4216a37036} TCPHandler: Code: 42. DB::Exception: Number of arguments for function age doesn't match: passed 0, should be 3 or 4: While processing age(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/dateDiff.cpp:310: DB::(anonymous namespace)::FunctionDateDiff::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1c00c1bf in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:05.531704 [ 2750 ] {134b12c4-8fbb-4ca1-a6e4-eba657ff9a0b} executeQuery: Code: 42. DB::Exception: Aggregate function sumMapFilteredWithOverflow requires at least two arguments of Array type or one argument of tuple of two arrays. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT sumMapFilteredWithOverflow();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:48: DB::(anonymous namespace)::parseArguments(String const&, std::vector, std::allocator>> const&) @ 0x2448c059 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:80: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2448b9ac in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:42:05.533984 [ 2750 ] {134b12c4-8fbb-4ca1-a6e4-eba657ff9a0b} TCPHandler: Code: 42. DB::Exception: Aggregate function sumMapFilteredWithOverflow requires at least two arguments of Array type or one argument of tuple of two arrays. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:48: DB::(anonymous namespace)::parseArguments(String const&, std::vector, std::allocator>> const&) @ 0x2448c059 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:80: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2448b9ac in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:42:05.652585 [ 2750 ] {0bcbe250-d303-45b2-997d-3a190a49d84b} executeQuery: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM dictionary();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:34: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d1159e in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:05.757129 [ 635 ] {d69dfc60-bab6-4758-a135-b9ba7c7252fd} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57250) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal32('32.1', 5) : toDecimal32('32.2', 1) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x1d809892 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d808b6d in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d8087a2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x1d804a9a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6e2ad0 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6dd6cf in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d9bec in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:05.757508 [ 2750 ] {0bcbe250-d303-45b2-997d-3a190a49d84b} TCPHandler: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:34: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d1159e in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:05.759948 [ 635 ] {d69dfc60-bab6-4758-a135-b9ba7c7252fd} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x1d809892 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d808b6d in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d8087a2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x1d804a9a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6e2ad0 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6dd6cf in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d9bec in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:05.873826 [ 635 ] {c574ceff-a246-41e1-ae3c-48a3f6eb9f70} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57250) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal32('32.1', 5) : toDecimal64('64.2', 2) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x1d80b512 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d80a7ed in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d80a422 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x1d804b1a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6e2aea in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6dd6cf in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d9bec in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:05.975335 [ 2750 ] {81e021a2-fb1e-42af-8a36-1937c48a0cc2} executeQuery: Code: 36. DB::Exception: Table function 'viewExplain' requires 2 or 3 arguments, got 0. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM viewExplain();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1703cc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExplain.cpp:46: DB::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d182b4 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:05.976063 [ 635 ] {c574ceff-a246-41e1-ae3c-48a3f6eb9f70} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x1d80b512 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d80a7ed in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d80a422 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x1d804b1a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6e2aea in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6dd6cf in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d9bec in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:05.977178 [ 2750 ] {81e021a2-fb1e-42af-8a36-1937c48a0cc2} TCPHandler: Code: 36. DB::Exception: Table function 'viewExplain' requires 2 or 3 arguments, got 0. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1703cc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExplain.cpp:46: DB::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d182b4 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:06.106695 [ 635 ] {832b2617-042b-4978-b6b7-16020c978d84} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57250) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal32('32.1', 5) : toDecimal128('128.2', 3) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x1d80d272 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d80c530 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d80c142 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x1d804b9a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6e2b04 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6dd6cf in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d9bec in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:06.106789 [ 2750 ] {51d91e46-3766-45bf-9e81-4a01702cedd5} executeQuery: Code: 42. DB::Exception: Number of arguments for function lgamma doesn't match: passed 0, should be 1: While processing lgamma(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT lgamma();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:06.107952 [ 635 ] {832b2617-042b-4978-b6b7-16020c978d84} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x1d80d272 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d80c530 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d80c142 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x1d804b9a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6e2b04 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6dd6cf in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d9bec in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:06.109383 [ 2750 ] {51d91e46-3766-45bf-9e81-4a01702cedd5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function lgamma doesn't match: passed 0, should be 1: While processing lgamma(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:06.217946 [ 635 ] {65cec074-7a89-4b41-a90b-caa92b0d7dbf} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57250) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal64('64.1', 5) : toDecimal32('32.2', 1) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x1d815bd2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d814ead in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d814ae2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x1d810dda in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6e2d90 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6dd6e5 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d9bec in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:06.217987 [ 2750 ] {05da4d28-d67d-4d58-96a6-6f159ef45d9a} executeQuery: Code: 42. DB::Exception: Number of arguments for function intExp10 doesn't match: passed 0, should be 1: While processing intExp10(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT intExp10();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:06.219304 [ 635 ] {65cec074-7a89-4b41-a90b-caa92b0d7dbf} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x1d815bd2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d814ead in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d814ae2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x1d810dda in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6e2d90 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6dd6e5 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d9bec in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:06.220696 [ 2750 ] {05da4d28-d67d-4d58-96a6-6f159ef45d9a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function intExp10 doesn't match: passed 0, should be 1: While processing intExp10(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:06.340714 [ 2750 ] {59134831-f48a-47f5-87f4-34985477b983} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayEnumerateDenseRanked doesn't match: passed 0, should be at least 1.: While processing arrayEnumerateDenseRanked(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT arrayEnumerateDenseRanked();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:104: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a5f8a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:06.446921 [ 635 ] {a9b755c3-94e9-4754-a719-505e7b1ada61} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57250) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal64('64.1', 5) : toDecimal64('64.2', 2) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x1d8178f2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d816bcd in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d816802 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x1d810e5a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6e2daa in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6dd6e5 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d9bec in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:06.447330 [ 2750 ] {59134831-f48a-47f5-87f4-34985477b983} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayEnumerateDenseRanked doesn't match: passed 0, should be at least 1.: While processing arrayEnumerateDenseRanked(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:104: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21a5f8a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:06.448371 [ 635 ] {a9b755c3-94e9-4754-a719-505e7b1ada61} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x1d8178f2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d816bcd in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d816802 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x1d810e5a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6e2daa in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6dd6e5 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d9bec in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:06.453802 [ 2750 ] {a627d43c-d3aa-40ed-b47e-9ebcd324022e} executeQuery: Code: 42. DB::Exception: Table function 'zeros' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM zeros();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28cb6b59 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:06.455889 [ 2750 ] {a627d43c-d3aa-40ed-b47e-9ebcd324022e} TCPHandler: Code: 42. DB::Exception: Table function 'zeros' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28cb6b59 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:06.559398 [ 635 ] {546c2e1e-fb6a-4f80-84da-1072077e53f5} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57250) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal64('64.1', 5) : toDecimal128('128.2', 3) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x1d819612 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d8188b0 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d8184c2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x1d810eda in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6e2dc4 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6dd6e5 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d9bec in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:06.560627 [ 635 ] {546c2e1e-fb6a-4f80-84da-1072077e53f5} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x1d819612 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d8188b0 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d8184c2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x1d810eda in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6e2dc4 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6dd6e5 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d9bec in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:06.673947 [ 635 ] {f240ae97-3d68-459c-ab83-443ea1e43162} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57250) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal128('128.1', 5) : toDecimal32('32.2', 1) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x1d821fd2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d821273 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d820ea2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x1d81d19a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6e3050 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6dd6fb in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d9bec in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:06.675235 [ 635 ] {f240ae97-3d68-459c-ab83-443ea1e43162} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x1d821fd2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d821273 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d820ea2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x1d81d19a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6e3050 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6dd6fb in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d9bec in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:06.785171 [ 635 ] {743124d6-dc8a-4e84-b013-2cb0b76f13db} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57250) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal128('128.1', 5) : toDecimal64('64.2', 2) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x1d823df2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d823093 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d822cc2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x1d81d21a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6e306a in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6dd6fb in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d9bec in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:06.786415 [ 635 ] {743124d6-dc8a-4e84-b013-2cb0b76f13db} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x1d823df2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d823093 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d822cc2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x1d81d21a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6e306a in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6dd6fb in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d9bec in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:06.898015 [ 635 ] {8f97c174-3b44-40bb-a4e8-c2aeba5f93db} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57250) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal128('128.1', 5) : toDecimal128('128.2', 3) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>>(std::vector> const&) @ 0x1d825c52 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal>, DB::ColumnDecimal>>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d824ed3 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d824ae2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>>(auto const&) const @ 0x1d81d29a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6e3084 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6dd6fb in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d9bec in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:06.899545 [ 635 ] {8f97c174-3b44-40bb-a4e8-c2aeba5f93db} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a31f7de in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>>(std::vector> const&) @ 0x1d825c52 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal>, DB::ColumnDecimal>>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d824ed3 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d824ae2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>>(auto const&) const @ 0x1d81d29a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6e3084 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d6dd6fb in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6d9bec in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cc5e927 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2ceb8266 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2adade51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ada23e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:42:09.220032 [ 8927 ] {f03f40fd-9b59-41e9-aec0-a120a60efd49} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 2. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52786) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql(CAST(-466.55, 'DateTime'), NULL)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1bf9de33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:432: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x2b9b6ea0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:63: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0bd76 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:09.222375 [ 8927 ] {f03f40fd-9b59-41e9-aec0-a120a60efd49} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 2. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1bf9de33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:432: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x2b9b6ea0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:63: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0bd76 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:09.230144 [ 8927 ] {ec9a8279-6955-403f-9f2a-28f864a46d69} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayPopBack doesn't match: passed 2, should be 1: While processing arrayPopBack(')', ''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52786) (comment: 00746_sql_fuzzy.sh) (in query: SELECT arrayPopBack(')', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:09.233234 [ 8927 ] {ec9a8279-6955-403f-9f2a-28f864a46d69} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayPopBack doesn't match: passed 2, should be 1: While processing arrayPopBack(')', ''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:09.383824 [ 8927 ] {08a11548-c0eb-4eab-a188-4b1a2123b89c} executeQuery: Code: 36. DB::Exception: Argument 'format/NOSIGN' must be a literal with type String, got Null: While processing (SELECT * FROM iceberg(NULL, NULL)) AS wij: While processing [(SELECT * FROM iceberg(NULL, NULL)) AS wij, (SELECT base64Decode()) AS _subquery621]. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52786) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '\0', [( SELECT * FROM iceberg(NULL, NULL) ) AS wij, ( SELECT base64Decode() ) ], NULL, 44528.94482;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd4aca in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cf366d in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d933d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cf7 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 2024.03.27 21:42:09.385922 [ 8927 ] {08a11548-c0eb-4eab-a188-4b1a2123b89c} TCPHandler: Code: 36. DB::Exception: Argument 'format/NOSIGN' must be a literal with type String, got Null: While processing (SELECT * FROM iceberg(NULL, NULL)) AS wij: While processing [(SELECT * FROM iceberg(NULL, NULL)) AS wij, (SELECT base64Decode()) AS _subquery621]. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd4aca in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cf366d in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d933d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cf7 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 2024.03.27 21:42:09.391410 [ 8927 ] {0602b8cf-3a92-4562-8eaa-a5870d4b2094} executeQuery: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52786) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM format();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:43: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d13aca in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:09.393052 [ 8927 ] {0602b8cf-3a92-4562-8eaa-a5870d4b2094} TCPHandler: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:43: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d13aca in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:09.497102 [ 8927 ] {d6349092-7679-4ab9-aa3a-2653b1250bf4} executeQuery: Code: 43. DB::Exception: Illegal type UInt32 of first argument of function alphaTokens. Must be String.: While processing alphaTokens(823917, ['lJ']). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52786) (comment: 00746_sql_fuzzy.sh) (in query: SELECT alphaTokens(823917, ['lJ']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringArray.h:84: DB::SplitByAlphaImpl::checkArguments(std::vector, std::allocator>> const&) @ 0x1a7b63fa in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsStringArray.h:629: DB::FunctionTokens::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1a7b5087 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:42:09.498852 [ 8927 ] {d6349092-7679-4ab9-aa3a-2653b1250bf4} TCPHandler: Code: 43. DB::Exception: Illegal type UInt32 of first argument of function alphaTokens. Must be String.: While processing alphaTokens(823917, ['lJ']). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringArray.h:84: DB::SplitByAlphaImpl::checkArguments(std::vector, std::allocator>> const&) @ 0x1a7b63fa in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsStringArray.h:629: DB::FunctionTokens::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1a7b5087 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:42:09.630403 [ 8927 ] {fdfaac11-4cfe-4b19-abce-683dffa52c60} executeQuery: Code: 42. DB::Exception: Wrong argument count for function dictGet: While processing dictGetUInt32(): While processing (SELECT dictGetUInt32()) AS mxwyfoli: While processing ((SELECT dictGetUInt32()) AS mxwyfoli, (SELECT * FROM input()) AS _subquery622): While processing CAST(((SELECT dictGetUInt32()) AS mxwyfoli, (SELECT * FROM input()) AS _subquery622), 'DateTime'): While processing toDateTimeOrDefault(NULL, CAST(((SELECT dictGetUInt32()) AS mxwyfoli, (SELECT * FROM input()) AS _subquery622), 'DateTime')): While processing [toDateTimeOrDefault(NULL, CAST(((SELECT dictGetUInt32()) AS mxwyfoli, (SELECT * FROM input()) AS _subquery622), 'DateTime'))]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52786) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [toDateTimeOrDefault(NULL, (CAST((( SELECT dictGetUInt32() ) AS mxwyfoli, ( SELECT * FROM input() ) ) AS DateTime)))], 10535, '\0', 'Y#yd';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:336: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a132791 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetUInt32, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a146588 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:42:09.632733 [ 8927 ] {fdfaac11-4cfe-4b19-abce-683dffa52c60} TCPHandler: Code: 42. DB::Exception: Wrong argument count for function dictGet: While processing dictGetUInt32(): While processing (SELECT dictGetUInt32()) AS mxwyfoli: While processing ((SELECT dictGetUInt32()) AS mxwyfoli, (SELECT * FROM input()) AS _subquery622): While processing CAST(((SELECT dictGetUInt32()) AS mxwyfoli, (SELECT * FROM input()) AS _subquery622), 'DateTime'): While processing toDateTimeOrDefault(NULL, CAST(((SELECT dictGetUInt32()) AS mxwyfoli, (SELECT * FROM input()) AS _subquery622), 'DateTime')): While processing [toDateTimeOrDefault(NULL, CAST(((SELECT dictGetUInt32()) AS mxwyfoli, (SELECT * FROM input()) AS _subquery622), 'DateTime'))]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:336: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a132791 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetUInt32, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a146588 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:42:09.745991 [ 8927 ] {f0004e7b-aab3-4fa9-9131-512c3a5da387} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetUInt8OrDefault doesn't match: the function requires more arguments: While processing dictGetUInt8OrDefault('2{Zzn'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52786) (comment: 00746_sql_fuzzy.sh) (in query: SELECT dictGetUInt8OrDefault('2{Zzn');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:157: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d6f6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:09.748399 [ 8927 ] {f0004e7b-aab3-4fa9-9131-512c3a5da387} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetUInt8OrDefault doesn't match: the function requires more arguments: While processing dictGetUInt8OrDefault('2{Zzn'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:157: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d6f6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:09.890200 [ 8927 ] {f35af792-ec24-4b44-b2e3-e7264e0a3e95} executeQuery: Code: 170. DB::Exception: Bad get: has Null, requested String. (BAD_GET) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52786) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM odbc(NULL, '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19c832ed in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionXDBC.cpp:50: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cfb998 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:09.892639 [ 8927 ] {f35af792-ec24-4b44-b2e3-e7264e0a3e95} TCPHandler: Code: 170. DB::Exception: Bad get: has Null, requested String. (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19c834cc in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19c832ed in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionXDBC.cpp:50: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cfb998 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:10.023434 [ 8927 ] {8c4a7a15-8641-457c-aa92-99b57bcf3026} executeQuery: Code: 43. DB::Exception: Illegal type Float64 of first argument of function parseDateTimeOrZero. Should be String: While processing parseDateTimeOrZero(-59.36159, 3.6). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52786) (comment: 00746_sql_fuzzy.sh) (in query: SELECT parseDateTimeOrZero(-59.36159, 3.6);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:491: DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x2015adbd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:10.025310 [ 8927 ] {8c4a7a15-8641-457c-aa92-99b57bcf3026} TCPHandler: Code: 43. DB::Exception: Illegal type Float64 of first argument of function parseDateTimeOrZero. Should be String: While processing parseDateTimeOrZero(-59.36159, 3.6). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:491: DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x2015adbd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:10.031267 [ 8927 ] {0c7a4906-f629-471c-9258-aa86c214a47e} executeQuery: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Null. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52786) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cluster(NULL, '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:132: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90f84 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:10.032896 [ 8927 ] {0c7a4906-f629-471c-9258-aa86c214a47e} TCPHandler: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Null. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:132: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90f84 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:15.338155 [ 1014 ] {b0ae17a9-bd8c-4264-9ee9-7fbc11815934} executeQuery: Code: 36. DB::Exception: Table function 'viewExplain' requires 2 or 3 arguments, got 0. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM viewExplain();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1703cc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExplain.cpp:46: DB::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d182b4 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:15.341794 [ 1014 ] {b0ae17a9-bd8c-4264-9ee9-7fbc11815934} TCPHandler: Code: 36. DB::Exception: Table function 'viewExplain' requires 2 or 3 arguments, got 0. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1703cc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExplain.cpp:46: DB::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d182b4 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:15.371982 [ 1014 ] {f3d01d31-0cc0-4f8e-b7c3-8e385ef0a0af} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 2 to 6 parameters: , , [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remote([[NULL]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:15.375630 [ 1014 ] {f3d01d31-0cc0-4f8e-b7c3-8e385ef0a0af} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 2 to 6 parameters: , , [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28c95349 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90e1d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:15.528036 [ 1014 ] {a881e4eb-f099-4afc-8de3-5657e2cd641d} executeQuery: Code: 36. DB::Exception: Argument 'source' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfs([1970.36037], '%>gq');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:28: DB::ITableFunctionFileLike::parseFirstArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x28cc0bc9 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionFileLike.cpp:57: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc1144 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:15.529896 [ 1014 ] {a881e4eb-f099-4afc-8de3-5657e2cd641d} TCPHandler: Code: 36. DB::Exception: Argument 'source' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:28: DB::ITableFunctionFileLike::parseFirstArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x28cc0bc9 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionFileLike.cpp:57: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc1144 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:15.546534 [ 1014 ] {c9e4fd2f-82c1-4660-b36b-edd830866139} executeQuery: Code: 42. DB::Exception: Number of arguments for function MD5 doesn't match: passed 0, should be 1: While processing MD5(): While processing (SELECT MD5()) AS jvaauf: While processing replicate('\0', (SELECT MD5()) AS jvaauf, (SELECT toMinute(toDateTime64OrDefault(CAST(NULL, 'DateTime'))), multiply(NULL)) AS _subquery644). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(((CAST(([]) AS String))) AS String)), [''], normL2(), replicate('\0', ( SELECT MD5() ) AS jvaauf, ( SELECT MINUTE(toDateTime64OrDefault((CAST((NULL) AS DateTime)))), multiply(NULL) ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 2024.03.27 21:42:15.548702 [ 1014 ] {c9e4fd2f-82c1-4660-b36b-edd830866139} TCPHandler: Code: 42. DB::Exception: Number of arguments for function MD5 doesn't match: passed 0, should be 1: While processing MD5(): While processing (SELECT MD5()) AS jvaauf: While processing replicate('\0', (SELECT MD5()) AS jvaauf, (SELECT toMinute(toDateTime64OrDefault(CAST(NULL, 'DateTime'))), multiply(NULL)) AS _subquery644). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 2024.03.27 21:42:15.668340 [ 1014 ] {4ec5b3c8-2424-46d0-9be5-d8fbe09df942} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) expression, must be numeric type: While processing (SELECT * FROM numbers_mt(NULL, '>')) AS constant_expression. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM clusterAllReplicas(( SELECT * FROM numbers_mt(NULL, '>') ) , ( SELECT toRelativeWeekNum((CAST((( SELECT toUInt8OrZero('\0') ) AS eh) AS String))) ) AS xyh, (CAST((mapKeys(NULL)) AS String)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:64: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28c9f348 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:42: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c9e3ad in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1343: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b234ec0 in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:73: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3378ae in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b33811d in /usr/bin/clickhouse 28. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b338232 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionRemote.cpp:131: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90ebf in /usr/bin/clickhouse 30. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 2024.03.27 21:42:15.670498 [ 1014 ] {4ec5b3c8-2424-46d0-9be5-d8fbe09df942} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) expression, must be numeric type: While processing (SELECT * FROM numbers_mt(NULL, '>')) AS constant_expression. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:64: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28c9f348 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:42: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28c9e3ad in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1343: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b234ec0 in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:73: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3378ae in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b33811d in /usr/bin/clickhouse 28. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b338232 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionRemote.cpp:131: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90ebf in /usr/bin/clickhouse 30. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 2024.03.27 21:42:15.678045 [ 1014 ] {51b89c43-725c-4f5a-9af0-13560f9e82e6} executeQuery: Code: 42. DB::Exception: The signature of table function 'oss' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM oss();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd4635 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:15.679620 [ 1014 ] {51b89c43-725c-4f5a-9af0-13560f9e82e6} TCPHandler: Code: 42. DB::Exception: The signature of table function 'oss' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd4635 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:15.701045 [ 1014 ] {9ec60fc3-4064-4550-bd0d-37fb6f72c360} executeQuery: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM executable();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:60: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cb7708 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:15.702601 [ 1014 ] {9ec60fc3-4064-4550-bd0d-37fb6f72c360} TCPHandler: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:60: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cb7708 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:15.709075 [ 1014 ] {69a8de94-b5bf-4eff-96d2-4e9bb07ebefb} executeQuery: Code: 42. DB::Exception: The signature of table function 'cosn' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cosn();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd4635 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:15.710656 [ 1014 ] {69a8de94-b5bf-4eff-96d2-4e9bb07ebefb} TCPHandler: Code: 42. DB::Exception: The signature of table function 'cosn' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd4635 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:15.847623 [ 1014 ] {b2154e06-ad4d-4a5a-aa5f-002c4ae701d8} executeQuery: Code: 42. DB::Exception: The signature of table function s3Cluster could be the following: - cluster, url - cluster, url, format - cluster, url, format, structure - cluster, url, access_key_id, secret_access_key - cluster, url, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, format - cluster, url, access_key_id, secret_access_key, format, structure - cluster, url, access_key_id, secret_access_key, format, structure, compression_method: While processing (SELECT * FROM s3Cluster()) AS _subquery645. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(('') AS DateTime)), NULL, ( SELECT * FROM s3Cluster() ) , ( SELECT (CAST(('\0') AS Date)), [], (CAST((toSecond()) AS DateTime)), [concat(timezoneOf(-273), '@{jF@c+')] ) , subtractQuarters([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3Cluster.cpp:62: DB::TableFunctionS3Cluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ce2dd1 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230004 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 2024.03.27 21:42:15.850204 [ 1014 ] {b2154e06-ad4d-4a5a-aa5f-002c4ae701d8} TCPHandler: Code: 42. DB::Exception: The signature of table function s3Cluster could be the following: - cluster, url - cluster, url, format - cluster, url, format, structure - cluster, url, access_key_id, secret_access_key - cluster, url, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, format - cluster, url, access_key_id, secret_access_key, format, structure - cluster, url, access_key_id, secret_access_key, format, structure, compression_method: While processing (SELECT * FROM s3Cluster()) AS _subquery645. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3Cluster.cpp:62: DB::TableFunctionS3Cluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ce2dd1 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230004 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 2024.03.27 21:42:15.960777 [ 1014 ] {9adda994-d884-4347-b75e-e06e034892f9} executeQuery: Code: 42. DB::Exception: Aggregate function quantileExactWeighted requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT medianExactWeighted();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x225c2821 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:206: DB::AggregateFunctionQuantile, DB::NameQuantileExactWeighted, true, void, false>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x22fcb390 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileExactWeighted.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x22fca484 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:42:15.963240 [ 1014 ] {9adda994-d884-4347-b75e-e06e034892f9} TCPHandler: Code: 42. DB::Exception: Aggregate function quantileExactWeighted requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x225c2821 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:206: DB::AggregateFunctionQuantile, DB::NameQuantileExactWeighted, true, void, false>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x22fcb390 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileExactWeighted.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x22fca484 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 21:42:15.970560 [ 1014 ] {93c93ac0-cda9-442f-9624-f79771757dc3} executeQuery: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM odbc();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cfb668 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:15.972187 [ 1014 ] {93c93ac0-cda9-442f-9624-f79771757dc3} TCPHandler: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cfb668 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:15.978990 [ 1014 ] {d42d9a5f-8890-4eee-8a63-cdc96ef365a9} executeQuery: Code: 36. DB::Exception: Host is empty in S3 URI. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3('', '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [25]) @ 0x197395fe in /usr/bin/clickhouse 6. /build/src/IO/S3/URI.cpp:44: DB::S3::URI::URI(String const&) @ 0x28ce170a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd56bd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:15.980591 [ 1014 ] {d42d9a5f-8890-4eee-8a63-cdc96ef365a9} TCPHandler: Code: 36. DB::Exception: Host is empty in S3 URI. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [25]) @ 0x197395fe in /usr/bin/clickhouse 6. /build/src/IO/S3/URI.cpp:44: DB::S3::URI::URI(String const&) @ 0x28ce170a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd56bd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:16.121456 [ 1014 ] {21bb1883-0df8-465e-8b0c-e69130ca9106} executeQuery: Code: 42. DB::Exception: SQLite database requires 2 arguments: database path, table name: While processing (SELECT * FROM sqlite(notNullInIgnoreSet(emptyArrayInt64([now([divideDecimal('')])])))) AS tkncwar. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 839.5762, ( SELECT * FROM sqlite(notNullInIgnoreSet(emptyArrayInt64([now([divideDecimal('')])]))) ) AS tkncwar, [NULL];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [64]) @ 0x1a04a1de in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:70: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0ef7d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230004 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 2024.03.27 21:42:16.123716 [ 1014 ] {21bb1883-0df8-465e-8b0c-e69130ca9106} TCPHandler: Code: 42. DB::Exception: SQLite database requires 2 arguments: database path, table name: While processing (SELECT * FROM sqlite(notNullInIgnoreSet(emptyArrayInt64([now([divideDecimal('')])])))) AS tkncwar. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [64]) @ 0x1a04a1de in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:70: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0ef7d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230004 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 2024.03.27 21:42:16.133992 [ 1014 ] {1c66ef9c-741e-49a7-a165-84758605038b} executeQuery: Code: 42. DB::Exception: Number of arguments for function toDecimalString doesn't match: passed 0, should be 2: While processing NULL, toDecimalString(), NULL, '', ''. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, toDecimalString(), NULL, '', '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:16.135781 [ 1014 ] {1c66ef9c-741e-49a7-a165-84758605038b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toDecimalString doesn't match: passed 0, should be 2: While processing NULL, toDecimalString(), NULL, '', ''. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:16.264931 [ 1014 ] {5e96aec5-23ff-41b8-a6d1-2d2e7b48fb78} executeQuery: Code: 42. DB::Exception: Number of arguments for function shardNum doesn't match: passed 1, should be 0: While processing h3GetFaces([shardNum('pSlmra')]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT h3GetFaces([shardNum('pSlmra')]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:42:16.266707 [ 1014 ] {5e96aec5-23ff-41b8-a6d1-2d2e7b48fb78} TCPHandler: Code: 42. DB::Exception: Number of arguments for function shardNum doesn't match: passed 1, should be 0: While processing h3GetFaces([shardNum('pSlmra')]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:42:16.407553 [ 1014 ] {f870d2a7-5133-42d4-90d4-a1bad331c822} executeQuery: Code: 42. DB::Exception: Aggregate function kurtPop requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT kurtPop();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225523e1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:247: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsUnary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2422c195 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:42:16.409666 [ 1014 ] {f870d2a7-5133-42d4-90d4-a1bad331c822} TCPHandler: Code: 42. DB::Exception: Aggregate function kurtPop requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225523e1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:247: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsUnary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2422c195 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 21:42:16.418583 [ 1014 ] {016b6948-9cfc-4dbe-9ddc-9200bf05f04d} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing '', CAST('jX!>%=~m', 'Date'). (CANNOT_PARSE_DATE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', (CAST(('jX!>%=~m') AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1df7397e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x221f92d5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x221f8f51 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19a61b77 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19a61866 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19a6181d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:989: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a614f4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a61391 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a5b6f8 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a4aff9 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a328 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 2024.03.27 21:42:16.420566 [ 1014 ] {016b6948-9cfc-4dbe-9ddc-9200bf05f04d} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing '', CAST('jX!>%=~m', 'Date'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1df7397e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x221f92d5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x221f8f51 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19a61b77 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19a61866 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19a6181d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:989: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a614f4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a61391 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a5b6f8 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a4aff9 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a328 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 2024.03.27 21:42:16.563827 [ 1014 ] {c5ca852f-74b6-40f8-8587-0f495d545b50} executeQuery: Code: 42. DB::Exception: Table function 'url' requires at least 1 argument: While processing (SELECT * FROM url()) AS qocippny: While processing ((SELECT * FROM url()) AS qocippny, (SELECT * FROM zeros_mt('[')) AS utmpvn): While processing CAST(((SELECT * FROM url()) AS qocippny, (SELECT * FROM zeros_mt('[')) AS utmpvn), 'String'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM clusterAllReplicas((CAST((( SELECT * FROM url() ) AS qocippny, ( SELECT * FROM zeros_mt('[') ) AS utmpvn) AS String)), []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:52: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc0fba in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionURL.cpp:80: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc20d4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d933d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cf7 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 2024.03.27 21:42:16.565822 [ 1014 ] {c5ca852f-74b6-40f8-8587-0f495d545b50} TCPHandler: Code: 42. DB::Exception: Table function 'url' requires at least 1 argument: While processing (SELECT * FROM url()) AS qocippny: While processing ((SELECT * FROM url()) AS qocippny, (SELECT * FROM zeros_mt('[')) AS utmpvn): While processing CAST(((SELECT * FROM url()) AS qocippny, (SELECT * FROM zeros_mt('[')) AS utmpvn), 'String'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:52: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc0fba in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionURL.cpp:80: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc20d4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d933d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cf7 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 2024.03.27 21:42:16.700741 [ 1014 ] {dafd86ee-6715-44bb-9ffe-39d296df307e} executeQuery: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toStartOfMinute. Should be Date, Date32, DateTime or DateTime64: While processing L1Norm([], toStartOfMinute([CAST('z', 'String')], [])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT L1Norm([], toStartOfMinute([(CAST(('z') AS String))], []));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:121: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x20ee6f6e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:33: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x20ee4bc9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:42:16.703118 [ 1014 ] {dafd86ee-6715-44bb-9ffe-39d296df307e} TCPHandler: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toStartOfMinute. Should be Date, Date32, DateTime or DateTime64: While processing L1Norm([], toStartOfMinute([CAST('z', 'String')], [])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:121: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x20ee6f6e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:33: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x20ee4bc9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:42:16.712295 [ 1014 ] {54aaff52-9bf6-437b-b5c5-d759fffe292c} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapKeys doesn't match: passed 0, should be 1: While processing wordShingleMinHashArgCaseInsensitiveUTF8(NULL, mapKeys()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT wordShingleMinHashArgCaseInsensitiveUTF8(NULL, mapKeys());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:16.713890 [ 1014 ] {54aaff52-9bf6-437b-b5c5-d759fffe292c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapKeys doesn't match: passed 0, should be 1: While processing wordShingleMinHashArgCaseInsensitiveUTF8(NULL, mapKeys()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:16.834521 [ 1014 ] {f264d811-d7b3-453b-b675-7d49b7786837} executeQuery: Code: 636. DB::Exception: Table function 'input' was used without structure argument but structure could not be determined automatically. Please, provide structure manually: While processing (SELECT * FROM input()) AS jaoonzlr: While processing [(SELECT * FROM input()) AS jaoonzlr]. (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [], [( SELECT * FROM input() ) AS jaoonzlr], (CAST(('\0') AS String));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:51: DB::TableFunctionInput::getActualTableStructure(std::shared_ptr) const @ 0x28cc9439 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionInput.cpp:63: DB::TableFunctionInput::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28cc95e4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d933d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cf7 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 2024.03.27 21:42:16.836434 [ 1014 ] {f264d811-d7b3-453b-b675-7d49b7786837} TCPHandler: Code: 636. DB::Exception: Table function 'input' was used without structure argument but structure could not be determined automatically. Please, provide structure manually: While processing (SELECT * FROM input()) AS jaoonzlr: While processing [(SELECT * FROM input()) AS jaoonzlr]. (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:51: DB::TableFunctionInput::getActualTableStructure(std::shared_ptr) const @ 0x28cc9439 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionInput.cpp:63: DB::TableFunctionInput::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28cc95e4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d933d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cf7 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 2024.03.27 21:42:16.843708 [ 1014 ] {59c22093-ff28-4395-af80-4a75888d3dd0} executeQuery: Code: 36. DB::Exception: Table function 'viewExplain' requires 2 or 3 arguments, got 0. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM viewExplain();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1703cc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExplain.cpp:46: DB::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d182b4 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:16.845286 [ 1014 ] {59c22093-ff28-4395-af80-4a75888d3dd0} TCPHandler: Code: 36. DB::Exception: Table function 'viewExplain' requires 2 or 3 arguments, got 0. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1703cc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExplain.cpp:46: DB::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d182b4 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:16.953551 [ 1014 ] {d441ae10-3ef1-4fa2-a22a-edd608657f2f} executeQuery: Code: 35. DB::Exception: Function wordShingleSimHashCaseInsensitiveUTF8 expect at least one argument: While processing runningConcurrency(wordShingleSimHashCaseInsensitiveUTF8(), '\0'). (TOO_FEW_ARGUMENTS_FOR_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT runningConcurrency(wordShingleSimHashCaseInsensitiveUTF8(), '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringHash.h:57: DB::FunctionsStringHash, DB::NameWordShingleSimHashCaseInsensitiveUTF8, true, false>::getReturnTypeImpl(std::vector> const&) const @ 0x1a7dbb58 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:42:16.955395 [ 1014 ] {d441ae10-3ef1-4fa2-a22a-edd608657f2f} TCPHandler: Code: 35. DB::Exception: Function wordShingleSimHashCaseInsensitiveUTF8 expect at least one argument: While processing runningConcurrency(wordShingleSimHashCaseInsensitiveUTF8(), '\0'). (TOO_FEW_ARGUMENTS_FOR_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringHash.h:57: DB::FunctionsStringHash, DB::NameWordShingleSimHashCaseInsensitiveUTF8, true, false>::getReturnTypeImpl(std::vector> const&) const @ 0x1a7dbb58 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:42:17.143954 [ 1014 ] {af95d735-a454-42cb-b3fc-4ba84c117855} executeQuery: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys: While processing (SELECT * FROM hive()) AS _subquery647. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT * FROM hive() ) , ( SELECT readWKTMultiPolygon(( SELECT * FROM iceberg([]) ) , ( SELECT 'aG1', [[]] ) AS w) ) AS jlzcy, (CAST((( SELECT dictGetUInt32('xy}3gbG;', 'NVC:\y') ) ) AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d1d1b7 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230004 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 2024.03.27 21:42:17.146474 [ 1014 ] {af95d735-a454-42cb-b3fc-4ba84c117855} TCPHandler: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys: While processing (SELECT * FROM hive()) AS _subquery647. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d1d1b7 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230004 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 2024.03.27 21:42:17.158516 [ 1014 ] {311fc84b-4ce4-4b9f-bc60-05bd007e9c4b} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1bf9de33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:432: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x2b9b6ea0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:63: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0bd76 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:17.160151 [ 1014 ] {311fc84b-4ce4-4b9f-bc60-05bd007e9c4b} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1bf9de33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:432: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x2b9b6ea0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:63: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0bd76 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:17.307056 [ 1014 ] {26c95247-8f0f-49ec-a30d-fbb4318f66ad} executeQuery: Code: 36. DB::Exception: Scalar `13721459434783788169_8746707681174918408` doesn't exist (internal bug): While processing __getScalar('13721459434783788169_8746707681174918408') AS constant_expression. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cluster(( SELECT -164615.074, 403986.01974, 03661602.89266, NULL ) , ( SELECT ( SELECT (CAST(('') AS String)), 'G', cutToFirstSignificantSubdomainRFC(), NULL ) AS angj, '/-' ) AS kqixtbe, ( SELECT '5ruXw5o', '', 'g0a-A/%', (CAST(((CAST(((CAST((( SELECT randUniform('\0', -67178668.913) ) AS kmxqwm, ( SELECT * FROM null('', '\0') ) ) AS Date))) AS String))) AS String)), ( SELECT * FROM remote() ) , ( SELECT * FROM null('', (CAST(([(CAST(((CAST(('(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:1200: DB::Context::getScalar(String const&) const @ 0x29e74710 in /usr/bin/clickhouse 7. /build/src/Functions/getScalar.cpp:58: DB::(anonymous namespace)::FunctionGetScalar::getReturnTypeImpl(std::vector> const&) const @ 0x1cb462e4 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1796: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x2a04236d in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:80: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b337a0b in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b33811d in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b338232 in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionRemote.cpp:131: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90ebf in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 28. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 29. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:42:17.309400 [ 1014 ] {26c95247-8f0f-49ec-a30d-fbb4318f66ad} TCPHandler: Code: 36. DB::Exception: Scalar `13721459434783788169_8746707681174918408` doesn't exist (internal bug): While processing __getScalar('13721459434783788169_8746707681174918408') AS constant_expression. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:1200: DB::Context::getScalar(String const&) const @ 0x29e74710 in /usr/bin/clickhouse 7. /build/src/Functions/getScalar.cpp:58: DB::(anonymous namespace)::FunctionGetScalar::getReturnTypeImpl(std::vector> const&) const @ 0x1cb462e4 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1796: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x2a04236d in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:80: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b337a0b in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b33811d in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b338232 in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionRemote.cpp:131: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c90ebf in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 28. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 29. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:42:17.321239 [ 1014 ] {b7975cca-a2e0-4963-a0c9-20ab35ebc9fd} executeQuery: Code: 42. DB::Exception: The signature of table function 's3' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd4635 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:17.323628 [ 1014 ] {b7975cca-a2e0-4963-a0c9-20ab35ebc9fd} TCPHandler: Code: 42. DB::Exception: The signature of table function 's3' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd4635 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:17.334310 [ 1014 ] {f44c55a5-4fdf-4cc7-be3d-e409d60ac45d} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing NULL, CAST('', 'Date'), '\0'. (CANNOT_PARSE_DATE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, (CAST(('') AS Date)), '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1df7397e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x221f92d5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x221f8f51 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19a61b77 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19a61866 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19a6181d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:989: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a614f4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a61391 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a5b6f8 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a4aff9 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a328 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 2024.03.27 21:42:17.337511 [ 1014 ] {f44c55a5-4fdf-4cc7-be3d-e409d60ac45d} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing NULL, CAST('', 'Date'), '\0'. (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1df7397e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x221f92d5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x221f8f51 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19a61b77 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19a61866 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19a6181d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:989: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a614f4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a61391 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a5b6f8 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a4aff9 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a328 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 2024.03.27 21:42:17.344871 [ 1014 ] {b08fe0bc-2ef9-480f-b644-8387efa4cdd2} executeQuery: Code: 42. DB::Exception: SQLite database requires 2 arguments: database path, table name. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM sqlite();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [64]) @ 0x1a04a1de in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:70: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0ef7d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:17.347191 [ 1014 ] {b08fe0bc-2ef9-480f-b644-8387efa4cdd2} TCPHandler: Code: 42. DB::Exception: SQLite database requires 2 arguments: database path, table name. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [64]) @ 0x1a04a1de in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:70: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0ef7d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:17.357643 [ 1014 ] {567c721e-d10a-4835-90b0-7864b721910b} executeQuery: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM format('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:43: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d13aca in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:17.360206 [ 1014 ] {567c721e-d10a-4835-90b0-7864b721910b} TCPHandler: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:43: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d13aca in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:17.372913 [ 1014 ] {85087b3e-72e3-4f3f-99e6-df26d58b44ff} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing CAST('>', 'Date'). (CANNOT_PARSE_DATE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(('>') AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1df7397e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x221f92d5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x221f8f51 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19a61b77 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19a61866 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19a6181d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:989: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a614f4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a61391 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a5b6f8 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a4aff9 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a328 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 2024.03.27 21:42:17.375688 [ 1014 ] {85087b3e-72e3-4f3f-99e6-df26d58b44ff} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing CAST('>', 'Date'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1df7397e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x221f92d5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x221f8f51 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19a61b77 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19a61866 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19a6181d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:989: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a614f4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a61391 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a5b6f8 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a4aff9 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a328 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 2024.03.27 21:42:17.400772 [ 1014 ] {2e6b9299-21af-4ac7-8d01-adea18e74e8b} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1bf9de33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:432: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x2b9b6ea0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:63: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0bd76 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:17.403123 [ 1014 ] {2e6b9299-21af-4ac7-8d01-adea18e74e8b} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1bf9de33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:432: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x2b9b6ea0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:63: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0bd76 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:17.413807 [ 1014 ] {86c21239-adff-44bf-ab04-a660187bda71} executeQuery: Code: 42. DB::Exception: Number of arguments for function dotProduct doesn't match: passed 0, should be 2: While processing dotProduct(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT scalarProduct();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:17.416270 [ 1014 ] {86c21239-adff-44bf-ab04-a660187bda71} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dotProduct doesn't match: passed 0, should be 2: While processing dotProduct(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:17.556729 [ 1014 ] {27a30b8f-adc2-45b1-8036-8331deff6509} executeQuery: Code: 36. DB::Exception: Argument 'structure' must be a literal with type String, got Null. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM generateRandom(NULL, '=*J@v');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:60: DB::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ccb970 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:17.558456 [ 1014 ] {27a30b8f-adc2-45b1-8036-8331deff6509} TCPHandler: Code: 36. DB::Exception: Argument 'structure' must be a literal with type String, got Null. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:60: DB::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28ccb970 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:17.732733 [ 1014 ] {21be6396-b9c6-4897-95a3-710fb57e8def} executeQuery: Code: 36. DB::Exception: The function 'row_number' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT row_number();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1452: DB::WindowFunction::fail() const @ 0x2cd6578c in /usr/bin/clickhouse 7. ? @ 0x2cd64465 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/IAggregateFunction.h:519: DB::IAggregateFunctionHelper::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x2cd64b11 in /usr/bin/clickhouse 9. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x2a15224e in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1584: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aae65 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 2024.03.27 21:42:17.735723 [ 1014 ] {21be6396-b9c6-4897-95a3-710fb57e8def} TCPHandler: Code: 36. DB::Exception: The function 'row_number' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1452: DB::WindowFunction::fail() const @ 0x2cd6578c in /usr/bin/clickhouse 7. ? @ 0x2cd64465 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/IAggregateFunction.h:519: DB::IAggregateFunctionHelper::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x2cd64b11 in /usr/bin/clickhouse 9. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x2a15224e in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1584: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aae65 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 2024.03.27 21:42:17.861761 [ 1014 ] {f27945a7-432f-4c38-8d51-1ece2a0b48ac} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal32, expected const Integer, got String: While processing toDecimal32('', ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toDecimal32('', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x290af75a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x290ada5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290ad1e0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1770: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x19f4af0c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x19f4ad60 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x19f4ad1d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x19f4acdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x19f4ac9d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x19f4ac65 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1978481e in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x197834dd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x19f4aa9b in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x19f2ea5a in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 2024.03.27 21:42:17.864009 [ 1014 ] {f27945a7-432f-4c38-8d51-1ece2a0b48ac} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal32, expected const Integer, got String: While processing toDecimal32('', ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x290af75a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x290ada5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290ad1e0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1770: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x19f4af0c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x19f4ad60 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x19f4ad1d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x19f4acdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x19f4ac9d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x19f4ac65 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1978481e in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x197834dd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x19f4aa9b in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x19f2ea5a in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 2024.03.27 21:42:17.876642 [ 1014 ] {1a46940b-efed-478b-adb6-352f9cc93032} executeQuery: Code: 42. DB::Exception: Number of arguments for function serverUUID doesn't match: passed 2, should be 0: While processing serverUUID(CAST(-98, 'String'), NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT serverUUID((CAST((-98) AS String)), NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:17.878495 [ 1014 ] {1a46940b-efed-478b-adb6-352f9cc93032} TCPHandler: Code: 42. DB::Exception: Number of arguments for function serverUUID doesn't match: passed 2, should be 0: While processing serverUUID(CAST(-98, 'String'), NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:18.024734 [ 1014 ] {a7963121-72f8-4d1f-bbc4-5993938b1eb2} executeQuery: Code: 42. DB::Exception: Aggregate function boundingRatio requires two arguments: While processing (SELECT boundingRatio()) AS zdbmf. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [], ['7'], ( SELECT boundingRatio() ) AS zdbmf;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x225c2821 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionBoundingRatio.cpp:23: DB::(anonymous namespace)::createAggregateFunctionRate(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x235e2115 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 2024.03.27 21:42:18.027225 [ 1014 ] {a7963121-72f8-4d1f-bbc4-5993938b1eb2} TCPHandler: Code: 42. DB::Exception: Aggregate function boundingRatio requires two arguments: While processing (SELECT boundingRatio()) AS zdbmf. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x225c2821 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionBoundingRatio.cpp:23: DB::(anonymous namespace)::createAggregateFunctionRate(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x235e2115 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8158 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a80f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x225a8095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x225a801d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x290b82d9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x290b4eb5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x290b392c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x290b2b39 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a034e95 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a032c10 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a032139 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2adab8d3 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2adb3040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad9372e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 2024.03.27 21:42:18.163254 [ 1014 ] {5843417c-c4cf-420a-87d8-aa162213cf13} executeQuery: Code: 36. DB::Exception: Argument 'length' must be a literal with type UInt64, got Null. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM zeros_mt(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: unsigned long DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3ddc in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: unsigned long DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ced in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionZeros.cpp:87: DB::TableFunctionZeros::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28cb4c24 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionZeros.cpp:40: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28cb48b2 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:18.165114 [ 1014 ] {5843417c-c4cf-420a-87d8-aa162213cf13} TCPHandler: Code: 36. DB::Exception: Argument 'length' must be a literal with type UInt64, got Null. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: unsigned long DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3ddc in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: unsigned long DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ced in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionZeros.cpp:87: DB::TableFunctionZeros::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28cb4c24 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionZeros.cpp:40: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28cb48b2 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:18.286686 [ 1014 ] {f0b6f89e-da7f-48f7-8211-3b3946f5d9d6} executeQuery: Code: 36. DB::Exception: Invalid Base58 value, cannot be decoded: While processing base58Decode('\0'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT base58Decode('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [40]) @ 0x197288de in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBase58Conversion.h:105: DB::Base58Decode::process(DB::ColumnString const&, COW::mutable_ptr&, unsigned long) @ 0x1a9eab0b in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBase58Conversion.h:161: DB::FunctionBase58Conversion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a9ea581 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:42:18.289310 [ 1014 ] {f0b6f89e-da7f-48f7-8211-3b3946f5d9d6} TCPHandler: Code: 36. DB::Exception: Invalid Base58 value, cannot be decoded: While processing base58Decode('\0'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [40]) @ 0x197288de in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBase58Conversion.h:105: DB::Base58Decode::process(DB::ColumnString const&, COW::mutable_ptr&, unsigned long) @ 0x1a9eab0b in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBase58Conversion.h:161: DB::FunctionBase58Conversion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a9ea581 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 2024.03.27 21:42:18.298817 [ 1014 ] {03c45979-83da-4926-8094-dac0e6512e84} executeQuery: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remote(-08681.99, 23.636);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c45e91e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:139: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c910d9 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:18.300700 [ 1014 ] {03c45979-83da-4926-8094-dac0e6512e84} TCPHandler: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c45e91e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:139: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28c910d9 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:18.440936 [ 1014 ] {ced90fa3-0d5f-4923-9aa5-9eccb71b9dd9} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT in('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a52fed3 in /usr/bin/clickhouse 6. /build/src/Interpreters/misc.h:45: DB::checkFunctionIsInOrGlobalInOperator(DB::ASTFunction const&) @ 0x29e214ef in /usr/bin/clickhouse 7. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:92: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e2091c in /usr/bin/clickhouse 8. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204fd in /usr/bin/clickhouse 9. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 10. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:55: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20898 in /usr/bin/clickhouse 11. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20462 in /usr/bin/clickhouse 12. /build/src/Interpreters/ApplyWithSubqueryVisitor.h:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&) @ 0x2adac02e in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:407: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d5a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:18.443077 [ 1014 ] {ced90fa3-0d5f-4923-9aa5-9eccb71b9dd9} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a52fed3 in /usr/bin/clickhouse 6. /build/src/Interpreters/misc.h:45: DB::checkFunctionIsInOrGlobalInOperator(DB::ASTFunction const&) @ 0x29e214ef in /usr/bin/clickhouse 7. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:92: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e2091c in /usr/bin/clickhouse 8. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204fd in /usr/bin/clickhouse 9. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 10. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:55: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20898 in /usr/bin/clickhouse 11. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20462 in /usr/bin/clickhouse 12. /build/src/Interpreters/ApplyWithSubqueryVisitor.h:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&) @ 0x2adac02e in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:407: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d5a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:18.574649 [ 1014 ] {1193609f-8f0c-4dee-a484-e6e6c4de2373} executeQuery: Code: 42. DB::Exception: Storage MeiliSearch requires 3 parameters: MeiliSearch('url', 'index', 'key'= ""). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM meilisearch();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [82]) @ 0x22452d5e in /usr/bin/clickhouse 6. /build/src/Storages/MeiliSearch/StorageMeiliSearch.cpp:152: DB::StorageMeiliSearch::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x28f0d3d5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMeiliSearch.cpp:31: DB::TableFunctionMeiliSearch::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd2226 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:18.576550 [ 1014 ] {1193609f-8f0c-4dee-a484-e6e6c4de2373} TCPHandler: Code: 42. DB::Exception: Storage MeiliSearch requires 3 parameters: MeiliSearch('url', 'index', 'key'= ""). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [82]) @ 0x22452d5e in /usr/bin/clickhouse 6. /build/src/Storages/MeiliSearch/StorageMeiliSearch.cpp:152: DB::StorageMeiliSearch::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x28f0d3d5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMeiliSearch.cpp:31: DB::TableFunctionMeiliSearch::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd2226 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:18.584673 [ 1014 ] {80f1cd71-7fa5-45a7-9f5e-ca9ab38de029} executeQuery: Code: 42. DB::Exception: Number of arguments for function __bitBoolMaskAnd doesn't match: passed 0, should be 2: While processing __bitBoolMaskAnd(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT __bitBoolMaskAnd();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:18.586536 [ 1014 ] {80f1cd71-7fa5-45a7-9f5e-ca9ab38de029} TCPHandler: Code: 42. DB::Exception: Number of arguments for function __bitBoolMaskAnd doesn't match: passed 0, should be 2: While processing __bitBoolMaskAnd(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:18.594049 [ 1014 ] {f40fa84d-8a50-4dbf-8174-9b4860eeb43f} executeQuery: Code: 43. DB::Exception: Illegal type String of the first argument of function regionToName (must be UInt32): While processing regionToName('kr#>'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT regionToName('kr#>');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsEmbeddedDictionaries.h:595: DB::FunctionRegionToName::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1a128efd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:18.595686 [ 1014 ] {f40fa84d-8a50-4dbf-8174-9b4860eeb43f} TCPHandler: Code: 43. DB::Exception: Illegal type String of the first argument of function regionToName (must be UInt32): While processing regionToName('kr#>'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsEmbeddedDictionaries.h:595: DB::FunctionRegionToName::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1a128efd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:18.691439 [ 3331 ] {cf0fa29f-2c3d-4683-a98b-4f8b48ae70ba} executeQuery: Code: 420. DB::Exception: Cannot UPDATE key column `d`. (CANNOT_UPDATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37710) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE alter_update UPDATE d = today() WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:490: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x2af1bce4 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:587: DB::MutationsInterpreter::prepare(bool) @ 0x2af17b63 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af17100 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af16b49 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b995 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:18.691488 [ 1014 ] {f8b39b82-0adb-427f-b9b5-1b2cc81fda40} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mongodb()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [147]) @ 0x28ccf01e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cce6f6 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:18.693268 [ 3331 ] {cf0fa29f-2c3d-4683-a98b-4f8b48ae70ba} TCPHandler: Code: 420. DB::Exception: Cannot UPDATE key column `d`. (CANNOT_UPDATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:490: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x2af1bce4 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:587: DB::MutationsInterpreter::prepare(bool) @ 0x2af17b63 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af17100 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af16b49 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b995 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:18.693255 [ 1014 ] {f8b39b82-0adb-427f-b9b5-1b2cc81fda40} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [147]) @ 0x28ccf01e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cce6f6 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:18.701961 [ 1014 ] {2106aebd-7fee-45a0-a726-231e31cfcf52} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: While processing CAST([], 'Date'), 'nx[2yp2P', 'E<2nn', [], [[-32689146]]. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(([]) AS Date)), 'nx[2yp2P', 'E<2nn', [], [[-32689146]];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a426 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:42:18.704031 [ 1014 ] {2106aebd-7fee-45a0-a726-231e31cfcf52} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: While processing CAST([], 'Date'), 'nx[2yp2P', 'E<2nn', [], [[-32689146]]. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4a426 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a4951e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 2024.03.27 21:42:18.825742 [ 1014 ] {bc4528d1-4c66-4db8-947b-d99131cce678} executeQuery: Code: 43. DB::Exception: Illegal type Int16 of argument 1 of function h3GetBaseCell. Must be UInt64: While processing h3GetBaseCell(-7965). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT h3GetBaseCell(-07965);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x1cb38128 in /usr/bin/clickhouse 6. /build/src/Functions/h3GetBaseCell.cpp:43: DB::(anonymous namespace)::FunctionH3GetBaseCell::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d5e34aa in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:18.827814 [ 1014 ] {bc4528d1-4c66-4db8-947b-d99131cce678} TCPHandler: Code: 43. DB::Exception: Illegal type Int16 of argument 1 of function h3GetBaseCell. Must be UInt64: While processing h3GetBaseCell(-7965). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x1cb38128 in /usr/bin/clickhouse 6. /build/src/Functions/h3GetBaseCell.cpp:43: DB::(anonymous namespace)::FunctionH3GetBaseCell::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d5e34aa in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:18.946351 [ 1014 ] {194c7ae9-0faa-481f-93de-9b92048d5dd5} executeQuery: Code: 43. DB::Exception: Argument 0 of function tupleMultiply should be tuple, got Array(Array(String)): While processing tupleMultiply([['\0']], ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT tupleMultiply([['\0']], '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/vectorFunctions.cpp:61: DB::FunctionTupleOperator::getReturnTypeImpl(std::vector> const&) const @ 0x211495b4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:18.948259 [ 1014 ] {194c7ae9-0faa-481f-93de-9b92048d5dd5} TCPHandler: Code: 43. DB::Exception: Argument 0 of function tupleMultiply should be tuple, got Array(Array(String)): While processing tupleMultiply([['\0']], ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/vectorFunctions.cpp:61: DB::FunctionTupleOperator::getReturnTypeImpl(std::vector> const&) const @ 0x211495b4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:19.083185 [ 1014 ] {6b87133a-ebfc-46eb-978e-262b76e09fd3} executeQuery: Code: 42. DB::Exception: Wrong argument count for function dictGetOrDefault: While processing dictGetUInt64OrDefault(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT dictGetUInt64OrDefault();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:336: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)1>::getReturnTypeImpl(std::vector> const&) const @ 0x1a13d451 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetUInt64OrDefault, (DB::DictionaryGetFunctionType)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a15a1a8 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:42:19.085491 [ 1014 ] {6b87133a-ebfc-46eb-978e-262b76e09fd3} TCPHandler: Code: 42. DB::Exception: Wrong argument count for function dictGetOrDefault: While processing dictGetUInt64OrDefault(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:336: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)1>::getReturnTypeImpl(std::vector> const&) const @ 0x1a13d451 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetUInt64OrDefault, (DB::DictionaryGetFunctionType)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a15a1a8 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:42:19.243716 [ 1014 ] {4e07102b-48ee-4a98-8023-271b68bfc44e} executeQuery: Code: 43. DB::Exception: The argument of function fromModifiedJulianDayOrNull must be integral: While processing fromModifiedJulianDayOrNull('v'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT fromModifiedJulianDayOrNull('v');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/fromModifiedJulianDay.cpp:202: DB::FromModifiedJulianDayOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1c93bedf in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a52a909 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:19.246050 [ 1014 ] {4e07102b-48ee-4a98-8023-271b68bfc44e} TCPHandler: Code: 43. DB::Exception: The argument of function fromModifiedJulianDayOrNull must be integral: While processing fromModifiedJulianDayOrNull('v'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/fromModifiedJulianDay.cpp:202: DB::FromModifiedJulianDayOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1c93bedf in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a52a909 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:19.400232 [ 1014 ] {c3459dbe-6638-47a5-bbf4-ebcc49e44055} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing CAST(NULL, 'DateTime'): While processing (SELECT CAST(NULL, 'DateTime')) AS owwvivr: While processing blockSize((SELECT CAST(NULL, 'DateTime')) AS owwvivr). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT blockSize(( SELECT (CAST((NULL) AS DateTime)) ) AS owwvivr);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x1971c99e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3709: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19c85ba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x19c8565c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36d49 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 2024.03.27 21:42:19.402528 [ 1014 ] {c3459dbe-6638-47a5-bbf4-ebcc49e44055} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing CAST(NULL, 'DateTime'): While processing (SELECT CAST(NULL, 'DateTime')) AS owwvivr: While processing blockSize((SELECT CAST(NULL, 'DateTime')) AS owwvivr). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x1971c99e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3709: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19c85ba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x19c8565c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36d49 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 2024.03.27 21:42:19.419948 [ 1014 ] {6174c3f8-32a5-443b-9ae4-63ba05dc2dcc} executeQuery: Code: 42. DB::Exception: Number of arguments for function endsWith doesn't match: passed 1, should be 2: While processing endsWith(''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT endsWith('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:19.421706 [ 1014 ] {6174c3f8-32a5-443b-9ae4-63ba05dc2dcc} TCPHandler: Code: 42. DB::Exception: Number of arguments for function endsWith doesn't match: passed 1, should be 2: While processing endsWith(''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:19.429720 [ 1014 ] {0c3b2af9-a313-457c-ad0b-622079a9ef9a} executeQuery: Code: 42. DB::Exception: Number of arguments for function radians doesn't match: passed 2, should be 1: While processing hypot(371794, radians('\0', [])). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT hypot(371794, radians('\0', []));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:19.431321 [ 1014 ] {0c3b2af9-a313-457c-ad0b-622079a9ef9a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function radians doesn't match: passed 2, should be 1: While processing hypot(371794, radians('\0', [])). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:19.437352 [ 1014 ] {fbaf370b-1952-4f00-ab19-a34f65fde559} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT notIn(toDayOfYear());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a52fed3 in /usr/bin/clickhouse 6. /build/src/Interpreters/misc.h:45: DB::checkFunctionIsInOrGlobalInOperator(DB::ASTFunction const&) @ 0x29e214ef in /usr/bin/clickhouse 7. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:92: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e2091c in /usr/bin/clickhouse 8. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204fd in /usr/bin/clickhouse 9. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 10. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:55: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20898 in /usr/bin/clickhouse 11. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20462 in /usr/bin/clickhouse 12. /build/src/Interpreters/ApplyWithSubqueryVisitor.h:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&) @ 0x2adac02e in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:407: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d5a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:19.438941 [ 1014 ] {fbaf370b-1952-4f00-ab19-a34f65fde559} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a52fed3 in /usr/bin/clickhouse 6. /build/src/Interpreters/misc.h:45: DB::checkFunctionIsInOrGlobalInOperator(DB::ASTFunction const&) @ 0x29e214ef in /usr/bin/clickhouse 7. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:92: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e2091c in /usr/bin/clickhouse 8. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204fd in /usr/bin/clickhouse 9. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e204bf in /usr/bin/clickhouse 10. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:55: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20898 in /usr/bin/clickhouse 11. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29e20462 in /usr/bin/clickhouse 12. /build/src/Interpreters/ApplyWithSubqueryVisitor.h:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&) @ 0x2adac02e in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:407: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d5a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:19.445389 [ 1014 ] {3c93caf7-8815-4dec-8e52-a63775c91742} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3ToChildren doesn't match: passed 0, should be 2: While processing h3ToChildren(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT h3ToChildren();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:19.447149 [ 1014 ] {3c93caf7-8815-4dec-8e52-a63775c91742} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3ToChildren doesn't match: passed 0, should be 2: While processing h3ToChildren(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:19.578761 [ 1014 ] {ff358393-428a-454f-ac77-99afdc0fe093} executeQuery: Code: 42. DB::Exception: Number of arguments for function dumpColumnStructure doesn't match: passed 0, should be 1: While processing dumpColumnStructure(): While processing (SELECT dumpColumnStructure()) AS _subquery649. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [''], ( SELECT dumpColumnStructure() ) , ( SELECT groupBitmap() ) , '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 2024.03.27 21:42:19.581111 [ 1014 ] {ff358393-428a-454f-ac77-99afdc0fe093} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dumpColumnStructure doesn't match: passed 0, should be 1: While processing dumpColumnStructure(): While processing (SELECT dumpColumnStructure()) AS _subquery649. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 2024.03.27 21:42:19.694578 [ 1014 ] {5072e9ea-f7a4-4985-a8b0-ed2e7f62fba9} executeQuery: Code: 42. DB::Exception: Table function 'input' requires exactly 1 argument: structure. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM input('', (CAST((['\0']) AS String)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:40: DB::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc915d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:19.696347 [ 1014 ] {5072e9ea-f7a4-4985-a8b0-ed2e7f62fba9} TCPHandler: Code: 42. DB::Exception: Table function 'input' requires exactly 1 argument: structure. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:40: DB::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cc915d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:19.714955 [ 1014 ] {f09433c6-9bbd-4c05-81b6-f86937c2537f} executeQuery: Code: 42. DB::Exception: Number of arguments for function reinterpretAsUInt256 doesn't match: passed 0, should be 1: While processing reinterpretAsUInt256(): While processing (SELECT reinterpretAsUInt256()) AS hhf: While processing (__getScalar('4495116713380837533_18013385383875778646') AS _subquery651, (SELECT reinterpretAsUInt256()) AS hhf): While processing CAST((__getScalar('4495116713380837533_18013385383875778646') AS _subquery651, (SELECT reinterpretAsUInt256()) AS hhf), 'Date'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, NULL, toUInt8(-1286971.5, (CAST(('\0') AS DateTime))), (CAST(('\0') AS String)), (CAST((( SELECT '\0', [NULL] ) , ( SELECT reinterpretAsUInt256() ) AS hhf) AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 2024.03.27 21:42:19.717174 [ 1014 ] {f09433c6-9bbd-4c05-81b6-f86937c2537f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reinterpretAsUInt256 doesn't match: passed 0, should be 1: While processing reinterpretAsUInt256(): While processing (SELECT reinterpretAsUInt256()) AS hhf: While processing (__getScalar('4495116713380837533_18013385383875778646') AS _subquery651, (SELECT reinterpretAsUInt256()) AS hhf): While processing CAST((__getScalar('4495116713380837533_18013385383875778646') AS _subquery651, (SELECT reinterpretAsUInt256()) AS hhf), 'Date'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 2024.03.27 21:42:19.873998 [ 1014 ] {2173c51d-8fa6-48ec-8d80-e46465a09297} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toDate32 provided 0, expected 1 to 2 ('Value' : , ['timezone' : const String]): While processing toDate32(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toDate32();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x290aefbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290acf45 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1770: DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x19a8409d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x19a83da0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x19a83d5d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x19a83d1d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x19a83cdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x19a83ca5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1978481e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x197834dd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x19a83adb in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x19a6a5ba in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:42:19.876159 [ 1014 ] {2173c51d-8fa6-48ec-8d80-e46465a09297} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toDate32 provided 0, expected 1 to 2 ('Value' : , ['timezone' : const String]): While processing toDate32(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x290aefbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290acf45 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1770: DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x19a8409d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x19a83da0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x19a83d5d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x19a83d1d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x19a83cdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x19a83ca5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1978481e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x197834dd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x19a83adb in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x19a6a5ba in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:42:19.988622 [ 1014 ] {03fd8506-c9b1-43bc-bbae-84324a9fee7c} executeQuery: Code: 42. DB::Exception: Number of arguments for function toLastDayOfMonth doesn't match: passed 0, should be 1 or 2: While processing toLastDayOfMonth(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toLastDayOfMonth();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x20e91c51 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToDateOrDate32.h:33: DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x20e8f20c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:19.990510 [ 1014 ] {03fd8506-c9b1-43bc-bbae-84324a9fee7c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toLastDayOfMonth doesn't match: passed 0, should be 1 or 2: While processing toLastDayOfMonth(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x20e91c51 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToDateOrDate32.h:33: DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x20e8f20c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:20.014750 [ 1014 ] {48167b9a-544b-4b6b-80ef-f4711e64a15c} executeQuery: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing L2Norm(CAST('', 'DateTime')): While processing (SELECT L2Norm(CAST('', 'DateTime'))) AS _subquery652: While processing [(SELECT L2Norm(CAST('', 'DateTime'))) AS _subquery652, (SELECT * FROM sqlite(CAST(NULL, 'DateTime'), -5493947.240727)) AS _subquery653]. (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM deltaLake('h(int, FormatStringHelperImpl<>) @ 0x197813b7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1211: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x221f9fd6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:977: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19a9f7f6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1055: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19a9f4c5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1007: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a9f40d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a9f2bc in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a99b78 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a89ad9 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a88e08 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a87ffe in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 2024.03.27 21:42:20.015945 [ 18229 ] {02e97f88-8ec2-4071-9139-8877968e943b} executeQuery: Code: 420. DB::Exception: Cannot UPDATE key column `key`. (CANNOT_UPDATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37760) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE alter_update UPDATE key = 1 WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:490: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x2af1bce4 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:587: DB::MutationsInterpreter::prepare(bool) @ 0x2af17b63 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af17100 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af16b49 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b995 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:20.016961 [ 1014 ] {48167b9a-544b-4b6b-80ef-f4711e64a15c} TCPHandler: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing L2Norm(CAST('', 'DateTime')): While processing (SELECT L2Norm(CAST('', 'DateTime'))) AS _subquery652: While processing [(SELECT L2Norm(CAST('', 'DateTime'))) AS _subquery652, (SELECT * FROM sqlite(CAST(NULL, 'DateTime'), -5493947.240727)) AS _subquery653]. (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x197813b7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1211: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x221f9fd6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:977: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19a9f7f6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1055: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19a9f4c5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1007: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19a9f40d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a9f2bc in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a99b78 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a89ad9 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a88e08 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a87ffe in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x196b7692 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19ca9df0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d86 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9d20 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19ca9cc0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19ca9c6b in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x1971c7c7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19719060 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1971850f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8c59 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 2024.03.27 21:42:20.017992 [ 18229 ] {02e97f88-8ec2-4071-9139-8877968e943b} TCPHandler: Code: 420. DB::Exception: Cannot UPDATE key column `key`. (CANNOT_UPDATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:490: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x2af1bce4 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:587: DB::MutationsInterpreter::prepare(bool) @ 0x2af17b63 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af17100 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af16b49 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b995 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:20.023247 [ 1014 ] {1c378e70-5dad-43bc-9021-0627e6503ef1} executeQuery: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM jdbc([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cfb668 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:20.024803 [ 1014 ] {1c378e70-5dad-43bc-9021-0627e6503ef1} TCPHandler: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cfb668 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:20.138425 [ 1014 ] {f15b7b87-a7f6-4e21-8ff3-62ed610c05c3} executeQuery: Code: 36. DB::Exception: Host is empty in S3 URI. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM iceberg('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [25]) @ 0x197395fe in /usr/bin/clickhouse 6. /build/src/IO/S3/URI.cpp:44: DB::S3::URI::URI(String const&) @ 0x28ce170a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd56bd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cf366d in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:20.140355 [ 1014 ] {f15b7b87-a7f6-4e21-8ff3-62ed610c05c3} TCPHandler: Code: 36. DB::Exception: Host is empty in S3 URI. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [25]) @ 0x197395fe in /usr/bin/clickhouse 6. /build/src/IO/S3/URI.cpp:44: DB::S3::URI::URI(String const&) @ 0x28ce170a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd56bd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cf366d in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:20.147726 [ 1014 ] {b4d43b39-df07-4d23-a096-3343344e4a42} executeQuery: Code: 36. DB::Exception: Argument 'format/NOSIGN' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM oss([], ['\0']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd4aca in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:20.149379 [ 1014 ] {b4d43b39-df07-4d23-a096-3343344e4a42} TCPHandler: Code: 36. DB::Exception: Argument 'format/NOSIGN' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19aaab48 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bbf3bf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bbf3ae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28cd4aca in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28cd6290 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:20.256751 [ 1014 ] {93b2015b-152a-4cc8-953b-7f5880f933f6} executeQuery: Code: 35. DB::Exception: Function wordShingleSimHash expect at least one argument: While processing wordShingleSimHash(). (TOO_FEW_ARGUMENTS_FOR_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT wordShingleSimHash();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringHash.h:57: DB::FunctionsStringHash, DB::NameWordShingleSimHash, true, false>::getReturnTypeImpl(std::vector> const&) const @ 0x1a7d0e78 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:20.258755 [ 1014 ] {93b2015b-152a-4cc8-953b-7f5880f933f6} TCPHandler: Code: 35. DB::Exception: Function wordShingleSimHash expect at least one argument: While processing wordShingleSimHash(). (TOO_FEW_ARGUMENTS_FOR_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringHash.h:57: DB::FunctionsStringHash, DB::NameWordShingleSimHash, true, false>::getReturnTypeImpl(std::vector> const&) const @ 0x1a7d0e78 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:20.266601 [ 1014 ] {61050a43-0e35-471d-a766-61435f2c684e} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitmapAnd doesn't match: passed 0, should be 2: While processing materialize(bitmapAnd()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT materialize(bitmapAnd());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:20.268240 [ 1014 ] {61050a43-0e35-471d-a766-61435f2c684e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitmapAnd doesn't match: passed 0, should be 2: While processing materialize(bitmapAnd()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:20.383279 [ 1014 ] {079ec660-eb30-4883-828c-f15248a2bfd4} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetUInt32OrDefault doesn't match: the function requires more arguments: While processing hasTokenOrNull(dictGetUInt32OrDefault('\0', ['']), []). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT hasTokenOrNull(dictGetUInt32OrDefault('\0', ['']), []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:157: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d6f6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:42:20.385288 [ 1014 ] {079ec660-eb30-4883-828c-f15248a2bfd4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetUInt32OrDefault doesn't match: the function requires more arguments: While processing hasTokenOrNull(dictGetUInt32OrDefault('\0', ['']), []). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:157: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d6f6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 2024.03.27 21:42:20.393808 [ 1014 ] {4db89eab-0de9-4910-b2d8-9dc57b3b16a8} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing MD4(CAST(NULL, 'String'), '\0'). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT MD4((CAST((NULL) AS String)), '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x1971c99e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3709: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19c85ba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x19c8565c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36d49 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:20.395438 [ 1014 ] {4db89eab-0de9-4910-b2d8-9dc57b3b16a8} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing MD4(CAST(NULL, 'String'), '\0'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x1971c99e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3709: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19c85ba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x19c8565c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36d49 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:20.415962 [ 1014 ] {2efbd236-e642-49be-a2fe-f770998adbc3} executeQuery: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hive(toDateOrDefault());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d1d1b7 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:20.417555 [ 1014 ] {2efbd236-e642-49be-a2fe-f770998adbc3} TCPHandler: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d1d1b7 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:20.555035 [ 1014 ] {7f8c4bd2-8415-4c52-b3da-8e5553d97b3a} executeQuery: Code: 43. DB::Exception: Cannot format Float64 as bitmask string: While processing JSON_EXISTS([[bitmaskToList(-510.702869)]]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT JSON_EXISTS([[bitmaskToList(-510.702869)]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsBitToArray.cpp:56: DB::(anonymous namespace)::FunctionBitmaskToList::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x19e4785a in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 2024.03.27 21:42:20.556873 [ 1014 ] {7f8c4bd2-8415-4c52-b3da-8e5553d97b3a} TCPHandler: Code: 43. DB::Exception: Cannot format Float64 as bitmask string: While processing JSON_EXISTS([[bitmaskToList(-510.702869)]]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsBitToArray.cpp:56: DB::(anonymous namespace)::FunctionBitmaskToList::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x19e4785a in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 2024.03.27 21:42:20.671974 [ 1014 ] {ad5d16cc-e63b-4566-bbe1-8a6845ccaf71} executeQuery: Code: 42. DB::Exception: Number of arguments for function toISOYear doesn't match: passed 0, should be 1 or 2: While processing CAST('\0', toISOYear()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT CAST('\0', toISOYear());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x20e8c931 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:59: DB::FunctionDateOrDateTimeToSomething, DB::ToISOYearImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x20e8aeff in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:42:20.673915 [ 1014 ] {ad5d16cc-e63b-4566-bbe1-8a6845ccaf71} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toISOYear doesn't match: passed 0, should be 1 or 2: While processing CAST('\0', toISOYear()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x20e8c931 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:59: DB::FunctionDateOrDateTimeToSomething, DB::ToISOYearImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x20e8aeff in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 21:42:20.823577 [ 1014 ] {c138a7a2-2894-46f6-9043-8c14294279d3} executeQuery: Code: 42. DB::Exception: Table function 'zeros' requires 'length'.: While processing (SELECT * FROM zeros()) AS _subquery655: While processing (SELECT CAST(-596., 'Date'), [8932], (SELECT * FROM zeros()), (SELECT * FROM iceberg([], substring([]))) AS txc, (SELECT * FROM meilisearch('Da', transactionLatestSnapshot([], ['']))), []) AS _subquery654: While processing toStartOfMonth((SELECT CAST(-596., 'Date'), [8932], (SELECT * FROM zeros()), (SELECT * FROM iceberg([], substring([]))) AS txc, (SELECT * FROM meilisearch('Da', transactionLatestSnapshot([], ['']))), []) AS _subquery654). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toStartOfMonth(( SELECT (CAST((-596.0) AS Date)), [8932], ( SELECT * FROM zeros() ) , ( SELECT * FROM iceberg([], substr([])) ) AS txc, ( SELECT * FROM meilisearch('Da', transactionLatestSnapshot([], [''])) ) , [] ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28cb6b59 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230004 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 2024.03.27 21:42:20.826157 [ 1014 ] {c138a7a2-2894-46f6-9043-8c14294279d3} TCPHandler: Code: 42. DB::Exception: Table function 'zeros' requires 'length'.: While processing (SELECT * FROM zeros()) AS _subquery655: While processing (SELECT CAST(-596., 'Date'), [8932], (SELECT * FROM zeros()), (SELECT * FROM iceberg([], substring([]))) AS txc, (SELECT * FROM meilisearch('Da', transactionLatestSnapshot([], ['']))), []) AS _subquery654: While processing toStartOfMonth((SELECT CAST(-596., 'Date'), [8932], (SELECT * FROM zeros()), (SELECT * FROM iceberg([], substring([]))) AS txc, (SELECT * FROM meilisearch('Da', transactionLatestSnapshot([], ['']))), []) AS _subquery654). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28cb6b59 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x290bda44 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e76ea3 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b2da594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d96fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d75dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230004 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 2024.03.27 21:42:20.946278 [ 1014 ] {c5ff6f51-7d68-48ed-99ab-3acff2978f9d} executeQuery: Code: 42. DB::Exception: Number of arguments for function fromUnixTimestamp doesn't match: passed 0, should be 1, 2 or 3: While processing fromUnixTimestamp(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT fromUnixTimestamp();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/formatDateTime.cpp:725: DB::(anonymous namespace)::FunctionFormatDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x1c8a19f2 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:20.948343 [ 1014 ] {c5ff6f51-7d68-48ed-99ab-3acff2978f9d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function fromUnixTimestamp doesn't match: passed 0, should be 1, 2 or 3: While processing fromUnixTimestamp(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197524cc in /usr/bin/clickhouse 6. /build/src/Functions/formatDateTime.cpp:725: DB::(anonymous namespace)::FunctionFormatDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x1c8a19f2 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 2024.03.27 21:42:20.955198 [ 1014 ] {506585db-2b01-458a-9f33-aac0a0fc7974} executeQuery: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mysql(toUUIDOrDefault())), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [161]) @ 0x2b9b04be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:297: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x2b9aec96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:58: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d07481 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:20.956865 [ 1014 ] {506585db-2b01-458a-9f33-aac0a0fc7974} TCPHandler: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [161]) @ 0x2b9b04be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:297: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x2b9aec96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:58: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d07481 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:21.160303 [ 1014 ] {ec2d4672-5ed0-43ee-aa7f-860bfea4c8fb} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toIntervalHour provided 0, expected 1 ('Value' : ): While processing toIntervalHour(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toIntervalHour();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x290aefbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290acf45 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1770: DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x19c00dc6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x19c00b40 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x19c00afd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x19c00abd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x19c00a7d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x19c00a45 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1978481e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x197834dd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x19c0087b in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x19be901a in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:42:21.162514 [ 1014 ] {ec2d4672-5ed0-43ee-aa7f-860bfea4c8fb} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toIntervalHour provided 0, expected 1 ('Value' : ): While processing toIntervalHour(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x290aefbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x290acf45 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1770: DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x19c00dc6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x19c00b40 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x19c00afd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x19c00abd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x19c00a7d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x19c00a45 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1978481e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x197834dd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x19c0087b in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x19be901a in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:42:21.170839 [ 1014 ] {728f296d-a679-443a-864b-a6d28f6b9e9d} executeQuery: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mysql([], '\0')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [161]) @ 0x2b9b04be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:297: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x2b9aec96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:58: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d07481 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:21.172586 [ 1014 ] {728f296d-a679-443a-864b-a6d28f6b9e9d} TCPHandler: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [161]) @ 0x2b9b04be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:297: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x2b9aec96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:58: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d07481 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:21.290877 [ 1014 ] {9c03c67e-0dbb-4d59-9b8b-76feb4810408} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument of function trunc: While processing 5551.1777, trunc(CAST(5709185, 'DateTime'), '\0'), CAST('\0', 'DateTime'), NULL, ''. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 05551.1777, trunc((CAST((5709185) AS DateTime)), '\0'), (CAST(('\0') AS DateTime)), NULL, '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:547: DB::FunctionRounding::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1a71484c in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:21.385809 [ 3331 ] {8dfc25eb-1c9c-406a-ba2d-bd11caa3e78d} executeQuery: Code: 420. DB::Exception: Cannot UPDATE materialized column `materialized_value`. (CANNOT_UPDATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37798) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE alter_update UPDATE materialized_value = 'aaa' WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:483: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x2af1ba16 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:587: DB::MutationsInterpreter::prepare(bool) @ 0x2af17b63 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af17100 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af16b49 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b995 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:21.386305 [ 1014 ] {9c03c67e-0dbb-4d59-9b8b-76feb4810408} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument of function trunc: While processing 5551.1777, trunc(CAST(5709185, 'DateTime'), '\0'), CAST('\0', 'DateTime'), NULL, ''. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:547: DB::FunctionRounding::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1a71484c in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 2024.03.27 21:42:21.387602 [ 3331 ] {8dfc25eb-1c9c-406a-ba2d-bd11caa3e78d} TCPHandler: Code: 420. DB::Exception: Cannot UPDATE materialized column `materialized_value`. (CANNOT_UPDATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:483: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x2af1ba16 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:587: DB::MutationsInterpreter::prepare(bool) @ 0x2af17b63 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af17100 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af16b49 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b995 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:21.393103 [ 1014 ] {e389304d-bd77-4300-9ed3-c334579b7aba} executeQuery: Code: 42. DB::Exception: Number of arguments for function hex doesn't match: passed 2, should be 1: While processing hex(4933579, -8185.4). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT hex(4933579, -8185.40);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:21.394924 [ 1014 ] {e389304d-bd77-4300-9ed3-c334579b7aba} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hex doesn't match: passed 2, should be 1: While processing hex(4933579, -8185.4). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:21.401470 [ 1014 ] {9f9647ea-d6fc-4f87-9656-6eb2028e17c8} executeQuery: Code: 42. DB::Exception: Number of arguments for function match doesn't match: passed 1, should be 2: While processing match(''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT match('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:21.403193 [ 1014 ] {9f9647ea-d6fc-4f87-9656-6eb2028e17c8} TCPHandler: Code: 42. DB::Exception: Number of arguments for function match doesn't match: passed 1, should be 2: While processing match(''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26c75088 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x2909fe2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a0316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 2024.03.27 21:42:21.408411 [ 1014 ] {48c3a7c0-fd57-478b-b057-8528e6706c51} executeQuery: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37614) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mysql()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [161]) @ 0x2b9b04be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:297: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x2b9aec96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:58: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d07481 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:21.410038 [ 1014 ] {48c3a7c0-fd57-478b-b057-8528e6706c51} TCPHandler: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [161]) @ 0x2b9b04be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:297: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x2b9aec96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:58: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d07481 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x290c5543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29e7621f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:22.782957 [ 1014 ] {b6438027-e870-4846-a07d-57b9f3909143} executeQuery: Code: 43. DB::Exception: Illegal type String of first argument (condition) of function if. Must be UInt8.: While processing _CAST(if('string', _CAST('aaa', 'String'), value1), 'String'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37862) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE alter_update UPDATE value1 = 'aaa' WHERE 'string'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:1039: DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d6da436 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1730: DB::ExpressionAnalyzer::appendExpression(DB::ExpressionActionsChain&, std::shared_ptr const&, bool) @ 0x2a041b74 in /usr/bin/clickhouse 25. /build/src/Interpreters/MutationsInterpreter.cpp:988: DB::MutationsInterpreter::prepareMutationStages(std::vector>&, bool) @ 0x2af1d5c7 in /usr/bin/clickhouse 26. /build/src/Interpreters/MutationsInterpreter.cpp:908: DB::MutationsInterpreter::prepare(bool) @ 0x2af1b50c in /usr/bin/clickhouse 27. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af17100 in /usr/bin/clickhouse 28. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af16b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b995 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:42:22.784949 [ 1014 ] {b6438027-e870-4846-a07d-57b9f3909143} TCPHandler: Code: 43. DB::Exception: Illegal type String of first argument (condition) of function if. Must be UInt8.: While processing _CAST(if('string', _CAST('aaa', 'String'), value1), 'String'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:1039: DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d6da436 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x196bad2c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a07845f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1730: DB::ExpressionAnalyzer::appendExpression(DB::ExpressionActionsChain&, std::shared_ptr const&, bool) @ 0x2a041b74 in /usr/bin/clickhouse 25. /build/src/Interpreters/MutationsInterpreter.cpp:988: DB::MutationsInterpreter::prepareMutationStages(std::vector>&, bool) @ 0x2af1d5c7 in /usr/bin/clickhouse 26. /build/src/Interpreters/MutationsInterpreter.cpp:908: DB::MutationsInterpreter::prepare(bool) @ 0x2af1b50c in /usr/bin/clickhouse 27. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af17100 in /usr/bin/clickhouse 28. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af16b49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b995 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 21:42:34.950808 [ 8960 ] {d3c36aa6-beb3-4223-96b1-d41970c3d87f} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:58824). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58824) (comment: 00613_shard_distributed_max_execution_time.sql) (in query: SELECT `number` FROM `system`.`numbers` WHERE `number` < 10), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ab9b948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ab9b1c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x19725e37 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:2039: DB::TCPHandler::sendProgress() @ 0x2c7b261d in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:909: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x2c7b249b in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:442: DB::TCPHandler::runImpl() @ 0x2c7a9591 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:35.051260 [ 8244 ] {645c7e41-37a7-49a3-b781-4098df60468c} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:54606). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54606) (comment: 00613_shard_distributed_max_execution_time.sql) (in query: SELECT `number` FROM `system`.`numbers` WHERE `number` < 10), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ab9b948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:67: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ab9af24 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x19725e37 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1955: DB::TCPHandler::sendData(DB::Block const&) @ 0x2c7b46b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:905: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x2c7b242a in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:442: DB::TCPHandler::runImpl() @ 0x2c7a9591 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:35.130321 [ 8960 ] {d3c36aa6-beb3-4223-96b1-d41970c3d87f} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:58824). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ab9b948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ab9b1c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x19725e37 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1991: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x2c7bb8d5 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2068: DB::TCPHandler::sendLogs() @ 0x2c7b287f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:598: DB::TCPHandler::runImpl() @ 0x2c7aab48 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:42:35.130387 [ 8244 ] {645c7e41-37a7-49a3-b781-4098df60468c} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:54606). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ab9b948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ab9b1c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x19725e37 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1991: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x2c7bb8d5 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2068: DB::TCPHandler::sendLogs() @ 0x2c7b287f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:598: DB::TCPHandler::runImpl() @ 0x2c7aab48 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:42:35.130982 [ 8960 ] {d3c36aa6-beb3-4223-96b1-d41970c3d87f} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:58824). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ab9b948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ab9b1c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x19725e37 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:2039: DB::TCPHandler::sendProgress() @ 0x2c7b261d in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:909: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x2c7b249b in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:442: DB::TCPHandler::runImpl() @ 0x2c7a9591 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:35.131127 [ 8244 ] {645c7e41-37a7-49a3-b781-4098df60468c} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:54606). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ab9b948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:67: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ab9af24 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x19725e37 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1955: DB::TCPHandler::sendData(DB::Block const&) @ 0x2c7b46b4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:905: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x2c7b242a in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:442: DB::TCPHandler::runImpl() @ 0x2c7a9591 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:35.131546 [ 8960 ] {d3c36aa6-beb3-4223-96b1-d41970c3d87f} TCPHandler: Client has gone away. 2024.03.27 21:42:35.131709 [ 8244 ] {645c7e41-37a7-49a3-b781-4098df60468c} TCPHandler: Client has gone away. 2024.03.27 21:42:43.072729 [ 1012 ] {test_00601_test_q1y8h905} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33212) (comment: 00601_kill_running_query.sh) (in query: SELECT sum(ignore(*)) FROM (SELECT number % 1000 AS k, groupArray(number) FROM numbers(50000000) GROUP BY k)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2af4357b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:43.091869 [ 1012 ] {test_00601_test_q1y8h905} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2af4357b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:42:48.510968 [ 2750 ] {7ae36209-4f36-4cc7-95e9-c98cabaef4ea} executeQuery: Code: 141. DB::Exception: Illegal SAMPLE: table doesn't support sampling. (SAMPLING_NOT_SUPPORTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48476) (comment: 00578_merge_table_sampling.sql) (in query: SELECT * FROM merge(currentDatabase(), '^numbers\\d+$') SAMPLE 0.1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x1973971e in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:461: DB::ReadFromMerge::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2b986ab9 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:48.511935 [ 2750 ] {7ae36209-4f36-4cc7-95e9-c98cabaef4ea} TCPHandler: Code: 141. DB::Exception: Illegal SAMPLE: table doesn't support sampling. (SAMPLING_NOT_SUPPORTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x1973971e in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:461: DB::ReadFromMerge::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2b986ab9 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2ced62ec in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cefb6df in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f60b in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:42:54.241088 [ 1013 ] {e8e7f520-39cc-458e-9219-f9944731ee98} executeQuery: Code: 168. DB::Exception: AST is too big. Maximum: 500000. (TOO_BIG_AST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48382) (comment: 00596_limit_on_expanded_ast.sh) (in query: select 1 as a, a+a as b, b+b as c, c+c as d, d+d as e, e+e as f, f+f as g, g+g as h, h+h as i, i+i as j, j+j as k, k+k as l, l+l as m, m+m as n, n+n as o, o+o as p, p+p as q, q+q as r, r+r as s, s+s as t, t+t as u, u+u as v, v+v as w, w+w as x, x+x as y, y+y as z ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a52fed3 in /usr/bin/clickhouse 6. /build/src/Parsers/IAST.cpp:111: DB::IAST::checkSize(unsigned long) const @ 0x2d3caa6a in /usr/bin/clickhouse 7. /build/src/Parsers/IAST.cpp:108: DB::IAST::checkSize(unsigned long) const @ 0x2d3ca9ec in /usr/bin/clickhouse 8. /build/src/Interpreters/QueryNormalizer.cpp:139: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b2ce592 in /usr/bin/clickhouse 9. /build/src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b2ceabe in /usr/bin/clickhouse 10. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x2b2cf6fd in /usr/bin/clickhouse 11. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b2cee07 in /usr/bin/clickhouse 12. /build/src/Interpreters/QueryNormalizer.cpp:256: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x2b2cf90a in /usr/bin/clickhouse 13. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b2cee07 in /usr/bin/clickhouse 14. /build/src/Interpreters/QueryNormalizer.cpp:177: DB::QueryNormalizer::visit(DB::ASTSelectQuery&, std::shared_ptr const&, DB::QueryNormalizer::Data&) @ 0x2b2cf19a in /usr/bin/clickhouse 15. /build/src/Interpreters/QueryNormalizer.cpp:290: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b2ceb7a in /usr/bin/clickhouse 16. /build/src/Interpreters/QueryNormalizer.h:77: DB::QueryNormalizer::visit(std::shared_ptr&) @ 0x2b240480 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:1441: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b23224d in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22ff29 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:42:54.243721 [ 1013 ] {e8e7f520-39cc-458e-9219-f9944731ee98} TCPHandler: Code: 168. DB::Exception: AST is too big. Maximum: 500000. (TOO_BIG_AST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a52fed3 in /usr/bin/clickhouse 6. /build/src/Parsers/IAST.cpp:111: DB::IAST::checkSize(unsigned long) const @ 0x2d3caa6a in /usr/bin/clickhouse 7. /build/src/Parsers/IAST.cpp:108: DB::IAST::checkSize(unsigned long) const @ 0x2d3ca9ec in /usr/bin/clickhouse 8. /build/src/Interpreters/QueryNormalizer.cpp:139: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b2ce592 in /usr/bin/clickhouse 9. /build/src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b2ceabe in /usr/bin/clickhouse 10. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x2b2cf6fd in /usr/bin/clickhouse 11. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b2cee07 in /usr/bin/clickhouse 12. /build/src/Interpreters/QueryNormalizer.cpp:256: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x2b2cf90a in /usr/bin/clickhouse 13. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b2cee07 in /usr/bin/clickhouse 14. /build/src/Interpreters/QueryNormalizer.cpp:177: DB::QueryNormalizer::visit(DB::ASTSelectQuery&, std::shared_ptr const&, DB::QueryNormalizer::Data&) @ 0x2b2cf19a in /usr/bin/clickhouse 15. /build/src/Interpreters/QueryNormalizer.cpp:290: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b2ceb7a in /usr/bin/clickhouse 16. /build/src/Interpreters/QueryNormalizer.h:77: DB::QueryNormalizer::visit(std::shared_ptr&) @ 0x2b240480 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:1441: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b23224d in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22ff29 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 2024.03.27 21:43:00.506145 [ 8947 ] {d58347de-2976-4ff3-ac1a-0ec9fa9bc06e} executeQuery: Code: 42. DB::Exception: Array data type family must have exactly one argument - type of elements: While processing CAST(0, 'Array'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50890) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS Array)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [73]) @ 0x19b4cebe in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeArray.cpp:65: DB::create(std::shared_ptr const&) @ 0x2992bad3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b57d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b53d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2992b4fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x2992b4a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x2994307e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x29942c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x29941a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x29941167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x29940da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x2993ea7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19c84eaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:43:00.507958 [ 8947 ] {d58347de-2976-4ff3-ac1a-0ec9fa9bc06e} TCPHandler: Code: 42. DB::Exception: Array data type family must have exactly one argument - type of elements: While processing CAST(0, 'Array'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [73]) @ 0x19b4cebe in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeArray.cpp:65: DB::create(std::shared_ptr const&) @ 0x2992bad3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b57d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b53d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2992b4fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x2992b4a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x2994307e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x29942c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x29941a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x29941167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x29940da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x2993ea7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19c84eaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:43:01.994115 [ 3331 ] {e70c49ca-0e94-4fa1-83a4-2a6ea286d8e2} executeQuery: Code: 42. DB::Exception: Data type AggregateFunction requires parameters: version(optionally), name of aggregate function and list of data types for arguments: While processing CAST(0, 'AggregateFunction'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50930) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS AggregateFunction)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [134]) @ 0x29929f9e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeAggregateFunction.cpp:175: DB::create(std::shared_ptr const&) @ 0x299280a0 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b57d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b53d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2992b4fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x2992b4a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x2994307e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x29942c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x29941a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x29941167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x29940da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x2993ea7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19c84eaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:43:01.996181 [ 3331 ] {e70c49ca-0e94-4fa1-83a4-2a6ea286d8e2} TCPHandler: Code: 42. DB::Exception: Data type AggregateFunction requires parameters: version(optionally), name of aggregate function and list of data types for arguments: While processing CAST(0, 'AggregateFunction'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [134]) @ 0x29929f9e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeAggregateFunction.cpp:175: DB::create(std::shared_ptr const&) @ 0x299280a0 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b57d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b53d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2992b4fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x2992b4a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x2994307e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x29942c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x29941a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x29941167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x29940da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x2993ea7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19c84eaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:43:03.435120 [ 635 ] {3e972ef2-7191-4388-891a-b05f2a0970c2} executeQuery: Code: 42. DB::Exception: Nullable data type family must have exactly one argument - nested type: While processing CAST(0, 'Nullable'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51006) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS Nullable)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [71]) @ 0x269a50de in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeNullable.cpp:68: DB::create(std::shared_ptr const&) @ 0x29a10333 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b57d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b53d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2992b4fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x2992b4a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x2994307e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x29942c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x29941a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x29941167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x29940da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x2993ea7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19c84eaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:43:03.558534 [ 3331 ] {d63dc52f-f6cb-4c60-85c5-1ba93c34d946} executeQuery: Code: 420. DB::Exception: Updated column `value` affects MATERIALIZED column `key`, which is a key column. Cannot UPDATE it. (CANNOT_UPDATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51020) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE materialized_key UPDATE value = 1 WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:498: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x2af1bf74 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:587: DB::MutationsInterpreter::prepare(bool) @ 0x2af17b63 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af17100 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af16b49 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b995 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:03.558858 [ 635 ] {3e972ef2-7191-4388-891a-b05f2a0970c2} TCPHandler: Code: 42. DB::Exception: Nullable data type family must have exactly one argument - nested type: While processing CAST(0, 'Nullable'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [71]) @ 0x269a50de in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeNullable.cpp:68: DB::create(std::shared_ptr const&) @ 0x29a10333 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b57d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b53d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2992b4fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x2992b4a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x2994307e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x29942c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x29941a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x29941167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x29940da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x2993ea7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19c84eaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:43:03.560514 [ 3331 ] {d63dc52f-f6cb-4c60-85c5-1ba93c34d946} TCPHandler: Code: 420. DB::Exception: Updated column `value` affects MATERIALIZED column `key`, which is a key column. Cannot UPDATE it. (CANNOT_UPDATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:498: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x2af1bf74 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:587: DB::MutationsInterpreter::prepare(bool) @ 0x2af17b63 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af17100 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af16b49 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b995 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:04.958923 [ 3331 ] {be1f9b39-51ad-4433-b2c3-7c62f3b4f0b1} executeQuery: Code: 92. DB::Exception: Tuple cannot be empty: While processing CAST(0, 'Tuple'). (EMPTY_DATA_PASSED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51060) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS Tuple)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [22]) @ 0x1976075e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:339: DB::create(std::shared_ptr const&) @ 0x29a1b07b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b57d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b53d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2992b4fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x2992b4a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x2994307e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x29942c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x29941a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x29941167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x29940da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x2993ea7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19c84eaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:43:04.960893 [ 3331 ] {be1f9b39-51ad-4433-b2c3-7c62f3b4f0b1} TCPHandler: Code: 92. DB::Exception: Tuple cannot be empty: While processing CAST(0, 'Tuple'). (EMPTY_DATA_PASSED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [22]) @ 0x1976075e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:339: DB::create(std::shared_ptr const&) @ 0x29a1b07b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b57d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b53d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2992b4fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x2992b4a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x2994307e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x29942c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x29941a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x29941167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x29940da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x2993ea7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19c84eaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:43:06.376187 [ 3331 ] {7f7bd8f4-15aa-4a7b-93c1-8beeedaa76c7} executeQuery: Code: 42. DB::Exception: FixedString data type family must have exactly one argument - size in bytes: While processing CAST(0, 'FixedString'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49326) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS FixedString)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [76]) @ 0x221c733e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeFixedString.cpp:50: DB::create(std::shared_ptr const&) @ 0x2994a4d3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b57d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b53d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2992b4fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x2992b4a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x2994307e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x29942c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x29941a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x29941167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x29940da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x2993ea7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19c84eaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:43:06.378241 [ 3331 ] {7f7bd8f4-15aa-4a7b-93c1-8beeedaa76c7} TCPHandler: Code: 42. DB::Exception: FixedString data type family must have exactly one argument - size in bytes: While processing CAST(0, 'FixedString'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [76]) @ 0x221c733e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeFixedString.cpp:50: DB::create(std::shared_ptr const&) @ 0x2994a4d3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b57d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b53d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2992b4fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x2992b4a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x2994307e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x29942c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x29941a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x29941167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x29940da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x2993ea7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19c84eaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:43:07.798363 [ 3331 ] {bea718fb-5cf6-4d4e-8511-932059592917} executeQuery: Code: 92. DB::Exception: Enum data type cannot be empty: While processing CAST(0, 'Enum'). (EMPTY_DATA_PASSED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49380) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS Enum)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bb9e81e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeEnum.cpp:289: DB::create(std::shared_ptr const&) @ 0x29937078 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b57d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b53d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2992b4fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x2992b4a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x2994307e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x29942c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x29941a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x29941167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x29940da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x2993ea7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19c84eaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:43:07.800184 [ 3331 ] {bea718fb-5cf6-4d4e-8511-932059592917} TCPHandler: Code: 92. DB::Exception: Enum data type cannot be empty: While processing CAST(0, 'Enum'). (EMPTY_DATA_PASSED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bb9e81e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeEnum.cpp:289: DB::create(std::shared_ptr const&) @ 0x29937078 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b57d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x2992b53d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2992b4fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x2992b4a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x2994307e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x29942c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x29941a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x29941167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x29940da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x2993ea7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19c84eaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a02a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 2024.03.27 21:43:10.520143 [ 8927 ] {0ad18e96-30f4-45f5-b411-0da14f8df51a} executeQuery: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49522) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE toString(dummy)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1327: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x2a03e648 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a043856 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:10.522265 [ 8927 ] {0ad18e96-30f4-45f5-b411-0da14f8df51a} TCPHandler: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1327: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x2a03e648 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a043856 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:11.820148 [ 1014 ] {c092f633-91b7-442f-94f9-89ce65d8d6ae} executeQuery: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49586) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE toString(1)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1327: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x2a03e648 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a043856 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:11.822322 [ 1014 ] {c092f633-91b7-442f-94f9-89ce65d8d6ae} TCPHandler: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1327: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x2a03e648 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a043856 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:13.210662 [ 1014 ] {c557801b-c144-4dc0-ab86-df5cb14d39d4} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49596) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE 256), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x2b7f19a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1973: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a043bc8 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:13.212555 [ 1014 ] {c557801b-c144-4dc0-ab86-df5cb14d39d4} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x2b7f19a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1973: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a043bc8 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:14.503253 [ 6021 ] {696a5086-9c42-4099-8545-891d1bd044c8} executeQuery: Code: 59. DB::Exception: Illegal type Int8 of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49624) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE -1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x2b7f19a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1973: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a043bc8 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:14.505349 [ 6021 ] {696a5086-9c42-4099-8545-891d1bd044c8} TCPHandler: Code: 59. DB::Exception: Illegal type Int8 of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x2b7f19a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1973: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a043bc8 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:15.783254 [ 2750 ] {5a6ead6f-4f9d-4ac9-9747-5dc914b4a812} executeQuery: Code: 59. DB::Exception: Illegal type Nullable(UInt16) of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49954) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE CAST(256 AS Nullable(UInt16))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x2b7f19a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1973: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a043bc8 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:15.785662 [ 2750 ] {5a6ead6f-4f9d-4ac9-9747-5dc914b4a812} TCPHandler: Code: 59. DB::Exception: Illegal type Nullable(UInt16) of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x2b7f19a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1973: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a043bc8 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:44.310615 [ 8947 ] {63634c2b-f194-4dbd-a02d-d5b197bb7c9b} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(plus(1, dummy) :: 2) -> throwIf(plus(1, dummy)) UInt8 : 0': While processing (SELECT throwIf(1 + dummy)) AS _subquery1129. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59840) (comment: 00205_scalar_subqueries.sql) (in query: -- SELECT (SELECT uniqState('')); SELECT ( SELECT throwIf(1 + dummy) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x20e43543 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:105: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20e42038 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 2024.03.27 21:43:44.312111 [ 8947 ] {63634c2b-f194-4dbd-a02d-d5b197bb7c9b} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(plus(1, dummy) :: 2) -> throwIf(plus(1, dummy)) UInt8 : 0': While processing (SELECT throwIf(1 + dummy)) AS _subquery1129. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x20e43543 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:105: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20e42038 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 2024.03.27 21:43:44.460275 [ 8947 ] {ea1f0c59-76d9-45d5-af0b-5d1917b5cbf7} executeQuery: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(UInt8, UInt8) which cannot be Nullable: While processing (SELECT 1, 2 WHERE 0) AS _subquery1131. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59840) (comment: 00205_scalar_subqueries.sql) (in query: -- But tuple and array can't be inside nullable SELECT (SELECT 1, 2 WHERE 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d7df0 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230004 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:43:44.461737 [ 8947 ] {ea1f0c59-76d9-45d5-af0b-5d1917b5cbf7} TCPHandler: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(UInt8, UInt8) which cannot be Nullable: While processing (SELECT 1, 2 WHERE 0) AS _subquery1131. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d7df0 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230004 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:43:44.475149 [ 8947 ] {45c865b1-caaf-48bd-a0e0-fcfd828fa168} executeQuery: Code: 125. DB::Exception: Scalar subquery returned empty result of type Array(UInt8) which cannot be Nullable: While processing (SELECT [1] WHERE 0) AS _subquery1132. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59840) (comment: 00205_scalar_subqueries.sql) (in query: SELECT (SELECT [1] WHERE 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d7df0 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230004 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:43:44.476436 [ 8947 ] {45c865b1-caaf-48bd-a0e0-fcfd828fa168} TCPHandler: Code: 125. DB::Exception: Scalar subquery returned empty result of type Array(UInt8) which cannot be Nullable: While processing (SELECT [1] WHERE 0) AS _subquery1132. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d7df0 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230004 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:43:44.638036 [ 8947 ] {eba7a7bb-5478-4558-bb2a-1d795509602c} executeQuery: Code: 125. DB::Exception: Scalar subquery returned more than one row: While processing (SELECT number FROM numbers(2)) AS _subquery1135. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59840) (comment: 00205_scalar_subqueries.sql) (in query: -- Several rows SELECT (SELECT number FROM numbers(2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x1971c99e in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:220: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d8142 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230004 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:43:44.639534 [ 8947 ] {eba7a7bb-5478-4558-bb2a-1d795509602c} TCPHandler: Code: 125. DB::Exception: Scalar subquery returned more than one row: While processing (SELECT number FROM numbers(2)) AS _subquery1135. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x1971c99e in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:220: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d8142 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b2d6cc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b243040 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b243221 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2432c6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b24322e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b242fca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b242ea5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b233055 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230004 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:43:59.450308 [ 8947 ] {676dcb0e-e1fd-4aee-b05b-05cbe84f1e0c} executeQuery: Code: 186. DB::Exception: Unsupported collation locale: qq. (UNSUPPORTED_COLLATION_LOCALE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57116) (comment: 00105_shard_collations.sql) (in query: --- Trash locales SELECT '' as x ORDER BY x COLLATE 'qq';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x2b466527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x2ac183e6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x2ac181a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x2ac17ea7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x2ac17d37 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x2ac17886 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1092: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x2ad9c5bf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2838: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x2ada39a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1786: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad9a747 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:59.451427 [ 8947 ] {676dcb0e-e1fd-4aee-b05b-05cbe84f1e0c} TCPHandler: Code: 186. DB::Exception: Unsupported collation locale: qq. (UNSUPPORTED_COLLATION_LOCALE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x2b466527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x2ac183e6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x2ac181a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x2ac17ea7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x2ac17d37 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x2ac17886 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1092: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x2ad9c5bf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2838: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x2ada39a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1786: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad9a747 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:59.459274 [ 8947 ] {c2a3652c-7059-467b-a644-ab0fd3d8ac90} executeQuery: Code: 186. DB::Exception: Unsupported collation locale: qwe. (UNSUPPORTED_COLLATION_LOCALE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57116) (comment: 00105_shard_collations.sql) (in query: SELECT '' as x ORDER BY x COLLATE 'qwe';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x2b466527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x2ac183e6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x2ac181a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x2ac17ea7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x2ac17d37 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x2ac17886 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1092: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x2ad9c5bf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2838: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x2ada39a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1786: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad9a747 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:59.460194 [ 8947 ] {c2a3652c-7059-467b-a644-ab0fd3d8ac90} TCPHandler: Code: 186. DB::Exception: Unsupported collation locale: qwe. (UNSUPPORTED_COLLATION_LOCALE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x2b466527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x2ac183e6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x2ac181a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x2ac17ea7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x2ac17d37 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x2ac17886 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1092: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x2ad9c5bf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2838: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x2ada39a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1786: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad9a747 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:59.467071 [ 8947 ] {0a414b04-a1ed-4070-9e57-b95540345a96} executeQuery: Code: 186. DB::Exception: Unsupported collation locale: some_non_existing_locale. (UNSUPPORTED_COLLATION_LOCALE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57116) (comment: 00105_shard_collations.sql) (in query: SELECT '' as x ORDER BY x COLLATE 'some_non_existing_locale';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x2b466527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x2ac183e6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x2ac181a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x2ac17ea7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x2ac17d37 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x2ac17886 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1092: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x2ad9c5bf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2838: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x2ada39a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1786: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad9a747 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:59.468000 [ 8947 ] {0a414b04-a1ed-4070-9e57-b95540345a96} TCPHandler: Code: 186. DB::Exception: Unsupported collation locale: some_non_existing_locale. (UNSUPPORTED_COLLATION_LOCALE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x2b466527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x2ac183e6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x2ac181a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x2ac17ea7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x2ac17d37 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x2ac17886 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1092: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x2ad9c5bf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2838: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x2ada39a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1786: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad9a747 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:59.474775 [ 8947 ] {bd22cb92-e481-4379-ac70-f0b088a657de} executeQuery: Code: 186. DB::Exception: Unsupported collation locale: ру. (UNSUPPORTED_COLLATION_LOCALE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57116) (comment: 00105_shard_collations.sql) (in query: SELECT '' as x ORDER BY x COLLATE 'ру';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x2b466527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x2ac183e6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x2ac181a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x2ac17ea7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x2ac17d37 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x2ac17886 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1092: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x2ad9c5bf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2838: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x2ada39a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1786: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad9a747 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:43:59.475752 [ 8947 ] {bd22cb92-e481-4379-ac70-f0b088a657de} TCPHandler: Code: 186. DB::Exception: Unsupported collation locale: ру. (UNSUPPORTED_COLLATION_LOCALE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x2b466527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x2ac183e6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x2ac181a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x2ac17ea7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x2ac17d37 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x2ac17886 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1092: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x2ad9c5bf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2838: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x2ada39a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1786: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad9a747 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:44:12.153951 [ 8929 ] {71541ae0-5a0f-4abe-9631-080794cc26f6} executeQuery: Code: 319. DB::Exception: Unknown status, client must retry. Reason: Code: 159. DB::Exception: Timeout while waiting for quorum. (TIMEOUT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_STATUS_OF_INSERT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55750) (comment: 00732_quorum_insert_lost_part_and_alive_part_zookeeper_long.sql) (in query: INSERT INTO quorum2 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/ZooKeeperRetries.h:215: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x293b5f11 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x293b4a24 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&&)::'lambda'()&&) @ 0x2c551b45 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:45: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&&) @ 0x2c52fb01 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1114: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c52f456 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c51f7fa in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c52d3b8 in /usr/bin/clickhouse 13. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:44:12.155454 [ 8929 ] {71541ae0-5a0f-4abe-9631-080794cc26f6} TCPHandler: Code: 319. DB::Exception: Unknown status, client must retry. Reason: Code: 159. DB::Exception: Timeout while waiting for quorum. (TIMEOUT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_STATUS_OF_INSERT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/ZooKeeperRetries.h:215: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x293b5f11 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x293b4a24 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&&)::'lambda'()&&) @ 0x2c551b45 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:45: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&&) @ 0x2c52fb01 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1114: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c52f456 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c51f7fa in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c52d3b8 in /usr/bin/clickhouse 13. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 21:44:20.634963 [ 3331 ] {d9e0e001-2a41-49d8-8e39-9c278749fd2a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.27 21:44:20.635352 [ 3331 ] {d9e0e001-2a41-49d8-8e39-9c278749fd2a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.27 21:44:20.635667 [ 3331 ] {d9e0e001-2a41-49d8-8e39-9c278749fd2a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.27 21:44:20.636006 [ 3331 ] {d9e0e001-2a41-49d8-8e39-9c278749fd2a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.27 21:44:20.636357 [ 3331 ] {d9e0e001-2a41-49d8-8e39-9c278749fd2a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.27 21:44:20.636727 [ 3331 ] {d9e0e001-2a41-49d8-8e39-9c278749fd2a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.27 21:44:20.637145 [ 3331 ] {d9e0e001-2a41-49d8-8e39-9c278749fd2a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.27 21:44:20.637497 [ 3331 ] {d9e0e001-2a41-49d8-8e39-9c278749fd2a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.27 21:44:20.637836 [ 3331 ] {d9e0e001-2a41-49d8-8e39-9c278749fd2a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.27 21:44:20.638168 [ 3331 ] {d9e0e001-2a41-49d8-8e39-9c278749fd2a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.27 21:44:35.742326 [ 8927 ] {746e7dc8-bbd4-4a60-a87f-681c23e8c0d8} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE table: There are no parts inside partition. Cannot select parts for optimization. (CANNOT_ASSIGN_OPTIMIZE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37546) (comment: 00029_test_zookeeper_optimize_exception.sh) (in query: OPTIMIZE TABLE test_optimize_exception PARTITION 201710), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1451: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c57d21c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ad79265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:44:35.744026 [ 8927 ] {746e7dc8-bbd4-4a60-a87f-681c23e8c0d8} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE table: There are no parts inside partition. Cannot select parts for optimization. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1451: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c57d21c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ad79265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:44:37.144889 [ 8927 ] {b909840e-a264-4d06-9753-388a7eb1d94b} executeQuery: Code: 388. DB::Exception: Cannot select parts for optimization: there are no parts in partition 201710. (CANNOT_ASSIGN_OPTIMIZE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37552) (comment: 00029_test_zookeeper_optimize_exception.sh) (in query: OPTIMIZE TABLE test_optimize_exception_replicated PARTITION 201710), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:4852: auto DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_1::operator()(FormatStringHelperImpl::type>, String const&) const @ 0x2ba8c1f9 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:4879: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_27::operator()(String const&) const @ 0x2ba3465f in /usr/bin/clickhouse 8. /build/src/Storages/StorageReplicatedMergeTree.cpp:4975: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2ba3427f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ad79265 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:44:37.147175 [ 8927 ] {b909840e-a264-4d06-9753-388a7eb1d94b} TCPHandler: Code: 388. DB::Exception: Cannot select parts for optimization: there are no parts in partition 201710. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:4852: auto DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_1::operator()(FormatStringHelperImpl::type>, String const&) const @ 0x2ba8c1f9 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:4879: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_27::operator()(String const&) const @ 0x2ba3465f in /usr/bin/clickhouse 8. /build/src/Storages/StorageReplicatedMergeTree.cpp:4975: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2ba3427f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ad79265 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:45:02.751003 [ 8927 ] {4e7164e6-5c96-4ba8-a3f9-efe4458e777b::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.27 21:45:02.751654 [ 8927 ] {4e7164e6-5c96-4ba8-a3f9-efe4458e777b::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.27 21:45:02.752225 [ 8927 ] {4e7164e6-5c96-4ba8-a3f9-efe4458e777b::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.27 21:45:02.752792 [ 8927 ] {4e7164e6-5c96-4ba8-a3f9-efe4458e777b::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.27 21:45:02.753421 [ 8927 ] {4e7164e6-5c96-4ba8-a3f9-efe4458e777b::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.27 21:45:02.754021 [ 8927 ] {4e7164e6-5c96-4ba8-a3f9-efe4458e777b::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.27 21:45:02.754629 [ 8927 ] {4e7164e6-5c96-4ba8-a3f9-efe4458e777b::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.27 21:45:02.755321 [ 8927 ] {4e7164e6-5c96-4ba8-a3f9-efe4458e777b::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.27 21:45:02.755904 [ 8927 ] {4e7164e6-5c96-4ba8-a3f9-efe4458e777b::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.27 21:45:02.756495 [ 8927 ] {4e7164e6-5c96-4ba8-a3f9-efe4458e777b::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.27 21:45:44.934986 [ 8927 ] {c169504b-be7a-44a1-8c56-15f5cba75112::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.27 21:45:44.935744 [ 8927 ] {c169504b-be7a-44a1-8c56-15f5cba75112::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.27 21:45:44.936376 [ 8927 ] {c169504b-be7a-44a1-8c56-15f5cba75112::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.27 21:45:44.937074 [ 8927 ] {c169504b-be7a-44a1-8c56-15f5cba75112::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.27 21:45:44.937696 [ 8927 ] {c169504b-be7a-44a1-8c56-15f5cba75112::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.27 21:45:44.938395 [ 8927 ] {c169504b-be7a-44a1-8c56-15f5cba75112::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.27 21:45:44.939316 [ 8927 ] {c169504b-be7a-44a1-8c56-15f5cba75112::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.27 21:45:44.940407 [ 8927 ] {c169504b-be7a-44a1-8c56-15f5cba75112::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.27 21:45:44.941436 [ 8927 ] {c169504b-be7a-44a1-8c56-15f5cba75112::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.27 21:45:44.942114 [ 8927 ] {c169504b-be7a-44a1-8c56-15f5cba75112::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.27 21:46:27.148657 [ 8927 ] {2b6ff3b8-9021-4029-b91c-01abee349f77::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.27 21:46:27.149305 [ 8927 ] {2b6ff3b8-9021-4029-b91c-01abee349f77::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.27 21:46:27.149889 [ 8927 ] {2b6ff3b8-9021-4029-b91c-01abee349f77::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.27 21:46:27.150484 [ 8927 ] {2b6ff3b8-9021-4029-b91c-01abee349f77::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.27 21:46:27.151199 [ 8927 ] {2b6ff3b8-9021-4029-b91c-01abee349f77::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.27 21:46:27.151798 [ 8927 ] {2b6ff3b8-9021-4029-b91c-01abee349f77::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.27 21:46:27.152394 [ 8927 ] {2b6ff3b8-9021-4029-b91c-01abee349f77::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.27 21:46:27.153045 [ 8927 ] {2b6ff3b8-9021-4029-b91c-01abee349f77::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.27 21:46:27.153721 [ 8927 ] {2b6ff3b8-9021-4029-b91c-01abee349f77::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.27 21:46:27.154354 [ 8927 ] {2b6ff3b8-9021-4029-b91c-01abee349f77::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.27 21:47:09.297167 [ 8927 ] {86e7796b-ea50-4905-ac22-3c98d34d93df::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.27 21:47:09.297511 [ 8927 ] {86e7796b-ea50-4905-ac22-3c98d34d93df::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.27 21:47:09.297845 [ 8927 ] {86e7796b-ea50-4905-ac22-3c98d34d93df::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.27 21:47:09.298177 [ 8927 ] {86e7796b-ea50-4905-ac22-3c98d34d93df::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.27 21:47:09.298534 [ 8927 ] {86e7796b-ea50-4905-ac22-3c98d34d93df::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.27 21:47:09.298871 [ 8927 ] {86e7796b-ea50-4905-ac22-3c98d34d93df::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.27 21:47:09.299273 [ 8927 ] {86e7796b-ea50-4905-ac22-3c98d34d93df::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.27 21:47:09.299628 [ 8927 ] {86e7796b-ea50-4905-ac22-3c98d34d93df::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.27 21:47:09.299981 [ 8927 ] {86e7796b-ea50-4905-ac22-3c98d34d93df::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.27 21:47:09.300554 [ 8927 ] {86e7796b-ea50-4905-ac22-3c98d34d93df::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.27 21:47:51.560295 [ 8927 ] {310f8191-82b6-4f02-b336-3999c89f2879::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.27 21:47:51.560833 [ 8927 ] {310f8191-82b6-4f02-b336-3999c89f2879::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.27 21:47:51.561413 [ 8927 ] {310f8191-82b6-4f02-b336-3999c89f2879::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.27 21:47:51.561886 [ 8927 ] {310f8191-82b6-4f02-b336-3999c89f2879::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.27 21:47:51.562409 [ 8927 ] {310f8191-82b6-4f02-b336-3999c89f2879::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.27 21:47:51.562809 [ 8927 ] {310f8191-82b6-4f02-b336-3999c89f2879::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.27 21:47:51.563194 [ 8927 ] {310f8191-82b6-4f02-b336-3999c89f2879::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.27 21:47:51.563614 [ 8927 ] {310f8191-82b6-4f02-b336-3999c89f2879::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.27 21:47:51.564092 [ 8927 ] {310f8191-82b6-4f02-b336-3999c89f2879::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.27 21:47:51.564643 [ 8927 ] {310f8191-82b6-4f02-b336-3999c89f2879::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.27 21:48:34.102932 [ 8927 ] {fb58fd6a-4bac-453a-be02-197cb53a5a00::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.27 21:48:34.103600 [ 8927 ] {fb58fd6a-4bac-453a-be02-197cb53a5a00::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.27 21:48:34.104366 [ 8927 ] {fb58fd6a-4bac-453a-be02-197cb53a5a00::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.27 21:48:34.105012 [ 8927 ] {fb58fd6a-4bac-453a-be02-197cb53a5a00::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.27 21:48:34.105618 [ 8927 ] {fb58fd6a-4bac-453a-be02-197cb53a5a00::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.27 21:48:34.106239 [ 8927 ] {fb58fd6a-4bac-453a-be02-197cb53a5a00::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.27 21:48:34.106915 [ 8927 ] {fb58fd6a-4bac-453a-be02-197cb53a5a00::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.27 21:48:34.107568 [ 8927 ] {fb58fd6a-4bac-453a-be02-197cb53a5a00::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.27 21:48:34.108224 [ 8927 ] {fb58fd6a-4bac-453a-be02-197cb53a5a00::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.27 21:48:34.108941 [ 8927 ] {fb58fd6a-4bac-453a-be02-197cb53a5a00::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.27 21:49:16.465189 [ 8927 ] {4371d522-4bd7-4320-8f4f-f477e97a586a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.27 21:49:16.465832 [ 8927 ] {4371d522-4bd7-4320-8f4f-f477e97a586a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.27 21:49:16.466396 [ 8927 ] {4371d522-4bd7-4320-8f4f-f477e97a586a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.27 21:49:16.467063 [ 8927 ] {4371d522-4bd7-4320-8f4f-f477e97a586a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.27 21:49:16.467706 [ 8927 ] {4371d522-4bd7-4320-8f4f-f477e97a586a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.27 21:49:16.468329 [ 8927 ] {4371d522-4bd7-4320-8f4f-f477e97a586a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.27 21:49:16.468927 [ 8927 ] {4371d522-4bd7-4320-8f4f-f477e97a586a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.27 21:49:16.469703 [ 8927 ] {4371d522-4bd7-4320-8f4f-f477e97a586a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.27 21:49:16.470573 [ 8927 ] {4371d522-4bd7-4320-8f4f-f477e97a586a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.27 21:49:16.471491 [ 8927 ] {4371d522-4bd7-4320-8f4f-f477e97a586a::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.27 21:49:58.714483 [ 8927 ] {a826bd75-0462-4025-8c20-6b66036c5616::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.27 21:49:58.715217 [ 8927 ] {a826bd75-0462-4025-8c20-6b66036c5616::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.27 21:49:58.715879 [ 8927 ] {a826bd75-0462-4025-8c20-6b66036c5616::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.27 21:49:58.716409 [ 8927 ] {a826bd75-0462-4025-8c20-6b66036c5616::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.27 21:49:58.717172 [ 8927 ] {a826bd75-0462-4025-8c20-6b66036c5616::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.27 21:49:58.717840 [ 8927 ] {a826bd75-0462-4025-8c20-6b66036c5616::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.27 21:49:58.718494 [ 8927 ] {a826bd75-0462-4025-8c20-6b66036c5616::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.27 21:49:58.719144 [ 8927 ] {a826bd75-0462-4025-8c20-6b66036c5616::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.27 21:49:58.719736 [ 8927 ] {a826bd75-0462-4025-8c20-6b66036c5616::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.27 21:49:58.720366 [ 8927 ] {a826bd75-0462-4025-8c20-6b66036c5616::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.27 21:50:40.799536 [ 8927 ] {a54df8d0-dd04-462e-888c-fdf33e7df454::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.27 21:50:40.799962 [ 8927 ] {a54df8d0-dd04-462e-888c-fdf33e7df454::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.27 21:50:40.800345 [ 8927 ] {a54df8d0-dd04-462e-888c-fdf33e7df454::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.27 21:50:40.800787 [ 8927 ] {a54df8d0-dd04-462e-888c-fdf33e7df454::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.27 21:50:40.801172 [ 8927 ] {a54df8d0-dd04-462e-888c-fdf33e7df454::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.27 21:50:40.801517 [ 8927 ] {a54df8d0-dd04-462e-888c-fdf33e7df454::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.27 21:50:40.801901 [ 8927 ] {a54df8d0-dd04-462e-888c-fdf33e7df454::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.27 21:50:40.802315 [ 8927 ] {a54df8d0-dd04-462e-888c-fdf33e7df454::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.27 21:50:40.802762 [ 8927 ] {a54df8d0-dd04-462e-888c-fdf33e7df454::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.27 21:50:40.803252 [ 8927 ] {a54df8d0-dd04-462e-888c-fdf33e7df454::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.27 21:51:22.932973 [ 8927 ] {377049fb-5c6b-4493-abee-6ac327fc5e17::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.27 21:51:22.933722 [ 8927 ] {377049fb-5c6b-4493-abee-6ac327fc5e17::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.27 21:51:22.934303 [ 8927 ] {377049fb-5c6b-4493-abee-6ac327fc5e17::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.27 21:51:22.934992 [ 8927 ] {377049fb-5c6b-4493-abee-6ac327fc5e17::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.27 21:51:22.935787 [ 8927 ] {377049fb-5c6b-4493-abee-6ac327fc5e17::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.27 21:51:22.936678 [ 8927 ] {377049fb-5c6b-4493-abee-6ac327fc5e17::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.27 21:51:22.937425 [ 8927 ] {377049fb-5c6b-4493-abee-6ac327fc5e17::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.27 21:51:22.938175 [ 8927 ] {377049fb-5c6b-4493-abee-6ac327fc5e17::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.27 21:51:22.938902 [ 8927 ] {377049fb-5c6b-4493-abee-6ac327fc5e17::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.27 21:51:22.939683 [ 8927 ] {377049fb-5c6b-4493-abee-6ac327fc5e17::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.27 21:52:05.231108 [ 8927 ] {dbc4ec32-775f-460b-8e2e-83a92ab0a353::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.27 21:52:05.231693 [ 8927 ] {dbc4ec32-775f-460b-8e2e-83a92ab0a353::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.27 21:52:05.232252 [ 8927 ] {dbc4ec32-775f-460b-8e2e-83a92ab0a353::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.27 21:52:05.232849 [ 8927 ] {dbc4ec32-775f-460b-8e2e-83a92ab0a353::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.27 21:52:05.233447 [ 8927 ] {dbc4ec32-775f-460b-8e2e-83a92ab0a353::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.27 21:52:05.234085 [ 8927 ] {dbc4ec32-775f-460b-8e2e-83a92ab0a353::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.27 21:52:05.234706 [ 8927 ] {dbc4ec32-775f-460b-8e2e-83a92ab0a353::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.27 21:52:05.235358 [ 8927 ] {dbc4ec32-775f-460b-8e2e-83a92ab0a353::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.27 21:52:05.235988 [ 8927 ] {dbc4ec32-775f-460b-8e2e-83a92ab0a353::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.27 21:52:05.236666 [ 8927 ] {dbc4ec32-775f-460b-8e2e-83a92ab0a353::20240327_20240327_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.27 21:52:38.408082 [ 933 ] {} PushingToViews: Cannot push to the storage, ignoring the error: Code: 60. DB::Exception: Table test_ifgvcv9v.receiver_02572 doesn't exist: while pushing to view test_ifgvcv9v.push_to_logs_proxy_mv_02572 (97d2936c-1648-4bef-a878-f923e4733877). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Storages/Distributed/DistributedSink.cpp:704: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x2bf46ee6 in /usr/bin/clickhouse 11. /build/src/Storages/Distributed/DistributedSink.cpp:677: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x2bf43be7 in /usr/bin/clickhouse 12. /build/src/Storages/Distributed/DistributedSink.cpp:181: DB::DistributedSink::writeAsync(DB::Block const&) @ 0x2bf435ba in /usr/bin/clickhouse 13. /build/src/Storages/Distributed/DistributedSink.cpp:153: DB::DistributedSink::consume(DB::Chunk) @ 0x2bf4285e in /usr/bin/clickhouse 14. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 29. /build/src/Interpreters/SystemLog.cpp:439: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x2b157e9e in /usr/bin/clickhouse 30. /build/src/Interpreters/SystemLog.cpp:379: DB::SystemLog::savingThreadFunction() @ 0x2b156bc9 in /usr/bin/clickhouse 31. /build/src/Common/SystemLogBase.cpp:65: DB::ISystemLog::startup()::$_0::operator()() const @ 0x222c4ed9 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:52:39.600329 [ 933 ] {} PushingToViews: Cannot push to the storage, ignoring the error: Code: 60. DB::Exception: Table test_ifgvcv9v.receiver_02572 doesn't exist: while pushing to view test_ifgvcv9v.push_to_logs_proxy_mv_02572 (97d2936c-1648-4bef-a878-f923e4733877). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Storages/Distributed/DistributedSink.cpp:704: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x2bf46ee6 in /usr/bin/clickhouse 11. /build/src/Storages/Distributed/DistributedSink.cpp:677: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x2bf43be7 in /usr/bin/clickhouse 12. /build/src/Storages/Distributed/DistributedSink.cpp:181: DB::DistributedSink::writeAsync(DB::Block const&) @ 0x2bf435ba in /usr/bin/clickhouse 13. /build/src/Storages/Distributed/DistributedSink.cpp:153: DB::DistributedSink::consume(DB::Chunk) @ 0x2bf4285e in /usr/bin/clickhouse 14. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 29. /build/src/Interpreters/SystemLog.cpp:439: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x2b157e9e in /usr/bin/clickhouse 30. /build/src/Interpreters/SystemLog.cpp:379: DB::SystemLog::savingThreadFunction() @ 0x2b156bc9 in /usr/bin/clickhouse 31. /build/src/Common/SystemLogBase.cpp:65: DB::ISystemLog::startup()::$_0::operator()() const @ 0x222c4ed9 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:52:59.303890 [ 18229 ] {9eba5d53-8113-486d-84ea-5b533053960f} executeQuery: Code: 60. DB::Exception: Table test_ujlrkevh.table_merge_tree_02561 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48474) (comment: 02561_temporary_table_sessions.sh) (in query: SELECT * FROM table_merge_tree_02561), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:52:59.305112 [ 18229 ] {9eba5d53-8113-486d-84ea-5b533053960f} DynamicQueryHandler: Code: 60. DB::Exception: Table test_ujlrkevh.table_merge_tree_02561 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:54:20.727056 [ 8927 ] {0befb80b-c35b-453a-91c1-e76c6259aa64} InterpreterSelectQuery: Joins are not supported with parallel replicas. Query will be executed without using them. 2024.03.27 21:56:58.443288 [ 8927 ] {test_gka0z3cv-5436} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60764) (comment: 02503_insert_storage_snapshot.sh) (in query: INSERT INTO t_insert_storage_snapshot SELECT sleep(1) FROM numbers(1000) SETTINGS max_block_size = 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2af4357b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c82e207 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c82e0a1 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c82e055 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c82e039 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c82df9d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c82dea2 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c82de15 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&) @ 0x2c82ddf5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c82ddd5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c82dda0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:56:58.445587 [ 8927 ] {test_gka0z3cv-5436} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2af4357b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c82e207 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c82e0a1 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c82e055 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c82e039 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c82df9d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c82dea2 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c82de15 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&) @ 0x2c82ddf5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c82ddd5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c82dda0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 27. ? @ 0x7f2098f50609 in ? 28. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:57:07.626662 [ 8927 ] {024baa94-e9ba-4bfb-8f88-5bb9f9b9b729} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37014) (comment: 02494_query_cache_exception_handling.sql) (in query: -- If an exception is thrown during query execution, no entry must be created in the query cache SELECT throwIf(1) SETTINGS use_query_cache = true;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x20e43226 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20e41fdd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 2024.03.27 21:57:07.627912 [ 8927 ] {024baa94-e9ba-4bfb-8f88-5bb9f9b9b729} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x20e43226 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20e41fdd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b89ad in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a00cc31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a00c04d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cc5eba4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 2024.03.27 21:57:18.382209 [ 8927 ] {4cfd9e31-3c0e-4509-a7ec-996d1a259a68} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35224) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:57:18.383337 [ 8927 ] {4cfd9e31-3c0e-4509-a7ec-996d1a259a68} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:57:19.123599 [ 8927 ] {578b7da4-5ad0-49f5-a261-da2bc44cb26b} executeQuery: Code: 107. DB::Exception: Cannot open CapnProto schema, file /var/lib/clickhouse/format_schemas/nonexist.capnp doesn't exists: While executing File. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35236) (in query: select * from file('data.capnp', 'CapnProto', 'val1 char') settings format_schema='nonexist:Message'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Formats/CapnProtoUtils.cpp:61: DB::CapnProtoSchemaParser::getMessageSchema(DB::FormatSchemaInfo const&) @ 0x2c98152f in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:44: DB::CapnProtoRowInputFormat::CapnProtoRowInputFormat(DB::ReadBuffer&, DB::Block, DB::RowInputFormatParams, DB::FormatSchemaInfo const&, DB::FormatSettings const&) @ 0x2c979c7e in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::CapnProtoRowInputFormat* std::construct_at[abi:v15000](DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2c980381 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2c9800e1 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2c97fdcd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams, DB::FormatSchemaInfo, DB::FormatSettings const&, void>(std::allocator const&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2c97fc20 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2c97fba6 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:332: DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0::operator()(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams, DB::FormatSettings const&) const @ 0x2c97cbc0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x2c97cab9 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x2c97c9f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x2c97c995 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::__call_impl (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x2c97c93d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) const @ 0x2c7e0316 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) const @ 0x2c7de6d5 in /usr/bin/clickhouse 20. /build/src/Formats/FormatFactory.cpp:312: DB::FormatFactory::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&) const @ 0x2c7d5b37 in /usr/bin/clickhouse 21. /build/src/Formats/FormatFactory.cpp:280: DB::FormatFactory::getInput(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&) const @ 0x2c7d5459 in /usr/bin/clickhouse 22. /build/src/Interpreters/Context.cpp:3287: DB::Context::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, unsigned long, std::optional const&) const @ 0x29e85bb2 in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:614: DB::StorageFileSource::generate() @ 0x2b8f84fd in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 21:57:19.125346 [ 8927 ] {578b7da4-5ad0-49f5-a261-da2bc44cb26b} TCPHandler: Code: 107. DB::Exception: Cannot open CapnProto schema, file /var/lib/clickhouse/format_schemas/nonexist.capnp doesn't exists: While executing File. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Formats/CapnProtoUtils.cpp:61: DB::CapnProtoSchemaParser::getMessageSchema(DB::FormatSchemaInfo const&) @ 0x2c98152f in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:44: DB::CapnProtoRowInputFormat::CapnProtoRowInputFormat(DB::ReadBuffer&, DB::Block, DB::RowInputFormatParams, DB::FormatSchemaInfo const&, DB::FormatSettings const&) @ 0x2c979c7e in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::CapnProtoRowInputFormat* std::construct_at[abi:v15000](DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2c980381 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2c9800e1 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2c97fdcd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams, DB::FormatSchemaInfo, DB::FormatSettings const&, void>(std::allocator const&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2c97fc20 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2c97fba6 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:332: DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0::operator()(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams, DB::FormatSettings const&) const @ 0x2c97cbc0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x2c97cab9 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x2c97c9f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x2c97c995 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::__call_impl (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x2c97c93d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) const @ 0x2c7e0316 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) const @ 0x2c7de6d5 in /usr/bin/clickhouse 20. /build/src/Formats/FormatFactory.cpp:312: DB::FormatFactory::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&) const @ 0x2c7d5b37 in /usr/bin/clickhouse 21. /build/src/Formats/FormatFactory.cpp:280: DB::FormatFactory::getInput(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&) const @ 0x2c7d5459 in /usr/bin/clickhouse 22. /build/src/Interpreters/Context.cpp:3287: DB::Context::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, unsigned long, std::optional const&) const @ 0x29e85bb2 in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:614: DB::StorageFileSource::generate() @ 0x2b8f84fd in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 21:57:31.809615 [ 8927 ] {98dc596f-56b1-4eef-8627-b87924d43859} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58326) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:57:31.810415 [ 8927 ] {98dc596f-56b1-4eef-8627-b87924d43859} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:57:48.802693 [ 8927 ] {c39f333b-192d-4e8f-91a6-ce5ca6d41816} executeQuery: Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop. (INFINITE_LOOP) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42448) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM test;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c45e91e in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x2bc2b384 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d35 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.h:143: DB::IStorage::canMoveConditionsToPrewhere() const @ 0x28cea416 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:619: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92cea in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:57:48.804122 [ 8927 ] {c39f333b-192d-4e8f-91a6-ce5ca6d41816} TCPHandler: Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop. (INFINITE_LOOP), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c45e91e in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x2bc2b384 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d35 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.h:143: DB::IStorage::canMoveConditionsToPrewhere() const @ 0x28cea416 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:619: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92cea in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:57:48.980666 [ 8927 ] {c5c259da-3141-4b7a-b15c-58f604b9ae8f} executeQuery: Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop.: While executing Tables. (INFINITE_LOOP) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42448) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM system.tables WHERE table = 'test' AND database = currentDatabase() FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c45e91e in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x2bc2b384 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:1044: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35a8d in /usr/bin/clickhouse 8. /build/src/Storages/System/StorageSystemTables.cpp:471: DB::TablesBlockSource::generate() @ 0x28da9936 in /usr/bin/clickhouse 9. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:57:48.984145 [ 8927 ] {c5c259da-3141-4b7a-b15c-58f604b9ae8f} TCPHandler: Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop.: While executing Tables. (INFINITE_LOOP), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c45e91e in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x2bc2b384 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:1044: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35a8d in /usr/bin/clickhouse 8. /build/src/Storages/System/StorageSystemTables.cpp:471: DB::TablesBlockSource::generate() @ 0x28da9936 in /usr/bin/clickhouse 9. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c858035 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c858019 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c857f7d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c857e82 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c857df5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c857dd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c857db5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c857d80 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:57:49.089795 [ 8927 ] {8df51d57-9b9f-43a1-acaf-80b26469da77} virtual void DB::StorageBuffer::flush(): Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop. (INFINITE_LOOP), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c45e91e in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x2bc2b384 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:869: DB::StorageBuffer::flushBuffer(DB::StorageBuffer::Buffer&, bool, bool) @ 0x2bc31b41 in /usr/bin/clickhouse 8. /build/src/Storages/StorageBuffer.cpp:812: DB::StorageBuffer::flushAllBuffers(bool) @ 0x2bc30cfe in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:735: DB::StorageBuffer::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2bc30c38 in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:694: DB::StorageBuffer::flush() @ 0x2bc308b5 in /usr/bin/clickhouse 11. /build/src/Storages/IStorage.h:543: DB::IStorage::flushAndShutdown() @ 0x29b7b3bd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterDropQuery.cpp:241: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2abf0dce in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2abeef14 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2abee78e in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 24. ? @ 0x7f2098f50609 in ? 25. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 21:57:49.560957 [ 8927 ] {3a31f646-0009-463b-91cf-8ee2ba245891} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1e53f5a000, frame address: 0x7f1e54359fb0, stack size: 4194384, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42448) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM test1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x221ce264 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x221ce01c in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:280: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7c1bd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:799: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80e36 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x2bc2b33d in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d35 in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 2024.03.27 21:57:49.562165 [ 8927 ] {3a31f646-0009-463b-91cf-8ee2ba245891} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1e53f5a000, frame address: 0x7f1e54359fb0, stack size: 4194384, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x221ce264 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x221ce01c in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:280: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7c1bd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:799: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80e36 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x2bc2b33d in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d35 in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 2024.03.27 21:57:49.886820 [ 8927 ] {aa7527f7-b9f7-4892-b822-dc81fab5c4a6} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1e53f5a000, frame address: 0x7f1e54359fb0, stack size: 4194384, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42448) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM test2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x221ce264 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x221ce01c in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:280: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7c1bd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:799: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80e36 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x2bc2b33d in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d35 in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 2024.03.27 21:57:49.887910 [ 8927 ] {aa7527f7-b9f7-4892-b822-dc81fab5c4a6} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1e53f5a000, frame address: 0x7f1e54359fb0, stack size: 4194384, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x221ce264 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x221ce01c in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:280: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7c1bd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:799: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80e36 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x2bc2b33d in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d35 in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bc30d68 in /usr/bin/clickhouse 2024.03.27 21:57:50.246549 [ 8927 ] {026e6d3c-9b96-4ed5-94e8-d88c4f613510} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1ea558c000, frame address: 0x7f1ea598bf90, stack size: 4194416, maximum stack size: 8388608: While executing Tables. (TOO_DEEP_RECURSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42448) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM system.tables WHERE table IN ('test1', 'test2') AND database = currentDatabase();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x221ce264 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x221ce01c in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:280: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7c1bd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:799: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80e36 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x2bc2b33d in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:1044: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35a8d in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 2024.03.27 21:57:50.250209 [ 8927 ] {026e6d3c-9b96-4ed5-94e8-d88c4f613510} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1ea558c000, frame address: 0x7f1ea598bf90, stack size: 4194416, maximum stack size: 8388608: While executing Tables. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x221ce264 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x221ce01c in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:280: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7c1bd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:799: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80e36 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x2bc2b33d in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:1044: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35a8d in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bc35ac9 in /usr/bin/clickhouse 2024.03.27 21:57:52.146777 [ 8927 ] {8fbfb284-4c58-4ebb-932e-b5295c724483} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 1.00, current rows: 46.88 thousand: While executing Numbers. (TOO_MANY_ROWS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42458) (comment: 02385_profile_events_overflow.sql) (in query: SELECT count() FROM system.numbers SETTINGS max_rows_to_read = 1, read_overflow_mode = 'throw';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x29925268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x29924d8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x2990204a in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8516dc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:57:52.150723 [ 8927 ] {8fbfb284-4c58-4ebb-932e-b5295c724483} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 1.00, current rows: 46.88 thousand: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x29925268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x29924d8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x2990204a in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8516dc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x222b47bd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x222b42a2 in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:57:56.841960 [ 8927 ] {c944084e-1c71-40df-be4f-73053e4aca47} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49550) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:57:56.843793 [ 8927 ] {c944084e-1c71-40df-be4f-73053e4aca47} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:58:48.138008 [ 30649 ] {drop-ordyefbsiv} executeQuery: Code: 473. DB::Exception: WRITE locking attempt on "test_kibtwqy0_ordinary.data_02352" has timed out! (10000ms) Possible deadlock avoided. Client should retry. (DEADLOCK_AVOIDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39706) (comment: 02352_rwlock.sh) (in query: DROP TABLE test_kibtwqy0_ordinary.data_02352 SYNC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, DB::StorageID&&, long long&&) @ 0x2b85ee28 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.cpp:42: DB::IStorage::tryLockTimed(std::shared_ptr const&, DB::RWLockImpl::Type, String const&, std::chrono::duration> const&) const @ 0x2b85becc in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:94: DB::IStorage::lockExclusively(String const&, std::chrono::duration> const&) @ 0x2b85c672 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:245: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2abf0eee in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2abeef14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2abee78e in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:58:48.139696 [ 30649 ] {drop-ordyefbsiv} TCPHandler: Code: 473. DB::Exception: WRITE locking attempt on "test_kibtwqy0_ordinary.data_02352" has timed out! (10000ms) Possible deadlock avoided. Client should retry. (DEADLOCK_AVOIDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, DB::StorageID&&, long long&&) @ 0x2b85ee28 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.cpp:42: DB::IStorage::tryLockTimed(std::shared_ptr const&, DB::RWLockImpl::Type, String const&, std::chrono::duration> const&) const @ 0x2b85becc in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:94: DB::IStorage::lockExclusively(String const&, std::chrono::duration> const&) @ 0x2b85c672 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:245: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2abf0eee in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2abeef14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2abee78e in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:59:05.142528 [ 8927 ] {29f99b9b-bcde-47a2-b933-f3bcced5850f} executeQuery: Code: 497. DB::Exception: user_test_02337: Not enough privileges. To execute this query it's necessary to have grant SYSTEM DROP FILESYSTEM CACHE ON *.*. (ACCESS_DENIED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49398) (comment: 02337_drop_filesystem_cache_access.sh) (in query: SYSTEM DROP FILESYSTEM CACHE;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:500: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x2919ddfd in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:540: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x2919c56a in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:605: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x291695c2 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:678: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x291646fd in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1077: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x29e901b6 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1080: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x29e734fd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSystemQuery.cpp:361: DB::InterpreterSystemQuery::execute() @ 0x2ae8a4fd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:59:05.143427 [ 8927 ] {29f99b9b-bcde-47a2-b933-f3bcced5850f} TCPHandler: Code: 497. DB::Exception: user_test_02337: Not enough privileges. To execute this query it's necessary to have grant SYSTEM DROP FILESYSTEM CACHE ON *.*. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:500: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x2919ddfd in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:540: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x2919c56a in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:605: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x291695c2 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:678: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x291646fd in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1077: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x29e901b6 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1080: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x29e734fd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSystemQuery.cpp:361: DB::InterpreterSystemQuery::execute() @ 0x2ae8a4fd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:59:20.320316 [ 30806 ] {037189ec-7715-418c-8973-d6f54b0d12e5} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.90 MiB (attempt to allocate chunk of 1546808 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43544) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.320512 [ 8927 ] {61fdcd58-bdfb-40dc-b43f-c7af71836573} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.70 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43542) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.320480 [ 30807 ] {4b933d4a-70a9-465a-8411-ec93895fcfdc} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.70 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43556) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.320564 [ 30810 ] {9970d3a3-bf1d-48e7-bab5-2965a812e8fb} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.85 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43592) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.320589 [ 30809 ] {b23983b7-d11a-4f29-980c-1e2daf1d65b0} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.85 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43576) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.320769 [ 30811 ] {34be7b21-2b6c-423e-9bc4-e6b1ee6dcfee} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.53 MiB (attempt to allocate chunk of 1546840 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43600) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.320937 [ 30808 ] {070984ee-a5ac-4a75-a448-41edd8bd0ae7} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.72 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43564) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.320952 [ 30819 ] {21515b9e-6211-41e5-9355-7cfbefcfe2a7} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.45 MiB (attempt to allocate chunk of 1546072 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43606) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.320865 [ 30820 ] {d98ed4f6-d4b3-4edf-9e9c-bed04af7d43d} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.18 MiB (attempt to allocate chunk of 1546296 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43616) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.320973 [ 30816 ] {704a7be2-a783-4e9e-9346-c7d8287ab585} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.50 MiB (attempt to allocate chunk of 1547064 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43604) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.324990 [ 30810 ] {9970d3a3-bf1d-48e7-bab5-2965a812e8fb} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.85 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.325054 [ 30806 ] {037189ec-7715-418c-8973-d6f54b0d12e5} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.90 MiB (attempt to allocate chunk of 1546808 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.325284 [ 30811 ] {34be7b21-2b6c-423e-9bc4-e6b1ee6dcfee} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.53 MiB (attempt to allocate chunk of 1546840 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.325631 [ 30807 ] {4b933d4a-70a9-465a-8411-ec93895fcfdc} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.70 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.326091 [ 30808 ] {070984ee-a5ac-4a75-a448-41edd8bd0ae7} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.72 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.326160 [ 30809 ] {b23983b7-d11a-4f29-980c-1e2daf1d65b0} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.85 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.326450 [ 8927 ] {61fdcd58-bdfb-40dc-b43f-c7af71836573} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.70 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.326997 [ 30820 ] {d98ed4f6-d4b3-4edf-9e9c-bed04af7d43d} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.18 MiB (attempt to allocate chunk of 1546296 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.327202 [ 30819 ] {21515b9e-6211-41e5-9355-7cfbefcfe2a7} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.45 MiB (attempt to allocate chunk of 1546072 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:20.329741 [ 30816 ] {704a7be2-a783-4e9e-9346-c7d8287ab585} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.50 MiB (attempt to allocate chunk of 1547064 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:21.673292 [ 30807 ] {57c9bf48-014c-4fe1-a292-ff3c2119afb0} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.43 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43638) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:21.674295 [ 30808 ] {5f1448a8-061e-4a9d-a21d-890ce2aeb28c} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 8.90 MiB (attempt to allocate chunk of 1547096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43654) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:21.676255 [ 30806 ] {26b6d2ae-9c51-4e9b-8548-5d3d87addae4} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.95 MiB (attempt to allocate chunk of 1547864 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43630) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:21.680150 [ 30807 ] {57c9bf48-014c-4fe1-a292-ff3c2119afb0} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.43 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:21.682790 [ 30808 ] {5f1448a8-061e-4a9d-a21d-890ce2aeb28c} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 8.90 MiB (attempt to allocate chunk of 1547096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:21.682892 [ 30809 ] {8195a104-cd7d-488f-a5ad-efac945b482c} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.77 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43658) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:21.682970 [ 30806 ] {26b6d2ae-9c51-4e9b-8548-5d3d87addae4} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.95 MiB (attempt to allocate chunk of 1547864 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:21.685125 [ 30810 ] {3a78cdb8-530a-4b3c-8c66-d01040ee6079} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.14 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43666) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:21.685732 [ 30811 ] {16718648-bd15-4e83-9b53-fb7fcc8b24a7} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 8.62 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43668) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:21.690702 [ 30816 ] {25a3aa30-1a4a-420e-b348-e0cadfd89bcf} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.14 MiB (attempt to allocate chunk of 1546040 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43674) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:21.691531 [ 30810 ] {3a78cdb8-530a-4b3c-8c66-d01040ee6079} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.14 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:21.692996 [ 30811 ] {16718648-bd15-4e83-9b53-fb7fcc8b24a7} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 8.62 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:21.693678 [ 30809 ] {8195a104-cd7d-488f-a5ad-efac945b482c} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.77 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:21.695950 [ 30816 ] {25a3aa30-1a4a-420e-b348-e0cadfd89bcf} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.14 MiB (attempt to allocate chunk of 1546040 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:21.699950 [ 30819 ] {e979fd8a-d42e-4672-ad83-54635deb5305} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.36 MiB (attempt to allocate chunk of 1546552 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43684) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:21.705261 [ 30819 ] {e979fd8a-d42e-4672-ad83-54635deb5305} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.36 MiB (attempt to allocate chunk of 1546552 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:21.815618 [ 8927 ] {c74ef3f2-256d-48e6-8bcb-e92a6d5947c6} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.44 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43620) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x220fb2d1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a09a8f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0ab11c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:59:21.815728 [ 30820 ] {a6568d97-ae59-41c3-9e85-5012d1a9d693} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.02 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43688) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:21.819730 [ 8927 ] {c74ef3f2-256d-48e6-8bcb-e92a6d5947c6} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.44 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x220fb2d1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a09a8f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0ab11c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:59:21.820856 [ 30820 ] {a6568d97-ae59-41c3-9e85-5012d1a9d693} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.02 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:23.022098 [ 30820 ] {05e70927-3884-492b-82f5-9f7d5dfa0ed7} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.43 MiB (attempt to allocate chunk of 1546296 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43698) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:23.024636 [ 30806 ] {18276aef-c892-4990-8186-2b75f6dd9c47} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.95 MiB (attempt to allocate chunk of 1546072 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43722) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:23.026205 [ 30809 ] {cbfcd00d-7ecf-4056-a4fb-f54842502027} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 8.24 MiB (attempt to allocate chunk of 1549912 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43730) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:23.026351 [ 30820 ] {05e70927-3884-492b-82f5-9f7d5dfa0ed7} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.43 MiB (attempt to allocate chunk of 1546296 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:23.026464 [ 30810 ] {41ed6d7b-1fbc-4621-b8c0-527fa766a7d8} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.23 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43742) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:23.030377 [ 30810 ] {41ed6d7b-1fbc-4621-b8c0-527fa766a7d8} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.23 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:23.030800 [ 30809 ] {cbfcd00d-7ecf-4056-a4fb-f54842502027} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 8.24 MiB (attempt to allocate chunk of 1549912 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:23.033736 [ 30808 ] {bfe4901b-4ab1-45b9-a6ec-19e651fe14a2} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.76 MiB (attempt to allocate chunk of 1547096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43724) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:23.035491 [ 30806 ] {18276aef-c892-4990-8186-2b75f6dd9c47} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.95 MiB (attempt to allocate chunk of 1546072 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:23.035934 [ 30811 ] {e5d1c275-43d3-4703-ae30-db0de0e1011d} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.38 MiB (attempt to allocate chunk of 1546296 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43748) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:23.036542 [ 30807 ] {e8730598-7ec7-46f7-9690-ec2de8f63097} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.50 MiB (attempt to allocate chunk of 1547064 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43726) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:23.038153 [ 8927 ] {5cc75d9a-460a-465c-b0a9-93c04dfe5f8e} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.05 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43710) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x220fb2d1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a09a8f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0ab11c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:59:23.040328 [ 30811 ] {e5d1c275-43d3-4703-ae30-db0de0e1011d} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.38 MiB (attempt to allocate chunk of 1546296 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:23.041019 [ 30808 ] {bfe4901b-4ab1-45b9-a6ec-19e651fe14a2} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.76 MiB (attempt to allocate chunk of 1547096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:23.042283 [ 30807 ] {e8730598-7ec7-46f7-9690-ec2de8f63097} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.50 MiB (attempt to allocate chunk of 1547064 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:23.042413 [ 8927 ] {5cc75d9a-460a-465c-b0a9-93c04dfe5f8e} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.05 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x220fb2d1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a09a8f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0ab11c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:59:23.170864 [ 8927 ] {ae7a8338-c21b-4e4e-9bd9-8b55a9d17c1c} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.95 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43764) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:23.174610 [ 8927 ] {ae7a8338-c21b-4e4e-9bd9-8b55a9d17c1c} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.95 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:23.180251 [ 30820 ] {e62db9fd-91cc-4907-af6c-10e2913654b3} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.78 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43760) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x220fb2d1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a09a8f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0ab11c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:59:23.184271 [ 30820 ] {e62db9fd-91cc-4907-af6c-10e2913654b3} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.78 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x220fb2d1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a09a8f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0ab11c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:59:24.365307 [ 30820 ] {1a95bb7d-b25f-47da-b139-bfd525537392} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.95 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43776) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:24.373094 [ 8927 ] {a7f83de1-98df-43db-8ad2-584111bcf7c7} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.01 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43778) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:24.373537 [ 30820 ] {1a95bb7d-b25f-47da-b139-bfd525537392} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.95 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:24.377942 [ 8927 ] {a7f83de1-98df-43db-8ad2-584111bcf7c7} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.01 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:24.378584 [ 30806 ] {29e3a810-ecd0-4432-89d2-06bbaf3a7008} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.10 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43780) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:24.380481 [ 30807 ] {1cd978fc-20c1-4c2a-9284-c8e8a10f7a5c} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.98 MiB (attempt to allocate chunk of 1548088 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43782) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:24.380871 [ 30808 ] {ed8f5d9d-8b31-4305-997e-1f7237971406} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.50 MiB (attempt to allocate chunk of 1548632 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43786) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:24.381829 [ 30809 ] {30c1613c-1f44-430b-8a89-8f4d3fb3e67a} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.63 MiB (attempt to allocate chunk of 1546296 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43790) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:24.383896 [ 30806 ] {29e3a810-ecd0-4432-89d2-06bbaf3a7008} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.10 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:24.384265 [ 30807 ] {1cd978fc-20c1-4c2a-9284-c8e8a10f7a5c} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.98 MiB (attempt to allocate chunk of 1548088 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:24.385928 [ 30809 ] {30c1613c-1f44-430b-8a89-8f4d3fb3e67a} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.63 MiB (attempt to allocate chunk of 1546296 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:24.385932 [ 30808 ] {ed8f5d9d-8b31-4305-997e-1f7237971406} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.50 MiB (attempt to allocate chunk of 1548632 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:24.404389 [ 30810 ] {19273ee9-683e-4cb8-bddc-79083cece30f} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.84 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43806) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:24.410616 [ 30810 ] {19273ee9-683e-4cb8-bddc-79083cece30f} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.84 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:24.436132 [ 30820 ] {175b2bd9-ff79-4d07-af7d-7d83a84e3f1c} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.90 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43822) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:24.440200 [ 30820 ] {175b2bd9-ff79-4d07-af7d-7d83a84e3f1c} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.90 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:24.516214 [ 8927 ] {2495648b-48f9-435e-830c-5dac190e384f} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.95 MiB (attempt to allocate chunk of 1546840 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43842) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:24.521457 [ 30820 ] {4e93149e-d3f4-4996-8778-16980fe3ff1d} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.78 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43836) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x220fb2d1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a09a8f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0ab11c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:59:24.526622 [ 30820 ] {4e93149e-d3f4-4996-8778-16980fe3ff1d} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.78 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x220fb2d1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a09a8f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0ab11c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:59:24.526978 [ 8927 ] {2495648b-48f9-435e-830c-5dac190e384f} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.95 MiB (attempt to allocate chunk of 1546840 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:25.695578 [ 30820 ] {5a3c82ea-488c-47e0-8ac3-dd68f0bf6418} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.95 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41986) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x220fb2d1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a09a8f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0ab11c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:59:25.695753 [ 30806 ] {fe544604-338d-4a8c-ba23-fed175b24ad2} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.95 MiB (attempt to allocate chunk of 1550168 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42002) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:25.699663 [ 30806 ] {fe544604-338d-4a8c-ba23-fed175b24ad2} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.95 MiB (attempt to allocate chunk of 1550168 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:25.700451 [ 30820 ] {5a3c82ea-488c-47e0-8ac3-dd68f0bf6418} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.95 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x220fb2d1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a09a8f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0ab11c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:59:25.730021 [ 30807 ] {433fff5a-29be-4e8f-8018-4438fc5e7bcc} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.06 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42006) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:25.734683 [ 30807 ] {433fff5a-29be-4e8f-8018-4438fc5e7bcc} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.06 MiB (attempt to allocate chunk of 1546328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:25.734415 [ 30808 ] {9eebaac0-5aa9-4084-8790-68191ccf4aca} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.34 MiB (attempt to allocate chunk of 1547352 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42020) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:25.740456 [ 30808 ] {9eebaac0-5aa9-4084-8790-68191ccf4aca} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.34 MiB (attempt to allocate chunk of 1547352 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:25.744031 [ 30806 ] {7c8d6e3f-f798-4a17-b0e1-aeef4ff37acb} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.68 MiB (attempt to allocate chunk of 1546584 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42028) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:25.746708 [ 30820 ] {c350384d-e64b-4a18-ba83-9bf9a3279ceb} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.69 MiB (attempt to allocate chunk of 1547352 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42022) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:25.747111 [ 30809 ] {6a514ba7-4944-44d9-a179-e266a2a1017a} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.73 MiB (attempt to allocate chunk of 1546072 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42036) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:25.748132 [ 30806 ] {7c8d6e3f-f798-4a17-b0e1-aeef4ff37acb} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.68 MiB (attempt to allocate chunk of 1546584 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:25.749811 [ 8927 ] {b6e89222-d1e3-4971-8df7-9eaff8044f66} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.74 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41994) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x220fb2d1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a09a8f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0ab11c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:59:25.751777 [ 30809 ] {6a514ba7-4944-44d9-a179-e266a2a1017a} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.73 MiB (attempt to allocate chunk of 1546072 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:25.751867 [ 30820 ] {c350384d-e64b-4a18-ba83-9bf9a3279ceb} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.69 MiB (attempt to allocate chunk of 1547352 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:25.753700 [ 8927 ] {b6e89222-d1e3-4971-8df7-9eaff8044f66} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.74 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x220fb2d1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a09a8f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0ab11c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:59:25.854781 [ 8927 ] {d3705667-a86a-4bf8-9444-e71954be8bb0} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.95 MiB (attempt to allocate chunk of 1547096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42058) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:25.860079 [ 8927 ] {d3705667-a86a-4bf8-9444-e71954be8bb0} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.95 MiB (attempt to allocate chunk of 1547096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:26.026344 [ 30820 ] {ef665026-3d7c-4dcc-ab40-516cbe309068} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.82 MiB (attempt to allocate chunk of 1094304 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42050) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x196c67f9 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x2b64b746 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x2a5867e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2033: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5669e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x2a566c4a in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:259: void HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x2a566bcf in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2058: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a566015 in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a139c35 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a13428e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2cc2eff0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2cc2b16f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 2024.03.27 21:59:26.030860 [ 30820 ] {ef665026-3d7c-4dcc-ab40-516cbe309068} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.82 MiB (attempt to allocate chunk of 1094304 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x196c67f9 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x2b64b746 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x2a5867e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2033: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5669e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x2a566c4a in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:259: void HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x2a566bcf in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2058: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a566015 in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a139c35 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a13428e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2cc2eff0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2cc2b16f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 2024.03.27 21:59:27.033811 [ 30820 ] {52409ee0-59f5-486e-8190-a3f15596f949} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.95 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42064) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:27.038019 [ 8927 ] {f7e4b196-c5db-42b2-bfd0-77930b6d4438} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.97 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42080) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:27.038897 [ 30820 ] {52409ee0-59f5-486e-8190-a3f15596f949} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.95 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:27.043996 [ 8927 ] {f7e4b196-c5db-42b2-bfd0-77930b6d4438} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.97 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:27.081517 [ 30807 ] {75e3bba4-470c-4fcc-8137-621786104d9b} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.07 MiB (attempt to allocate chunk of 1546920 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42112) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:27.085771 [ 30807 ] {75e3bba4-470c-4fcc-8137-621786104d9b} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.07 MiB (attempt to allocate chunk of 1546920 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:27.085961 [ 30810 ] {984100a2-4559-439b-8634-1adccec5f86d} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.35 MiB (attempt to allocate chunk of 1546376 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42134) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:27.086919 [ 30808 ] {e18524ac-e16e-4612-a83d-a0b40c743c3d} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 8.09 MiB (attempt to allocate chunk of 1549960 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42120) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:27.089397 [ 30809 ] {2936b709-6920-4285-b1f6-5cd5d0c5c451} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.35 MiB (attempt to allocate chunk of 1546408 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42132) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:27.091577 [ 8927 ] {7a807f19-2ed7-4659-a8ae-62e52b767ab9} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.93 MiB (attempt to allocate chunk of 1546632 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42124) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:27.092986 [ 30808 ] {e18524ac-e16e-4612-a83d-a0b40c743c3d} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 8.09 MiB (attempt to allocate chunk of 1549960 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:27.094881 [ 30810 ] {984100a2-4559-439b-8634-1adccec5f86d} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.35 MiB (attempt to allocate chunk of 1546376 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:27.096280 [ 8927 ] {7a807f19-2ed7-4659-a8ae-62e52b767ab9} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.93 MiB (attempt to allocate chunk of 1546632 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:27.096752 [ 30806 ] {de172139-292a-4f13-a724-8c0747e2d89a} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.86 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42096) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x220fb2d1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a09a8f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0ab11c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:59:27.101140 [ 30806 ] {de172139-292a-4f13-a724-8c0747e2d89a} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.86 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x220fb2d1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a09a8f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0ab11c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8325a0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x222ad129 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222b48e4 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x222b4895 in /usr/bin/clickhouse 2024.03.27 21:59:27.158250 [ 30809 ] {2936b709-6920-4285-b1f6-5cd5d0c5c451} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.35 MiB (attempt to allocate chunk of 1546408 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:27.239438 [ 8927 ] {a069d1ce-935e-4bc2-b5bb-e4491ab0eedc} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.52 MiB (attempt to allocate chunk of 1093824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42146) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x196c67f9 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x2b64b746 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x2a5867e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2033: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5669e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x2a566c4a in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:259: void HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x2a566bcf in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2058: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a566015 in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a139c35 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a13428e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2cc2eff0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2cc2b16f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 2024.03.27 21:59:27.243982 [ 8927 ] {a069d1ce-935e-4bc2-b5bb-e4491ab0eedc} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.52 MiB (attempt to allocate chunk of 1093824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x196c67f9 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x2b64b746 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x2a5867e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2033: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5669e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x2a566c4a in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:259: void HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x2a566bcf in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2058: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a566015 in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a139c35 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a13428e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2cc2eff0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2cc2b16f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 2024.03.27 21:59:27.406170 [ 8927 ] {78487513-8850-4878-bdcb-5b65a30ea1cc} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.52 MiB (attempt to allocate chunk of 1093824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42156) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x196c67f9 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x2b64b746 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x2a5867e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2033: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5669e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x2a566c4a in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:259: void HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x2a566bcf in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2058: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a566015 in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a139c35 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a13428e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2cc2eff0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2cc2b16f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 2024.03.27 21:59:27.411272 [ 8927 ] {78487513-8850-4878-bdcb-5b65a30ea1cc} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.52 MiB (attempt to allocate chunk of 1093824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x196c67f9 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x2b64b746 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x2a5867e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2033: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5669e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x2a566c4a in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:259: void HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x2a566bcf in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2058: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a566015 in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a139c35 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a13428e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2cc2eff0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2cc2b16f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 2024.03.27 21:59:28.396134 [ 8927 ] {573befdd-fb96-4c78-9bf3-a8bcb256fe51} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 10.43 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42164) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:28.398911 [ 30806 ] {cf4bcebd-bbd3-40c8-812e-b4fc62dff6e6} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.43 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42168) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:28.400579 [ 8927 ] {573befdd-fb96-4c78-9bf3-a8bcb256fe51} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 10.43 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:28.403104 [ 30806 ] {cf4bcebd-bbd3-40c8-812e-b4fc62dff6e6} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.43 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:28.403827 [ 30810 ] {b773dfc3-3ea0-40fe-8d3f-0cd24eb33d56} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.05 MiB (attempt to allocate chunk of 1546664 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42184) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:28.405044 [ 30807 ] {16302d76-5c29-4b38-9e6b-fc8152d3f23e} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.52 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42174) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:28.408466 [ 30809 ] {11769933-b22a-42a2-a00b-1948b3fcf817} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.03 MiB (attempt to allocate chunk of 1546632 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42180) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:28.408985 [ 30808 ] {7e298d25-b83d-435d-81aa-3ec3e683859d} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.04 MiB (attempt to allocate chunk of 1546664 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42178) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:28.409970 [ 30807 ] {16302d76-5c29-4b38-9e6b-fc8152d3f23e} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.52 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:28.412639 [ 30809 ] {11769933-b22a-42a2-a00b-1948b3fcf817} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.03 MiB (attempt to allocate chunk of 1546632 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:28.414876 [ 30808 ] {7e298d25-b83d-435d-81aa-3ec3e683859d} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.04 MiB (attempt to allocate chunk of 1546664 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:28.415614 [ 30810 ] {b773dfc3-3ea0-40fe-8d3f-0cd24eb33d56} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.05 MiB (attempt to allocate chunk of 1546664 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x220fb390 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x220fa4b0 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a21476e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a2a39c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a14a647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a0a5bc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a0aaf45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2cc25cd3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2cc232b9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8326a2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c832615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8325f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8325d5 in /usr/bin/clickhouse 2024.03.27 21:59:28.478952 [ 8927 ] {43fa9956-7e0c-47a8-9791-80c4d9d63fec} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.52 MiB (attempt to allocate chunk of 1093824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42196) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x196c67f9 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x2b64b746 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x2a5867e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2033: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5669e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x2a566c4a in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:259: void HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x2a566bcf in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2058: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a566015 in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a139c35 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a13428e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2cc2eff0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2cc2b16f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 2024.03.27 21:59:28.483438 [ 8927 ] {43fa9956-7e0c-47a8-9791-80c4d9d63fec} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.52 MiB (attempt to allocate chunk of 1093824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x196c67f9 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x2b64b746 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x2a5867e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2033: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5669e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x2a566c4a in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:259: void HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x2a566bcf in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2058: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a566015 in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a139c35 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a13428e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2cc2eff0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2cc2b16f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 2024.03.27 21:59:28.537793 [ 30806 ] {06254af6-eb95-47e3-ae8f-f3358330383e} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.59 MiB (attempt to allocate chunk of 1093824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42202) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x196c67f9 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x2b64b746 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x2a5867e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2033: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5669e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x2a566c4a in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:259: void HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x2a566bcf in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2058: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a566015 in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a139c35 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a13428e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2cc2eff0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2cc2b16f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 2024.03.27 21:59:28.542539 [ 30806 ] {06254af6-eb95-47e3-ae8f-f3358330383e} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.59 MiB (attempt to allocate chunk of 1093824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x196c67f9 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x2b64b746 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x2a5867e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2033: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5669e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x2a566c4a in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:259: void HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x2a566bcf in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2058: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a566015 in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a139c35 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a13428e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2cc2eff0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2cc2b16f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 2024.03.27 21:59:28.590724 [ 8927 ] {d7d11f26-6efe-47ed-bf37-0c672056ec43} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.67 MiB (attempt to allocate chunk of 1093824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42210) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x196c67f9 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x2b64b746 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x2a5867e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2033: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5669e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x2a566c4a in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:259: void HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x2a566bcf in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2058: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a566015 in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a139c35 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a13428e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2cc2eff0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2cc2b16f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 2024.03.27 21:59:28.594922 [ 8927 ] {d7d11f26-6efe-47ed-bf37-0c672056ec43} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.67 MiB (attempt to allocate chunk of 1093824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x196c67f9 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x2b64b746 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x2a5867e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2033: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5669e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x2a566c4a in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:259: void HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x2a566bcf in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2058: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a566015 in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a139c35 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a13428e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2cc2eff0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2cc2b16f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 2024.03.27 21:59:28.756303 [ 8927 ] {75db8709-4985-4f0b-9a89-580d26cf17ea} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.52 MiB (attempt to allocate chunk of 1093824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42218) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x196c67f9 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x2b64b746 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x2a5867e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2033: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5669e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x2a566c4a in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:259: void HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x2a566bcf in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2058: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a566015 in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a139c35 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a13428e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2cc2eff0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2cc2b16f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 2024.03.27 21:59:28.760692 [ 8927 ] {75db8709-4985-4f0b-9a89-580d26cf17ea} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.52 MiB (attempt to allocate chunk of 1093824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x196c6965 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x196c67f9 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:256: DB::ColumnVector::reserve(unsigned long) @ 0x2b64b746 in /usr/bin/clickhouse 15. /build/src/Interpreters/AggregationUtils.cpp:27: DB::prepareOutputBlockColumns(DB::Aggregator::Params const&, std::vector> const&, DB::Block const&, std::vector, std::allocator>>&, bool, unsigned long) @ 0x2a5867e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:2033: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5669e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:0: auto std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)::operator()(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&) const @ 0x2a566c4a in /usr/bin/clickhouse 18. /build/src/Common/HashTable/HashMap.h:259: void HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::forEachValue>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false> const&, auto&)>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&&) @ 0x2a566bcf in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:2058: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a566015 in /usr/bin/clickhouse 20. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a139c35 in /usr/bin/clickhouse 21. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a13428e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2cc2eff0 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2cc2b16f in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8328f8 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c832855 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c832839 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c83279d in /usr/bin/clickhouse 2024.03.27 21:59:59.457682 [ 8927 ] {9f707b8a-5385-4fd8-b3e0-e7b6abeed8ec} executeQuery: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 29/25. Interval will end at 2069-12-31 13:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40584) (comment: 02247_written_bytes_quota.sh) (in query: INSERT INTO written_bytes_02247 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/AsynchronousInsertQueue.cpp:237: DB::AsynchronousInsertQueue::push(std::shared_ptr, std::shared_ptr) @ 0x29e2ae8b in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:607: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3501ad in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 21:59:59.459497 [ 8927 ] {9f707b8a-5385-4fd8-b3e0-e7b6abeed8ec} TCPHandler: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 29/25. Interval will end at 2069-12-31 13:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/AsynchronousInsertQueue.cpp:237: DB::AsynchronousInsertQueue::push(std::shared_ptr, std::shared_ptr) @ 0x29e2ae8b in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:607: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3501ad in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:00:00.865895 [ 8927 ] {09946d5a-bb20-456a-8f14-d46a4a93183e} executeQuery: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 29/25. Interval will end at 2069-12-31 13:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40596) (comment: 02247_written_bytes_quota.sh) (in query: INSERT INTO written_bytes_02247 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:88: DB::EnabledQuota::Impl::checkExceeded(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, std::chrono::time_point>>) @ 0x291f6e1d in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:284: DB::EnabledQuota::checkExceeded(DB::QuotaType) const @ 0x291f5d06 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:60: DB::InterpreterInsertQuery::InterpreterInsertQuery(std::shared_ptr const&, std::shared_ptr, bool, bool, bool, bool) @ 0x2ad642ca in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, bool&>(std::shared_ptr&, std::shared_ptr&, bool&) @ 0x2ad3f00f in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterFactory.cpp:156: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3cb74 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:00:00.867694 [ 8927 ] {09946d5a-bb20-456a-8f14-d46a4a93183e} TCPHandler: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 29/25. Interval will end at 2069-12-31 13:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:88: DB::EnabledQuota::Impl::checkExceeded(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, std::chrono::time_point>>) @ 0x291f6e1d in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:284: DB::EnabledQuota::checkExceeded(DB::QuotaType) const @ 0x291f5d06 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:60: DB::InterpreterInsertQuery::InterpreterInsertQuery(std::shared_ptr const&, std::shared_ptr, bool, bool, bool, bool) @ 0x2ad642ca in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, bool&>(std::shared_ptr&, std::shared_ptr&, bool&) @ 0x2ad3f00f in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterFactory.cpp:156: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3cb74 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:00:10.254469 [ 8927 ] {703b85ec-e300-41ce-b1d4-b2b848c172a2} executeQuery: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 1630/1000. Interval will end at 2069-12-31 13:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44764) (comment: 02247_written_bytes_quota.sh) (in query: INSERT INTO written_bytes_02247 SELECT toString(number) FROM numbers(100)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/CountingTransform.cpp:0: DB::CountingTransform::onConsume(DB::Chunk) @ 0x2cc40299 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c82e207 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c82e0a1 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c82e055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c82e039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c82df9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c82dea2 in /usr/bin/clickhouse 2024.03.27 22:00:10.256808 [ 8927 ] {703b85ec-e300-41ce-b1d4-b2b848c172a2} TCPHandler: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 1630/1000. Interval will end at 2069-12-31 13:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x2887d416 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x291f838d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x291f6a95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x291f583b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x291f57a8 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/CountingTransform.cpp:0: DB::CountingTransform::onConsume(DB::Chunk) @ 0x2cc40299 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c82e207 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c82e0a1 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c82e055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c82e039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c82df9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c82dea2 in /usr/bin/clickhouse 2024.03.27 22:06:00.790641 [ 8927 ] {dd48b00f-0c08-4046-8bab-99f33af16472} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:47158). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47158) (comment: 02232_dist_insert_send_logs_level_hung.sh) (in query: insert into function remote('127.2', currentDatabase(), in_02232) select * from numbers(1e6)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ab9b948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ab9b1c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x19725e37 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1066: DB::TCPHandler::sendProfileEvents() @ 0x2c7b6219 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1076: DB::TCPHandler::sendSelectProfileEvents() @ 0x2c7b2674 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:482: DB::TCPHandler::runImpl() @ 0x2c7a9742 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:06:00.792275 [ 8927 ] {dd48b00f-0c08-4046-8bab-99f33af16472} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:47158). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ab9b948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ab9b1c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x19725e37 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1991: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x2c7bb8d5 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2068: DB::TCPHandler::sendLogs() @ 0x2c7b287f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:598: DB::TCPHandler::runImpl() @ 0x2c7aab48 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:06:00.792910 [ 8927 ] {dd48b00f-0c08-4046-8bab-99f33af16472} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:47158). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ab9b948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ab9b1c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x19725e37 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1066: DB::TCPHandler::sendProfileEvents() @ 0x2c7b6219 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1076: DB::TCPHandler::sendSelectProfileEvents() @ 0x2c7b2674 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:482: DB::TCPHandler::runImpl() @ 0x2c7a9742 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:06:00.793400 [ 8927 ] {dd48b00f-0c08-4046-8bab-99f33af16472} TCPHandler: Client has gone away. 2024.03.27 22:06:02.136241 [ 31673 ] {ef3e8c03-6fbf-4937-8668-86828d5ceced} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:50514) (comment: 02232_dist_insert_send_logs_level_hung.sh) (in query: INSERT INTO test_1hcvu8m4.in_02232 (key) VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2af4357b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:155: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830b36 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x2c86018b in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:112: DB::PushingPipelineExecutor::push(DB::Block) @ 0x2c860279 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:792: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a0c in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:06:02.138263 [ 31673 ] {ef3e8c03-6fbf-4937-8668-86828d5ceced} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2af4357b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:155: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830b36 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x2c86018b in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:112: DB::PushingPipelineExecutor::push(DB::Block) @ 0x2c860279 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:792: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a0c in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:06:02.211791 [ 31673 ] {} TCPHandler: Code: 101. DB::NetException: Unexpected packet Data received from client. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:13: DB::NetException::NetException(int, char const (&) [44]) @ 0x2c7c119e in /usr/bin/clickhouse 6. /build/src/Server/TCPHandler.cpp:1767: DB::TCPHandler::receiveUnexpectedData(bool) @ 0x2c7b9d22 in /usr/bin/clickhouse 7. /build/src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x2c7b180f in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:273: DB::TCPHandler::runImpl() @ 0x2c7a8a81 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 15. ? @ 0x7f2098f50609 in ? 16. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:06:02.212313 [ 31673 ] {} TCPHandler: Client has gone away. 2024.03.27 22:06:15.562196 [ 8927 ] {1097a688-1004-4ecc-9728-e10b55584e24} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 300.43 MiB (attempt to allocate chunk of 1129946 bytes), maximum: 300.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37020) (comment: 02228_merge_tree_insert_memory_usage.sql) (in query: insert into data_02228 select number, 1, number from numbers_mt(100e3) settings max_memory_usage='300Mi', max_partitions_per_insert_block=1024, max_insert_delayed_streams_for_parallel_write=10000000;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x29bd04c3 in /usr/bin/clickhouse 20. /build/src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:118: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x2bf8be59 in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/IDataPartStorage.h:246: DB::IDataPartStorage::writeFile(String const&, unsigned long, DB::WriteSettings const&) @ 0x2bf89233 in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:64: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x2c1d2070 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x2c1e8a83 in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: auto DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2c1e1a65 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&)::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2c1e159d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2c1e155d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2c1e151d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2c1e14e8 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 31. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 2024.03.27 22:06:15.564380 [ 8927 ] {1097a688-1004-4ecc-9728-e10b55584e24} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 300.43 MiB (attempt to allocate chunk of 1129946 bytes), maximum: 300.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x29bd04c3 in /usr/bin/clickhouse 20. /build/src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:118: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x2bf8be59 in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/IDataPartStorage.h:246: DB::IDataPartStorage::writeFile(String const&, unsigned long, DB::WriteSettings const&) @ 0x2bf89233 in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:64: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x2c1d2070 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x2c1e8a83 in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: auto DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2c1e1a65 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&)::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2c1e159d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2c1e155d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2c1e151d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2c1e14e8 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 31. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 2024.03.27 22:06:58.996170 [ 8927 ] {521c1bff-efc8-4e36-be41-2f9a4b64e7f7} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 300.45 MiB (attempt to allocate chunk of 1129946 bytes), maximum: 300.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37020) (comment: 02228_merge_tree_insert_memory_usage.sql) (in query: insert into data_rep_02228 select number, 1, number from numbers_mt(100e3) settings max_memory_usage='300Mi', max_partitions_per_insert_block=1024, max_insert_delayed_streams_for_parallel_write=10000000;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x29bd04c3 in /usr/bin/clickhouse 20. /build/src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:118: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x2bf8be59 in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/IDataPartStorage.h:246: DB::IDataPartStorage::writeFile(String const&, unsigned long, DB::WriteSettings const&) @ 0x2bf89233 in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:64: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x2c1d2070 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x2c1e8a83 in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: auto DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2c1e1a65 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&)::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2c1e159d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2c1e155d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2c1e151d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2c1e14e8 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 31. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 2024.03.27 22:06:59.001342 [ 8927 ] {521c1bff-efc8-4e36-be41-2f9a4b64e7f7} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 300.45 MiB (attempt to allocate chunk of 1129946 bytes), maximum: 300.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x2216f61d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216daa5 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x2216ddd6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x220fb169 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x220fb301 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x220f560e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x221e302c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x221e2f60 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x221e2e35 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x22209cf1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22208e58 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x22338f6d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29be04c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29bd82f6 in /usr/bin/clickhouse 19. /build/src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x29bd04c3 in /usr/bin/clickhouse 20. /build/src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:118: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x2bf8be59 in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/IDataPartStorage.h:246: DB::IDataPartStorage::writeFile(String const&, unsigned long, DB::WriteSettings const&) @ 0x2bf89233 in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp:64: DB::MergeTreeDataPartWriterOnDisk::Stream::Stream(String const&, std::shared_ptr const&, String const&, String const&, String const&, String const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&, unsigned long, DB::WriteSettings const&) @ 0x2c1d2070 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&>(String&, std::shared_ptr&&, String&, char const* const&, String&, String const&, std::shared_ptr&, unsigned long const&, std::shared_ptr&, unsigned long const&, DB::WriteSettings const&) @ 0x2c1e8a83 in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp:119: auto DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2c1e1a65 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&)::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2c1e159d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterWide::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2c1e155d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2c1e151d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2c1e14e8 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 31. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 2024.03.27 22:07:08.732328 [ 8927 ] {29ab2c0f-cb50-4cd4-add6-56eee5812ee2} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39800) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:07:08.734165 [ 8927 ] {29ab2c0f-cb50-4cd4-add6-56eee5812ee2} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:07:16.067173 [ 8927 ] {26c87a80-1981-4d2d-85a7-0d07fade3dc7} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/data.jsonl doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37284) (comment: 02222_create_table_without_columns_metadata.sh) (in query: select * from test), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:07:16.069262 [ 8927 ] {26c87a80-1981-4d2d-85a7-0d07fade3dc7} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/data.jsonl doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:07:24.669764 [ 8927 ] {9976112e-4c58-4d24-a82d-e1d22181216f} executeQuery: Code: 60. DB::Exception: Table test_mepbtx29.test doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37362) (comment: 02222_create_table_without_columns_metadata.sh) (in query: select * from test_dist), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:101: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x2ceb6cc8 in /usr/bin/clickhouse 12. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_1::operator()() const @ 0x2b8ce722 in /usr/bin/clickhouse 13. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:163: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x2b8cda1c in /usr/bin/clickhouse 14. /build/src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x2b8d6035 in /usr/bin/clickhouse 15. /build/src/Storages/StorageDistributed.cpp:1126: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8a0827 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:07:24.671805 [ 8927 ] {9976112e-4c58-4d24-a82d-e1d22181216f} TCPHandler: Code: 60. DB::Exception: Table test_mepbtx29.test doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:101: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x2ceb6cc8 in /usr/bin/clickhouse 12. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_1::operator()() const @ 0x2b8ce722 in /usr/bin/clickhouse 13. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:163: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x2b8cda1c in /usr/bin/clickhouse 14. /build/src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x2b8d6035 in /usr/bin/clickhouse 15. /build/src/Storages/StorageDistributed.cpp:1126: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8a0827 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:07:54.371978 [ 8927 ] {2dfbe0a6-8c84-4a83-999f-807dd5b85e0f} executeQuery: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53794) (comment: 02168_avro_bug.sql) (in query: insert into table function file('data.avro', 'Parquet', 'x UInt64') select * from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1101: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b8ee384 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:07:54.372965 [ 8927 ] {2dfbe0a6-8c84-4a83-999f-807dd5b85e0f} TCPHandler: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1101: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b8ee384 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:07:54.384490 [ 8927 ] {7f604c56-42f1-4c22-8767-1d1036737b13} executeQuery: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53794) (comment: 02168_avro_bug.sql) (in query: insert into table function file('data.avro', 'Parquet', 'x UInt64') select * from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1101: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b8ee384 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:07:54.385308 [ 8927 ] {7f604c56-42f1-4c22-8767-1d1036737b13} TCPHandler: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1101: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b8ee384 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cd79b49 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2ad65d5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2ad67eaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:08:53.586213 [ 8927 ] {dc0faaa8-a710-46b8-b91a-6ab7db7e1bc8} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55218) (comment: 02167_format_from_file_extension.sh) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:08:53.590032 [ 8927 ] {dc0faaa8-a710-46b8-b91a-6ab7db7e1bc8} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:08:56.590146 [ 8927 ] {b522cf7d-2d05-4e5f-9c86-7dbc7cff5e15} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45310) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:08:56.592073 [ 8927 ] {b522cf7d-2d05-4e5f-9c86-7dbc7cff5e15} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:09:15.502041 [ 8927 ] {599ddf93-5172-4a48-a458-36157aeb0c33} executeQuery: Code: 33. DB::ParsingException: Error while parsing Nullable: got an unquoted string n instead of a number: Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing CustomSeparatedRowInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/test_02130.data): (at row 1) . (CANNOT_READ_ALL_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46370) (comment: 02130_parse_quoted_null.sh) (in query: select * from file('test_02130.data', 'CustomSeparated', 'x Nullable(Float64), y Nullable(UInt64)') settings input_format_parallel_parsing=0, format_custom_escaping_rule='Quoted'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&&) @ 0x2221a493 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationNullable.cpp:450: void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29adc55d in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationNullable.cpp:209: void DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'()&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)&, (void*)0>(DB::IColumn&, DB::ISerialization const&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'()&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)&) @ 0x29ad6bc6 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:456: void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad89d5 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:392: DB::SerializationNullable::deserializeTextQuoted(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29ad5cd1 in /usr/bin/clickhouse 10. /build/src/Formats/EscapingRuleUtils.cpp:121: DB::deserializeFieldByEscapingRule(std::shared_ptr const&, std::shared_ptr const&, DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings::EscapingRule, DB::FormatSettings const&) @ 0x2c939159 in /usr/bin/clickhouse 11. /build/src/Processors/Formats/Impl/CustomSeparatedRowInputFormat.cpp:273: DB::CustomSeparatedFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c99a6c9 in /usr/bin/clickhouse 12. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 13. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 14. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 21. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 22. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 2024.03.27 22:09:15.504475 [ 8927 ] {599ddf93-5172-4a48-a458-36157aeb0c33} TCPHandler: Code: 33. DB::ParsingException: Error while parsing Nullable: got an unquoted string n instead of a number: Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing CustomSeparatedRowInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/test_02130.data): (at row 1) . (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&&) @ 0x2221a493 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationNullable.cpp:450: void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29adc55d in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationNullable.cpp:209: void DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'()&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)&, (void*)0>(DB::IColumn&, DB::ISerialization const&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'()&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)&) @ 0x29ad6bc6 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:456: void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad89d5 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:392: DB::SerializationNullable::deserializeTextQuoted(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29ad5cd1 in /usr/bin/clickhouse 10. /build/src/Formats/EscapingRuleUtils.cpp:121: DB::deserializeFieldByEscapingRule(std::shared_ptr const&, std::shared_ptr const&, DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings::EscapingRule, DB::FormatSettings const&) @ 0x2c939159 in /usr/bin/clickhouse 11. /build/src/Processors/Formats/Impl/CustomSeparatedRowInputFormat.cpp:273: DB::CustomSeparatedFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c99a6c9 in /usr/bin/clickhouse 12. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 13. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 14. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 21. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 22. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8580a0 in /usr/bin/clickhouse 2024.03.27 22:09:19.512386 [ 8927 ] {78ba4b4c-d8de-4071-859b-e2187808de67} executeQuery: Code: 47. DB::Exception: Missing columns: 'x' while processing query: 'SELECT x', required columns: 'x'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46400) (comment: 02126_identity_user_defined_function.sql) (in query: SELECT 02126_function();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:09:19.513839 [ 8927 ] {78ba4b4c-d8de-4071-859b-e2187808de67} TCPHandler: Code: 47. DB::Exception: Missing columns: 'x' while processing query: 'SELECT x', required columns: 'x'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b230749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:09:21.048291 [ 8927 ] {9a09180e-03c6-4e1c-a27b-4fce7b1d198c} executeQuery: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46410) (comment: 02125_recursive_sql_user_defined_functions.sql) (in query: SELECT 02125_function(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:127: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d03ce73 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d03d636 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:106: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d03ca5c in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d03cb47 in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d03cb47 in /usr/bin/clickhouse 11. /build/src/Interpreters/TreeRewriter.cpp:1372: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b231a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22ff29 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:09:21.049436 [ 8927 ] {9a09180e-03c6-4e1c-a27b-4fce7b1d198c} TCPHandler: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:127: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d03ce73 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d03d636 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:106: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d03ca5c in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d03cb47 in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d03cb47 in /usr/bin/clickhouse 11. /build/src/Interpreters/TreeRewriter.cpp:1372: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b231a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22ff29 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:09:21.219030 [ 8927 ] {99e30ac2-ad26-4560-8967-6710c7266672} executeQuery: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function_1. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46410) (comment: 02125_recursive_sql_user_defined_functions.sql) (in query: SELECT 02125_function_1(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:127: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d03ce73 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d03d636 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d03d636 in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:106: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d03ca5c in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d03cb47 in /usr/bin/clickhouse 11. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d03cb47 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1372: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b231a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22ff29 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 22:09:21.222631 [ 8927 ] {99e30ac2-ad26-4560-8967-6710c7266672} TCPHandler: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function_1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:127: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d03ce73 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d03d636 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d03d636 in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:106: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d03ca5c in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d03cb47 in /usr/bin/clickhouse 11. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d03cb47 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1372: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b231a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22ff29 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 22:09:21.230593 [ 8927 ] {ae7fb618-b4cc-4bdf-a6b0-cbac6947857a} executeQuery: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function_2. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46410) (comment: 02125_recursive_sql_user_defined_functions.sql) (in query: SELECT 02125_function_2(2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:127: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d03ce73 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d03d636 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d03d636 in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:106: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d03ca5c in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d03cb47 in /usr/bin/clickhouse 11. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d03cb47 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1372: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b231a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22ff29 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 22:09:21.231584 [ 8927 ] {ae7fb618-b4cc-4bdf-a6b0-cbac6947857a} TCPHandler: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function_2. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:127: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d03ce73 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d03d636 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d03d636 in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:106: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d03ca5c in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d03cb47 in /usr/bin/clickhouse 11. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d03cb47 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1372: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b231a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b22ff29 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad92703 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 22:09:24.352587 [ 8927 ] {7991d60f-17a1-4754-b4a8-ca615df2e44e} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46426) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:09:24.353562 [ 8927 ] {7991d60f-17a1-4754-b4a8-ca615df2e44e} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:09:25.774838 [ 8927 ] {5d0053f2-7c6a-428d-9f46-aa4c706412f4} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Array value '[1,2,3]': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34772) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Array(UInt32)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationArray.cpp:500: DB::SerializationArray::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29aa4714 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x196c1f77 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 22:09:25.777271 [ 8927 ] {5d0053f2-7c6a-428d-9f46-aa4c706412f4} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Array value '[1,2,3]': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationArray.cpp:500: DB::SerializationArray::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29aa4714 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x196c1f77 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 22:09:27.249280 [ 8927 ] {28945e64-4a81-437c-89ef-3dccd861effd} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Date value '1970-01-02': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34788) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Date')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDate.cpp:23: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29aac293 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 2024.03.27 22:09:27.251889 [ 8927 ] {28945e64-4a81-437c-89ef-3dccd861effd} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Date value '1970-01-02': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDate.cpp:23: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29aac293 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 2024.03.27 22:09:28.725913 [ 8927 ] {26e14bb7-9b05-41de-8d1c-3aebb16ce823} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Date32 value '1970-01-02': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34790) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Date32')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDate32.cpp:21: DB::SerializationDate32::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29aac9f3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 2024.03.27 22:09:28.728357 [ 8927 ] {26e14bb7-9b05-41de-8d1c-3aebb16ce823} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Date32 value '1970-01-02': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDate32.cpp:21: DB::SerializationDate32::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29aac9f3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 2024.03.27 22:09:30.180077 [ 8927 ] {55a8c2c7-0499-4d1e-b6e1-a4031869cd80} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed DateTime value '1970-01-01 07:00:00': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34806) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x DateTime')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDateTime.cpp:69: DB::SerializationDateTime::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29aad2b3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 2024.03.27 22:09:30.182626 [ 8927 ] {55a8c2c7-0499-4d1e-b6e1-a4031869cd80} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed DateTime value '1970-01-01 07:00:00': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDateTime.cpp:69: DB::SerializationDateTime::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29aad2b3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 2024.03.27 22:09:31.625738 [ 8927 ] {434dd61e-286e-4057-8077-1c6068cbdc0f} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed DateTime64 value '1970-01-01 03:00:01.0000': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34808) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x DateTime64(4)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDateTime64.cpp:54: DB::SerializationDateTime64::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29aae813 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 2024.03.27 22:09:31.628255 [ 8927 ] {434dd61e-286e-4057-8077-1c6068cbdc0f} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed DateTime64 value '1970-01-01 03:00:01.0000': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDateTime64.cpp:54: DB::SerializationDateTime64::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29aae813 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 2024.03.27 22:09:33.064517 [ 8927 ] {1b44c97c-45ce-4e7b-821e-ed4342ebff85} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Number value '42': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34812) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x UInt32')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationNumber.cpp:35: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29ae3142 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x196c1f77 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 22:09:33.066989 [ 8927 ] {1b44c97c-45ce-4e7b-821e-ed4342ebff85} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Number value '42': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationNumber.cpp:35: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29ae3142 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x196c1f77 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 22:09:34.537092 [ 8927 ] {d5db14a6-e984-43cf-9894-8a8bec612444} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Decimal value '42.4242': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34822) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Decimal32(4)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:61: DB::SerializationDecimal>::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29ab0b89 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x196c1f77 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 22:09:34.539471 [ 8927 ] {d5db14a6-e984-43cf-9894-8a8bec612444} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Decimal value '42.4242': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:61: DB::SerializationDecimal>::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29ab0b89 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x196c1f77 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 22:09:35.985577 [ 8927 ] {7c9e0576-803d-47a7-8d3b-87bc1187e61a} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed IPv4 value '0.0.0.0': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57750) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x IPv4')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:25: DB::SerializationIP::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x19ad9ad6 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x196c1f77 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 22:09:35.988066 [ 8927 ] {7c9e0576-803d-47a7-8d3b-87bc1187e61a} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed IPv4 value '0.0.0.0': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:25: DB::SerializationIP::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x19ad9ad6 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x196c1f77 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 22:09:37.406369 [ 9744 ] {c2e16b70-08b3-4181-8eb1-fd0b31ed4891} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'trash\n': Row 1: Column 0, name: x, type: IPv4, parsed text: "255.255.255.255" ERROR: garbage after IPv4: "trash" : (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x221fb113 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x221ee6aa in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:210: DB::assertChar(char, DB::ReadBuffer&) @ 0x19adad00 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:101: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x2cbd2edd in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c947232 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2ca1a2ff in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca1895b in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2ca1b781 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b735 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b715 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2ca1b6f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2ca1b6c0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:09:37.411353 [ 8927 ] {c2e16b70-08b3-4181-8eb1-fd0b31ed4891} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'trash\n': Row 1: Column 0, name: x, type: IPv4, parsed text: "255.255.255.255" ERROR: garbage after IPv4: "trash" : While executing ParallelParsingBlockInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57766) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'TSV', 'x IPv4')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x221fb113 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x221ee6aa in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:210: DB::assertChar(char, DB::ReadBuffer&) @ 0x19adad00 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:101: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x2cbd2edd in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c947232 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2ca1a2ff in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca1895b in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2ca1b781 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b735 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b715 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2ca1b6f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2ca1b6c0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse 2024.03.27 22:09:37.414850 [ 8927 ] {c2e16b70-08b3-4181-8eb1-fd0b31ed4891} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'trash\n': Row 1: Column 0, name: x, type: IPv4, parsed text: "255.255.255.255" ERROR: garbage after IPv4: "trash" : While executing ParallelParsingBlockInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x221fb113 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x221ee6aa in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:210: DB::assertChar(char, DB::ReadBuffer&) @ 0x19adad00 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:101: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x2cbd2edd in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c947232 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2ca1a2ff in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca1895b in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2ca1b781 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b735 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b715 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2ca1b6f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2ca1b6c0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse 2024.03.27 22:09:37.418342 [ 8927 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:57766). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ab9546c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ab94828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c7a7fa6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 15. ? @ 0x7f2098f50609 in ? 16. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:09:38.847852 [ 9765 ] {24206da8-8af3-40cf-af7f-1a80d0281326} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 117. DB::Exception: Expected end of line: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) . (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [21]) @ 0x221084be in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:132: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x2c9721ff in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:187: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x2c971f85 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c947232 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2ca1a2ff in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca1895b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2ca1b781 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b735 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b715 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2ca1b6f5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2ca1b6c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:09:38.852662 [ 8927 ] {24206da8-8af3-40cf-af7f-1a80d0281326} executeQuery: Code: 117. DB::Exception: Expected end of line: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57778) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'CSV', 'x IPv4')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [21]) @ 0x221084be in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:132: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x2c9721ff in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:187: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x2c971f85 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c947232 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2ca1a2ff in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca1895b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2ca1b781 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b735 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b715 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2ca1b6f5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2ca1b6c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 2024.03.27 22:09:38.857555 [ 8927 ] {24206da8-8af3-40cf-af7f-1a80d0281326} TCPHandler: Code: 117. DB::Exception: Expected end of line: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [21]) @ 0x221084be in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:132: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x2c9721ff in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:187: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x2c971f85 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c947232 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2ca1a2ff in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca1895b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2ca1b781 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b735 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b715 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2ca1b6f5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2ca1b6c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 2024.03.27 22:09:38.861439 [ 8927 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:57778). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ab9546c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ab94828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c7a7fa6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 15. ? @ 0x7f2098f50609 in ? 16. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:09:40.370742 [ 8927 ] {42a514bc-b44d-43e7-a2c8-1314e9b91a9c} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash"] ' after parsed IPv4 value '0.0.0.0': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57792) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactEachRow', 'x IPv4')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:66: DB::SerializationIP::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x19ad9982 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:642: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29adfa9c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(), bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&), (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&&) @ 0x29ad42f2 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:640: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad7fdd in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:218: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac2bb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 2024.03.27 22:09:40.373275 [ 8927 ] {42a514bc-b44d-43e7-a2c8-1314e9b91a9c} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash"] ' after parsed IPv4 value '0.0.0.0': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:66: DB::SerializationIP::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x19ad9982 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:642: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29adfa9c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(), bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&), (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&&) @ 0x29ad42f2 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:640: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad7fdd in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:218: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac2bb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 2024.03.27 22:09:41.827515 [ 8927 ] {08e5e96b-b7ed-4f37-9779-77e798a8b957} executeQuery: Code: 632. DB::Exception: Unexpected data 'b1trash' after parsed IPv6 value '::': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57806) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x IPv6')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:25: DB::SerializationIP::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x19b03a2d in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x196c1f77 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 22:09:41.829992 [ 8927 ] {08e5e96b-b7ed-4f37-9779-77e798a8b957} TCPHandler: Code: 632. DB::Exception: Unexpected data 'b1trash' after parsed IPv6 value '::': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:25: DB::SerializationIP::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x19b03a2d in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x196c1f77 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 22:09:43.173648 [ 2030 ] {4dd2455c-39c0-4a35-afe4-7116f4d2cec0} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'b1trash\n': Row 1: Column 0, name: x, type: IPv6, parsed text: "0000:0000:0000:0000:0000:ffff:192.168.100.228" ERROR: garbage after IPv6: "b1trash" : (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x221fb113 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x221ee6aa in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:210: DB::assertChar(char, DB::ReadBuffer&) @ 0x19adad00 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:101: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x2cbd2edd in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c947232 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2ca1a2ff in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca1895b in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2ca1b781 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b735 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b715 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2ca1b6f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2ca1b6c0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:09:43.179335 [ 8927 ] {4dd2455c-39c0-4a35-afe4-7116f4d2cec0} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'b1trash\n': Row 1: Column 0, name: x, type: IPv6, parsed text: "0000:0000:0000:0000:0000:ffff:192.168.100.228" ERROR: garbage after IPv6: "b1trash" : While executing ParallelParsingBlockInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57820) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'TSV', 'x IPv6')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x221fb113 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x221ee6aa in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:210: DB::assertChar(char, DB::ReadBuffer&) @ 0x19adad00 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:101: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x2cbd2edd in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c947232 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2ca1a2ff in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca1895b in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2ca1b781 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b735 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b715 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2ca1b6f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2ca1b6c0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse 2024.03.27 22:09:43.184499 [ 8927 ] {4dd2455c-39c0-4a35-afe4-7116f4d2cec0} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'b1trash\n': Row 1: Column 0, name: x, type: IPv6, parsed text: "0000:0000:0000:0000:0000:ffff:192.168.100.228" ERROR: garbage after IPv6: "b1trash" : While executing ParallelParsingBlockInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x221fb113 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x221ee6aa in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:210: DB::assertChar(char, DB::ReadBuffer&) @ 0x19adad00 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:101: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x2cbd2edd in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c947232 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2ca1a2ff in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca1895b in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2ca1b781 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b735 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b715 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2ca1b6f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2ca1b6c0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse 2024.03.27 22:09:44.516734 [ 9469 ] {3b7fdf1b-3a69-45de-b8c0-ebed644e304a} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 117. DB::Exception: Expected end of line: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) . (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [21]) @ 0x221084be in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:132: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x2c9721ff in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:187: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x2c971f85 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c947232 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2ca1a2ff in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca1895b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2ca1b781 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b735 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b715 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2ca1b6f5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2ca1b6c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:09:44.522003 [ 8927 ] {3b7fdf1b-3a69-45de-b8c0-ebed644e304a} executeQuery: Code: 117. DB::Exception: Expected end of line: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57832) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'CSV', 'x IPv6')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [21]) @ 0x221084be in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:132: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x2c9721ff in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:187: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x2c971f85 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c947232 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2ca1a2ff in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca1895b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2ca1b781 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b735 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b715 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2ca1b6f5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2ca1b6c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 2024.03.27 22:09:44.525341 [ 8927 ] {3b7fdf1b-3a69-45de-b8c0-ebed644e304a} TCPHandler: Code: 117. DB::Exception: Expected end of line: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [21]) @ 0x221084be in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:132: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x2c9721ff in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:187: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x2c971f85 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c947232 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2ca1a2ff in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca1895b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2ca1b781 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b735 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2ca1b715 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2ca1b6f5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2ca1b6c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 2024.03.27 22:09:44.527341 [ 8927 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:57832). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ab9546c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ab94828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c7a7fa6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 15. ? @ 0x7f2098f50609 in ? 16. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:09:46.039975 [ 8927 ] {cdbc62ab-be05-40c2-8202-6f08e5f78453} executeQuery: Code: 632. DB::Exception: Unexpected data 'b1trash"] ' after parsed IPv6 value '::': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42018) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactEachRow', 'x IPv6')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:66: DB::SerializationIP::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x19b038c8 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:642: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29adfa9c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(), bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&), (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&&) @ 0x29ad42f2 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:640: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad7fdd in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:218: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac2bb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 2024.03.27 22:09:46.042472 [ 8927 ] {cdbc62ab-be05-40c2-8202-6f08e5f78453} TCPHandler: Code: 632. DB::Exception: Unexpected data 'b1trash"] ' after parsed IPv6 value '::': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:66: DB::SerializationIP::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x19b038c8 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:642: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29adfa9c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(), bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&), (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&&) @ 0x29ad42f2 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:640: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad7fdd in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:218: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac2bb in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8581fa in /usr/bin/clickhouse 2024.03.27 22:09:47.508891 [ 8927 ] {9b07a443-39cb-4349-a76d-f3a368b8b9c8} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Map value '{1:2,2:3}': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42034) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Map(UInt32, UInt32)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationMap.cpp:199: DB::SerializationMap::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29ad07fc in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x196c1f77 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 22:09:47.511294 [ 8927 ] {9b07a443-39cb-4349-a76d-f3a368b8b9c8} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Map value '{1:2,2:3}': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationMap.cpp:199: DB::SerializationMap::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29ad07fc in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x196c1f77 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 22:09:48.962194 [ 8927 ] {4f83febb-40bc-4346-ac53-38ddf14bff00} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Tuple value '(1,2)': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42044) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Tuple(UInt32, UInt32)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationTuple.cpp:153: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_1::operator()() const @ 0x29b123cb in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationTuple.cpp:73: void DB::addElementSafe(unsigned long, DB::IColumn&, DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_1&&) @ 0x29b106d1 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationTuple.cpp:155: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29b10690 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x196c1f77 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 13. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 14. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 17. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 19. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 25. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 26. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 27. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 2024.03.27 22:09:48.964832 [ 8927 ] {4f83febb-40bc-4346-ac53-38ddf14bff00} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Tuple value '(1,2)': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationTuple.cpp:153: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_1::operator()() const @ 0x29b123cb in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationTuple.cpp:73: void DB::addElementSafe(unsigned long, DB::IColumn&, DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_1&&) @ 0x29b106d1 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationTuple.cpp:155: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29b10690 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x196c1f77 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 13. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 14. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 17. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 19. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 25. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 26. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 27. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 2024.03.27 22:09:50.443792 [ 8927 ] {84c5f202-c806-4d69-af51-5958c7090fc3} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed UUID value 'ed9fd45d-6287-47c1-ad9f-d45d628767c1': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42046) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x UUID')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationUUID.cpp:26: DB::SerializationUUID::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29b19317 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x196c1f77 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 22:09:50.446351 [ 8927 ] {84c5f202-c806-4d69-af51-5958c7090fc3} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed UUID value 'ed9fd45d-6287-47c1-ad9f-d45d628767c1': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29a981a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29a96efb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationUUID.cpp:26: DB::SerializationUUID::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29b19317 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x196c1f77 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29addc3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29ad3f72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29ad76b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2c9ac15e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2c9bdf89 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c94718c in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c9086a4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b8f8807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c814210 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c813f0b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8311d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8301b8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c82f740 in /usr/bin/clickhouse 2024.03.27 22:09:53.440603 [ 8927 ] {d6d7e70b-b4f5-49b9-80ce-7d889947f6e0} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42052) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:09:53.441756 [ 8927 ] {d6d7e70b-b4f5-49b9-80ce-7d889947f6e0} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:10:35.222433 [ 8927 ] {55088c17-427f-499a-83df-dfb1665b3ca2} executeQuery: Code: 46. DB::Exception: User-defined function '02101_test_function' doesn't exist. (UNKNOWN_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57862) (comment: 02101_sql_user_defined_functions_drop_if_exists.sql) (in query: DROP FUNCTION 02101_test_function;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:167: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x2d011ec9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:44: DB::InterpreterDropFunctionQuery::execute() @ 0x2ad60db2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:10:35.223320 [ 8927 ] {55088c17-427f-499a-83df-dfb1665b3ca2} TCPHandler: Code: 46. DB::Exception: User-defined function '02101_test_function' doesn't exist. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:167: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x2d011ec9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:44: DB::InterpreterDropFunctionQuery::execute() @ 0x2ad60db2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:10:51.459736 [ 8927 ] {09f33e15-8f87-4127-ad12-77342181cc98} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58668) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:10:51.461218 [ 8927 ] {09f33e15-8f87-4127-ad12-77342181cc98} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:12:07.852040 [ 8927 ] {0278993f-d999-438f-9567-7ed7c8e2f397} executeQuery: Code: 59. DB::Exception: Illegal type Int8 of column n for filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49176) (comment: 01902_table_function_merge_db_repr.sql) (in query: SELECT NULL FROM 01902_db.t_merge WHERE n ORDER BY _table DESC;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FilterTransform.cpp:48: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x2cc60e7b in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x2ced2c25 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, String, bool&>(DB::DataStream const&, std::shared_ptr const&, String&&, bool&) @ 0x2adaec93 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2491: DB::InterpreterSelectQuery::executeWhere(DB::QueryPlan&, std::shared_ptr const&, bool) @ 0x2ada1875 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1652: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99aad in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:12:07.853088 [ 8927 ] {0278993f-d999-438f-9567-7ed7c8e2f397} TCPHandler: Code: 59. DB::Exception: Illegal type Int8 of column n for filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FilterTransform.cpp:48: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x2cc60e7b in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x2ced2c25 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, String, bool&>(DB::DataStream const&, std::shared_ptr const&, String&&, bool&) @ 0x2adaec93 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2491: DB::InterpreterSelectQuery::executeWhere(DB::QueryPlan&, std::shared_ptr const&, bool) @ 0x2ada1875 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1652: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad99aad in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:12:15.088066 [ 33240 ] {edab8b80-409f-4705-b4b6-41b71cd90e5e} executeQuery: Code: 611. DB::Exception: You cannot create recursive function. (CANNOT_CREATE_RECURSIVE_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49196) (comment: 01856_create_function.sql) (in query: CREATE FUNCTION 01856_test_function_1 AS (a, b) -> 01856_test_function_1(a, b) + 01856_test_function_1(a, b);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1a9e957e in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:39: DB::(anonymous namespace)::validateFunctionRecursiveness(DB::IAST const&, String const&) @ 0x2d01312e in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:41: DB::(anonymous namespace)::validateFunctionRecursiveness(DB::IAST const&, String const&) @ 0x2d013194 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:81: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d01130e in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d010cc0 in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d0115e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ad60767 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:12:15.089073 [ 33240 ] {edab8b80-409f-4705-b4b6-41b71cd90e5e} TCPHandler: Code: 611. DB::Exception: You cannot create recursive function. (CANNOT_CREATE_RECURSIVE_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1a9e957e in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:39: DB::(anonymous namespace)::validateFunctionRecursiveness(DB::IAST const&, String const&) @ 0x2d01312e in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:41: DB::(anonymous namespace)::validateFunctionRecursiveness(DB::IAST const&, String const&) @ 0x2d013194 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:81: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d01130e in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d010cc0 in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d0115e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ad60767 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:12:15.172829 [ 33240 ] {06cbf01e-3a5a-4f82-a079-c89d15900a79} executeQuery: Code: 609. DB::Exception: The function 'cast' already exists. (FUNCTION_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49196) (comment: 01856_create_function.sql) (in query: CREATE FUNCTION cast AS a -> a + 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:105: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d010aaf in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d0115e2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ad60767 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:12:15.173741 [ 33240 ] {06cbf01e-3a5a-4f82-a079-c89d15900a79} TCPHandler: Code: 609. DB::Exception: The function 'cast' already exists. (FUNCTION_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:105: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d010aaf in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d0115e2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ad60767 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:12:15.255281 [ 33240 ] {b7d708f9-5e86-4ccb-8c2a-640d1b0a626f} executeQuery: Code: 609. DB::Exception: The aggregate function 'sum' already exists. (FUNCTION_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49196) (comment: 01856_create_function.sql) (in query: CREATE FUNCTION sum AS (a, b) -> a + b;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:108: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d010b67 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d0115e2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ad60767 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:12:15.256226 [ 33240 ] {b7d708f9-5e86-4ccb-8c2a-640d1b0a626f} TCPHandler: Code: 609. DB::Exception: The aggregate function 'sum' already exists. (FUNCTION_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:108: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d010b67 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d0115e2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ad60767 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:12:15.342590 [ 33240 ] {8dde77eb-6f38-46a6-bcd2-1a79a801a100} executeQuery: Code: 609. DB::Exception: User-defined function '01856_test_function_2' already exists. (FUNCTION_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49196) (comment: 01856_create_function.sql) (in query: CREATE FUNCTION 01856_test_function_2 AS (a) -> a || '!!!';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:136: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d01176d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ad60767 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:12:15.343540 [ 33240 ] {8dde77eb-6f38-46a6-bcd2-1a79a801a100} TCPHandler: Code: 609. DB::Exception: User-defined function '01856_test_function_2' already exists. (FUNCTION_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:136: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d01176d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ad60767 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:12:15.354639 [ 33240 ] {4308470c-bd0d-46bc-a3be-e33ae701b654} executeQuery: Code: 46. DB::Exception: User-defined function 'unknown_function' doesn't exist. (UNKNOWN_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49196) (comment: 01856_create_function.sql) (in query: DROP FUNCTION unknown_function;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:167: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x2d011ec9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:44: DB::InterpreterDropFunctionQuery::execute() @ 0x2ad60db2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:12:15.355384 [ 33240 ] {4308470c-bd0d-46bc-a3be-e33ae701b654} TCPHandler: Code: 46. DB::Exception: User-defined function 'unknown_function' doesn't exist. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:167: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x2d011ec9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:44: DB::InterpreterDropFunctionQuery::execute() @ 0x2ad60db2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:12:15.440506 [ 33240 ] {78c17d32-5e3e-4e7e-ad02-0f8c5d30488a} executeQuery: Code: 610. DB::Exception: Cannot drop system function 'CAST'. (CANNOT_DROP_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49196) (comment: 01856_create_function.sql) (in query: DROP FUNCTION CAST;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:120: DB::UserDefinedSQLFunctionFactory::checkCanBeUnregistered(std::shared_ptr const&, String const&) @ 0x2d011424 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:160: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x2d011da5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:44: DB::InterpreterDropFunctionQuery::execute() @ 0x2ad60db2 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:12:15.441388 [ 33240 ] {78c17d32-5e3e-4e7e-ad02-0f8c5d30488a} TCPHandler: Code: 610. DB::Exception: Cannot drop system function 'CAST'. (CANNOT_DROP_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:120: DB::UserDefinedSQLFunctionFactory::checkCanBeUnregistered(std::shared_ptr const&, String const&) @ 0x2d011424 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:160: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x2d011da5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:44: DB::InterpreterDropFunctionQuery::execute() @ 0x2ad60db2 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:12:47.735552 [ 33240 ] {c953e109-5d1d-4bca-b0d0-fce9ed81a2c4} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43630) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:12:47.736538 [ 33240 ] {c953e109-5d1d-4bca-b0d0-fce9ed81a2c4} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:14:16.362406 [ 33240 ] {6b0ca1cc-cff5-40a2-b504-1fce42c45f43} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/db_01530_atomic/db_01530_atomic/data/replicas/test already exists. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50106) (comment: 01530_drop_database_atomic_sync.sql) (in query: CREATE TABLE db_01530_atomic.data (`key` Int) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/db_01530_atomic/data', 'test') ORDER BY key SETTINGS index_granularity = 50926, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 23091, prefer_fetch_merged_part_size_threshold = 2650351013, vertical_merge_algorithm_min_rows_to_activate = 692720, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 3438391347, index_granularity_bytes = 18822468), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:878: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x2b9d0fe4 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:476: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x2b9ca051 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageReplicatedMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, DB::StorageReplicatedMergeTree*>(DB::StorageReplicatedMergeTree*, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c569ee1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void, void>(std::allocator&, DB::StorageReplicatedMergeTree*, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c569ba2 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&>(std::allocator, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c5697f4 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c5695bf in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c5688e8 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:687: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5668ea in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 20. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 22:14:16.364636 [ 33240 ] {6b0ca1cc-cff5-40a2-b504-1fce42c45f43} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/db_01530_atomic/db_01530_atomic/data/replicas/test already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:878: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x2b9d0fe4 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:476: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x2b9ca051 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageReplicatedMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, DB::StorageReplicatedMergeTree*>(DB::StorageReplicatedMergeTree*, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c569ee1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void, void>(std::allocator&, DB::StorageReplicatedMergeTree*, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c569ba2 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&>(std::allocator, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c5697f4 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c5695bf in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c5688e8 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:687: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5668ea in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 20. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 2024.03.27 22:14:37.049083 [ 1382 ] {aa15fa5d-0efd-4866-ac5b-8ac9d346e10f} DistributedSink: Structure does not match (remote: n Int8 Int8(size = 0), local: n UInt64 UInt64(size = 1)), implicit conversion will be done. 2024.03.27 22:16:04.473371 [ 47091 ] {593c958b-9b53-4ad9-80bd-22de6b2f0211} executeQuery: Code: 60. DB::Exception: Table test_eg1ywt4e.table_for_freeze doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51694) (comment: 01417_freeze_partition_verbose.sh) (in query: ALTER TABLE table_for_freeze UNFREEZE PARTITION '7' WITH NAME 'test_01417_single_part_7_system'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2abc5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:04.475174 [ 47091 ] {593c958b-9b53-4ad9-80bd-22de6b2f0211} TCPHandler: Code: 60. DB::Exception: Table test_eg1ywt4e.table_for_freeze doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2abc5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:09.918182 [ 47091 ] {962d40a0-52bc-424c-a733-8ff8d03fc901} executeQuery: Code: 36. DB::Exception: Cannot DROP or CLEAR all columns. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47844) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [33]) @ 0x1973a71e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1344: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b80b879 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:09.919094 [ 47091 ] {962d40a0-52bc-424c-a733-8ff8d03fc901} TCPHandler: Code: 36. DB::Exception: Cannot DROP or CLEAR all columns. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [33]) @ 0x1973a71e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1344: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b80b879 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:10.102232 [ 47091 ] {87cc5538-b6c0-420d-b892-fecdc507026e} executeQuery: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47844) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN x IN PARTITION '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x1c9577cc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5216: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c0e9a01 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:2982: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e6491 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:10.103168 [ 47091 ] {87cc5538-b6c0-420d-b892-fecdc507026e} TCPHandler: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x1c9577cc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5216: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c0e9a01 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:2982: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e6491 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:10.110789 [ 47091 ] {65584749-c6ba-42f9-8736-8a758ff645c0} executeQuery: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47844) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN x IN PARTITION 'asdasd';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x1c9577cc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5216: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c0e9a01 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:2982: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e6491 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:10.111573 [ 47091 ] {65584749-c6ba-42f9-8736-8a758ff645c0} TCPHandler: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x1c9577cc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5216: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c0e9a01 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:2982: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e6491 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:10.118610 [ 47091 ] {0f5e9fe4-afb7-4d53-93b6-94e61b47f314} executeQuery: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47844) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN x IN PARTITION '123';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x1c9577cc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5216: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c0e9a01 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:2982: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e6491 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:10.119472 [ 47091 ] {0f5e9fe4-afb7-4d53-93b6-94e61b47f314} TCPHandler: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x1c9577cc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5216: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c0e9a01 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:2982: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e6491 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:10.208706 [ 47091 ] {7c591231-91b5-4df1-a3c4-edd6b04dce4a} executeQuery: Code: 36. DB::Exception: Cannot drop or clear column 'y', because all columns in part 'all_1_1_0_2' will be removed from disk. Empty parts are not allowed. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47844) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN y;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String const&) @ 0x2c145fc8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3242: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e9410 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:10.209625 [ 47091 ] {7c591231-91b5-4df1-a3c4-edd6b04dce4a} TCPHandler: Code: 36. DB::Exception: Cannot drop or clear column 'y', because all columns in part 'all_1_1_0_2' will be removed from disk. Empty parts are not allowed. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String const&) @ 0x2c145fc8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3242: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e9410 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:10.231090 [ 47091 ] {2160b045-1001-4598-aa90-cc978e635e33} executeQuery: Code: 36. DB::Exception: Cannot drop or clear column 'y', because all columns in part 'all_1_1_0_2' will be removed from disk. Empty parts are not allowed. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47844) (comment: 01388_clear_all_columns.sql) (in query: -- y is only real column in table ALTER TABLE test CLEAR COLUMN y;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String const&) @ 0x2c145fc8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3242: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e9410 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:10.231886 [ 47091 ] {2160b045-1001-4598-aa90-cc978e635e33} TCPHandler: Code: 36. DB::Exception: Cannot drop or clear column 'y', because all columns in part 'all_1_1_0_2' will be removed from disk. Empty parts are not allowed. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String const&) @ 0x2c145fc8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3242: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e9410 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:39.558358 [ 47091 ] {d8f1aaad-ba52-449b-a2c0-491634b780c5} executeQuery: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51680) (comment: 01320_create_sync_race_condition_zookeeper.sh) (in query: SYSTEM SYNC REPLICA test_01320.r), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2ae93c22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:39.560147 [ 47091 ] {d8f1aaad-ba52-449b-a2c0-491634b780c5} TCPHandler: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2ae93c22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:40.886547 [ 47091 ] {073ef3e8-8f61-44c4-8d48-1ce292c6ecb5} executeQuery: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51698) (comment: 01320_create_sync_race_condition_zookeeper.sh) (in query: SYSTEM SYNC REPLICA test_01320.r), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2ae93c22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:40.889785 [ 47091 ] {073ef3e8-8f61-44c4-8d48-1ce292c6ecb5} TCPHandler: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2ae93c22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:42.197850 [ 47091 ] {6f864e3f-8e1b-4925-a4ba-2edbc62e8b06} executeQuery: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51718) (comment: 01320_create_sync_race_condition_zookeeper.sh) (in query: SYSTEM SYNC REPLICA test_01320.r), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2ae93c22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:42.199982 [ 47091 ] {6f864e3f-8e1b-4925-a4ba-2edbc62e8b06} TCPHandler: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2ae93c22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:43.503412 [ 47091 ] {c12f8096-c67a-4fb2-9fe3-472c1e2385f3} executeQuery: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51730) (comment: 01320_create_sync_race_condition_zookeeper.sh) (in query: SYSTEM SYNC REPLICA test_01320.r), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2ae93c22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:43.505719 [ 47091 ] {c12f8096-c67a-4fb2-9fe3-472c1e2385f3} TCPHandler: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2ae93c22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:44.773122 [ 47091 ] {74621df9-9a05-4b37-b989-b1884d69f976} executeQuery: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51752) (comment: 01320_create_sync_race_condition_zookeeper.sh) (in query: SYSTEM SYNC REPLICA test_01320.r), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2ae93c22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:44.774934 [ 47091 ] {74621df9-9a05-4b37-b989-b1884d69f976} TCPHandler: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2ae93c22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:46.063706 [ 47091 ] {0bf2a535-10aa-49c5-84b2-f29a1be79cd7} executeQuery: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55110) (comment: 01320_create_sync_race_condition_zookeeper.sh) (in query: SYSTEM SYNC REPLICA test_01320.r), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2ae93c22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:46.066398 [ 47091 ] {0bf2a535-10aa-49c5-84b2-f29a1be79cd7} TCPHandler: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2ae93c22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:47.341272 [ 47091 ] {33fc6f82-64a1-4a8f-a9b6-18007bd63d85} executeQuery: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55126) (comment: 01320_create_sync_race_condition_zookeeper.sh) (in query: SYSTEM SYNC REPLICA test_01320.r), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2ae93c22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:16:47.343088 [ 47091 ] {33fc6f82-64a1-4a8f-a9b6-18007bd63d85} TCPHandler: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2ae93c22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2ae8bf18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:17:23.327868 [ 47091 ] {01aa2b80-f480-4d5e-8903-89ef844e95d8} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56528) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:17:23.328911 [ 47091 ] {01aa2b80-f480-4d5e-8903-89ef844e95d8} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8ec693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b85cb81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ada0119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ad97a2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ad96bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae7ea34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2ae7f580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:17:26.366683 [ 47091 ] {4adc2c61-1919-4baa-ba27-b02afcf93a6a} executeQuery: Code: 43. DB::Exception: Third argument of function dictHas must be tuple when dictionary is complex and key contains more than 1 attribute.Actual type String.: While processing dictHas('01280_db.ssd_dict', 'a', tuple('1')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36080) (comment: 01280_ssd_complex_key_dictionary.sh) (in query: SELECT dictHas('01280_db.ssd_dict', 'a', tuple('1'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:266: DB::FunctionDictHas::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a140cc8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 22:17:26.368027 [ 47091 ] {4adc2c61-1919-4baa-ba27-b02afcf93a6a} TCPHandler: Code: 43. DB::Exception: Third argument of function dictHas must be tuple when dictionary is complex and key contains more than 1 attribute.Actual type String.: While processing dictHas('01280_db.ssd_dict', 'a', tuple('1')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:266: DB::FunctionDictHas::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a140cc8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 2024.03.27 22:17:29.659027 [ 47091 ] {fbae8208-ff6a-4543-89e3-d2f60c3e1a28} executeQuery: Code: 53. DB::Exception: Dictionary `01280_db`.ssd_dict key lookup structure does not match, expected (String, Int32): While processing dictGetUInt64('01280_db.ssd_dict', 'a', tuple(toInt32(3))). (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36088) (comment: 01280_ssd_complex_key_dictionary.sh) (in query: SELECT dictGetUInt64('01280_db.ssd_dict', 'a', tuple(toInt32(3)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Dictionaries/IDictionary.h:146: DB::IDictionary::convertKeyColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, std::vector, std::allocator>>&) const @ 0x261d1b89 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:530: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a131fa5 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetUInt64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1479cb in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 22:17:29.660375 [ 47091 ] {fbae8208-ff6a-4543-89e3-d2f60c3e1a28} TCPHandler: Code: 53. DB::Exception: Dictionary `01280_db`.ssd_dict key lookup structure does not match, expected (String, Int32): While processing dictGetUInt64('01280_db.ssd_dict', 'a', tuple(toInt32(3))). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Dictionaries/IDictionary.h:146: DB::IDictionary::convertKeyColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, std::vector, std::allocator>>&) const @ 0x261d1b89 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:530: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a131fa5 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetUInt64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1479cb in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 2024.03.27 22:17:34.679092 [ 9038 ] {e40c9aad-900a-4cca-bb3c-898efddb452e} ExternalDictionariesLoader: Could not load external dictionary '0e0052be-58d3-4a65-914e-0a08258c49dd', next update is scheduled at 2024-03-27 22:17:39: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x29925448 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x29924f67 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299250d9 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x2cc727bc in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x2c85b721 in /usr/bin/clickhouse 17. /build/src/Dictionaries/FlatDictionary.cpp:438: DB::FlatDictionary::loadData() @ 0x2620f63a in /usr/bin/clickhouse 18. /build/src/Dictionaries/FlatDictionary.cpp:45: DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x2620f33e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::FlatDictionary::Configuration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::FlatDictionary::Configuration&) @ 0x2625e622 in /usr/bin/clickhouse 20. /build/src/Dictionaries/FlatDictionary.cpp:683: DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_8::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x2623618a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_8&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x26235d7b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_8&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x26235c96 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x26235c16 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x26235ba2 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x290cee22 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x290cc1bb in /usr/bin/clickhouse 27. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x290cb788 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x2a5a99e9 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExternalLoader.cpp:1519: DB::ExternalLoader::createObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x2a5acd47 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExternalLoader.cpp:1283: auto DB::ExternalLoader::ExternalLoader(String const&, std::shared_ptr)::$_1::operator() const&>(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x2a5afbb0 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)::$_1&>()(std::declval(), std::declval(), std::declval const&>())) std::__invoke[abi:v15000])::$_1&, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&>(DB::ExternalLoader::ExternalLoader(String const&, std::shared_ptr)::$_1&, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x2a5afb4d in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:17:34.681313 [ 47091 ] {e40c9aad-900a-4cca-bb3c-898efddb452e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: While processing dictGetUInt64('ordinary_db.dict1', 'second_column', toUInt64(100500)). (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36108) (comment: 01259_dictionary_custom_settings_ddl.sql) (in query: SELECT dictGetUInt64('ordinary_db.dict1', 'second_column', toUInt64(100500));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x29925448 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x29924f67 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299250d9 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x2cc727bc in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x2c85b721 in /usr/bin/clickhouse 17. /build/src/Dictionaries/FlatDictionary.cpp:438: DB::FlatDictionary::loadData() @ 0x2620f63a in /usr/bin/clickhouse 18. /build/src/Dictionaries/FlatDictionary.cpp:45: DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x2620f33e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::FlatDictionary::Configuration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::FlatDictionary::Configuration&) @ 0x2625e622 in /usr/bin/clickhouse 20. /build/src/Dictionaries/FlatDictionary.cpp:683: DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_8::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x2623618a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_8&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x26235d7b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_8&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x26235c96 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x26235c16 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x26235ba2 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x290cee22 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x290cc1bb in /usr/bin/clickhouse 27. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x290cb788 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x2a5a99e9 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExternalLoader.cpp:1519: DB::ExternalLoader::createObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x2a5acd47 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExternalLoader.cpp:1283: auto DB::ExternalLoader::ExternalLoader(String const&, std::shared_ptr)::$_1::operator() const&>(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x2a5afbb0 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)::$_1&>()(std::declval(), std::declval(), std::declval const&>())) std::__invoke[abi:v15000])::$_1&, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&>(DB::ExternalLoader::ExternalLoader(String const&, std::shared_ptr)::$_1&, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x2a5afb4d in /usr/bin/clickhouse 2024.03.27 22:17:34.682726 [ 47091 ] {e40c9aad-900a-4cca-bb3c-898efddb452e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: While processing dictGetUInt64('ordinary_db.dict1', 'second_column', toUInt64(100500)). (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x29925448 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x29924f67 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299250d9 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x2cc727bc in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x260ce702 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c811172 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c85b67e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x2c85b721 in /usr/bin/clickhouse 17. /build/src/Dictionaries/FlatDictionary.cpp:438: DB::FlatDictionary::loadData() @ 0x2620f63a in /usr/bin/clickhouse 18. /build/src/Dictionaries/FlatDictionary.cpp:45: DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x2620f33e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::FlatDictionary::Configuration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::FlatDictionary::Configuration&) @ 0x2625e622 in /usr/bin/clickhouse 20. /build/src/Dictionaries/FlatDictionary.cpp:683: DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_8::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x2623618a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_8&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x26235d7b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_8&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x26235c96 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x26235c16 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x26235ba2 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x290cee22 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x290cc1bb in /usr/bin/clickhouse 27. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x290cb788 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x2a5a99e9 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExternalLoader.cpp:1519: DB::ExternalLoader::createObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x2a5acd47 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExternalLoader.cpp:1283: auto DB::ExternalLoader::ExternalLoader(String const&, std::shared_ptr)::$_1::operator() const&>(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x2a5afbb0 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)::$_1&>()(std::declval(), std::declval(), std::declval const&>())) std::__invoke[abi:v15000])::$_1&, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&>(DB::ExternalLoader::ExternalLoader(String const&, std::shared_ptr)::$_1&, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x2a5afb4d in /usr/bin/clickhouse 2024.03.27 22:17:38.520313 [ 47091 ] {31967a7c-70f7-4e9c-ac1f-6f6f637fd349} executeQuery: Code: 520. DB::Exception: Cannot drop/detach dictionary dict_db_01225.dict as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60816) (comment: 01225_drop_dictionary_as_table.sql) (in query: DROP TABLE dict_db_01225.dict;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDictionary.cpp:151: DB::StorageDictionary::checkTableCanBeDropped() const @ 0x2b8928e4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropQuery.cpp:231: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2abf0bb9 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2abeef14 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2abee78e in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:17:38.521289 [ 47091 ] {31967a7c-70f7-4e9c-ac1f-6f6f637fd349} TCPHandler: Code: 520. DB::Exception: Cannot drop/detach dictionary dict_db_01225.dict as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDictionary.cpp:151: DB::StorageDictionary::checkTableCanBeDropped() const @ 0x2b8928e4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropQuery.cpp:231: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2abf0bb9 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2abeef14 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2abee78e in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:17:57.247941 [ 47539 ] {d5e03a32-308f-41af-a161-2d13d5ff8e02} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 3, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38548) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (3, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:17:57.250839 [ 47539 ] {d5e03a32-308f-41af-a161-2d13d5ff8e02} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 3, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:17:58.684249 [ 47540 ] {ec07c9cb-13e5-47da-b7eb-09203fb6f82b} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 4, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38608) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (4, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:17:58.686863 [ 47540 ] {ec07c9cb-13e5-47da-b7eb-09203fb6f82b} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 4, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:00.016628 [ 47419 ] {3eea9505-4fcd-4c38-8e18-c5eef6931e18} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 5: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38670) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (5, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:00.019651 [ 47419 ] {3eea9505-4fcd-4c38-8e18-c5eef6931e18} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 5: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:03.017770 [ 47419 ] {422d73eb-e50b-4d9e-937d-6d5a1fd7cbf6} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 7, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38788) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (7, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:03.020533 [ 47419 ] {422d73eb-e50b-4d9e-937d-6d5a1fd7cbf6} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 7, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:04.245808 [ 47419 ] {408d5ca0-e121-4566-9876-b85f0ddd379a} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 8, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38820) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (8, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:04.249320 [ 47419 ] {408d5ca0-e121-4566-9876-b85f0ddd379a} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 8, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:05.567624 [ 47539 ] {7e6121e0-360a-4228-810e-8bffa21c9355} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 9: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60670) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (9, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:05.570313 [ 47539 ] {7e6121e0-360a-4228-810e-8bffa21c9355} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 9: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:07.211408 [ 47540 ] {ebd7d7a3-22f6-4b0d-b20e-0f4b6b3aaeb3} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 20: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60748) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (10, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:07.214221 [ 47540 ] {ebd7d7a3-22f6-4b0d-b20e-0f4b6b3aaeb3} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 20: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:08.737288 [ 47540 ] {95dcd9f6-a6f8-42cb-ae13-5e288859a936} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -22: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60808) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-11, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:08.740164 [ 47540 ] {95dcd9f6-a6f8-42cb-ae13-5e288859a936} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -22: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:12.364367 [ 47419 ] {8069060a-73ce-4964-bcbe-0f612dda5fee} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 26: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60954) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (13, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:12.367089 [ 47419 ] {8069060a-73ce-4964-bcbe-0f612dda5fee} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 26: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:18.273682 [ 47541 ] {0a9d4165-6167-4618-8535-73da98da49b7} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -34: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34072) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-17, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:18.277052 [ 47541 ] {0a9d4165-6167-4618-8535-73da98da49b7} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -34: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:19.619659 [ 47419 ] {126b1e9d-6385-4c9a-b238-debf634a982c} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 18, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34134) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (18, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:19.622880 [ 47419 ] {126b1e9d-6385-4c9a-b238-debf634a982c} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 18, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:20.093299 [ 47541 ] {877b888d-bc66-47bd-9d17-c2b40544ff6c} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 19, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34170) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (19, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:20.096262 [ 47541 ] {877b888d-bc66-47bd-9d17-c2b40544ff6c} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 19, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:21.476249 [ 47091 ] {0bfd0ef2-562f-4be4-ad52-6792a9fff532} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 20: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34246) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (20, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:21.478964 [ 47091 ] {0bfd0ef2-562f-4be4-ad52-6792a9fff532} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 20: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:23.946080 [ 47541 ] {3e900965-dc53-491a-ba21-bb50d54d7957} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 42: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34354) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (21, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:23.948990 [ 47541 ] {3e900965-dc53-491a-ba21-bb50d54d7957} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 42: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:24.389324 [ 47750 ] {3f438cea-8884-4c8b-b3c8-5e41e4832f07} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -22: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34374) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-22, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:24.392137 [ 47750 ] {3f438cea-8884-4c8b-b3c8-5e41e4832f07} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -22: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:25.803911 [ 47541 ] {fceaaf51-2b81-4032-b536-972845a9d0e5} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -23, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49468) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-23, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:25.806495 [ 47541 ] {fceaaf51-2b81-4032-b536-972845a9d0e5} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -23, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:28.124671 [ 47419 ] {7e012270-074c-447a-a3dd-d44fc44fee2c} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 24, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49594) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (24, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:28.127402 [ 47419 ] {7e012270-074c-447a-a3dd-d44fc44fee2c} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 24, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:28.640113 [ 47091 ] {ed88d94b-6857-409b-b9bd-f8bae227dfa2} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 25, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49632) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (25, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:28.642739 [ 47091 ] {ed88d94b-6857-409b-b9bd-f8bae227dfa2} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 25, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:29.975623 [ 47541 ] {99e8905f-0ec9-40b0-8ab5-36ee5d1814d8} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 26: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49668) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (26, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:29.978378 [ 47541 ] {99e8905f-0ec9-40b0-8ab5-36ee5d1814d8} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 26: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:41.550638 [ 47750 ] {ee7c828f-ac4d-47d6-b0ff-5005cf27bb4d} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -34: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39960) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-34, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:41.553327 [ 47750 ] {ee7c828f-ac4d-47d6-b0ff-5005cf27bb4d} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -34: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:42.987245 [ 47091 ] {7a5182b6-fc8e-4fce-a6de-c718d13ebfba} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -35, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40040) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-35, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:42.990387 [ 47091 ] {7a5182b6-fc8e-4fce-a6de-c718d13ebfba} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -35, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:45.033753 [ 47540 ] {660cfee7-13c0-461c-a6bb-da743014a5c3} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 70: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40164) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (35, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:45.036673 [ 47540 ] {660cfee7-13c0-461c-a6bb-da743014a5c3} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 70: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:46.440673 [ 47750 ] {5fb648ff-cdb5-4479-a56a-fef87c6f8369} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -36, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53094) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-36, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:46.443867 [ 47750 ] {5fb648ff-cdb5-4479-a56a-fef87c6f8369} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -36, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:51.536756 [ 47750 ] {63f1d60a-48dd-4218-8fe6-7555f487f8af} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 41, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53326) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (41, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:51.539484 [ 47750 ] {63f1d60a-48dd-4218-8fe6-7555f487f8af} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 41, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:52.372131 [ 47540 ] {3040b0aa-81aa-4447-923e-6dc4dd28f249} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 40, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53366) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (40, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:52.374790 [ 47540 ] {3040b0aa-81aa-4447-923e-6dc4dd28f249} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 40, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:52.926132 [ 47540 ] {51d95115-4321-4422-bf29-04fbe38197ba} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 42: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53380) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (42, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:18:52.929704 [ 47540 ] {51d95115-4321-4422-bf29-04fbe38197ba} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 42: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:00.991452 [ 47539 ] {e4d4dd82-dee4-4f33-8b8e-e0ae16c89b8b} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 92: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51394) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (46, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:00.994256 [ 47539 ] {e4d4dd82-dee4-4f33-8b8e-e0ae16c89b8b} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 92: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:06.295704 [ 47091 ] {6506138d-2742-433b-8e4d-2fa8feacf9a8} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -51: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34888) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-51, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:06.298560 [ 47091 ] {6506138d-2742-433b-8e4d-2fa8feacf9a8} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -51: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:07.750624 [ 47091 ] {4d5614d5-99e2-47f7-8301-691ef6845cc5} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -52, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34950) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-52, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:07.753185 [ 47091 ] {4d5614d5-99e2-47f7-8301-691ef6845cc5} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -52, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:11.065113 [ 47539 ] {7de3ceaf-e38d-4c38-9dd9-97023759ccc6} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -53, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35146) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-53, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:11.067748 [ 47539 ] {7de3ceaf-e38d-4c38-9dd9-97023759ccc6} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -53, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:19.965659 [ 47539 ] {05678c7c-5cc9-4fa1-9961-c8bc76ca7ed8} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -118: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60344) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-59, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:19.969229 [ 47539 ] {05678c7c-5cc9-4fa1-9961-c8bc76ca7ed8} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -118: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:21.328607 [ 47419 ] {6648de5b-2240-4e59-81f9-5a282f338714} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 120: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60420) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (60, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:21.331441 [ 47419 ] {6648de5b-2240-4e59-81f9-5a282f338714} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 120: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:22.766678 [ 47091 ] {7b02d62e-2808-4fe3-b4b9-a89987e84166} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -122: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60496) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-61, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:22.769324 [ 47091 ] {7b02d62e-2808-4fe3-b4b9-a89987e84166} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -122: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:26.788214 [ 47091 ] {7765995c-d544-4392-a204-e5ad471c3ab0} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -65: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46496) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-65, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:26.790898 [ 47091 ] {7765995c-d544-4392-a204-e5ad471c3ab0} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -65: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:28.312700 [ 47091 ] {5ce42a5e-3ca6-4785-b7d1-2ab78809233d} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -66, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46560) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-66, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:28.315266 [ 47091 ] {5ce42a5e-3ca6-4785-b7d1-2ab78809233d} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -66, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:29.926181 [ 47091 ] {359b3c98-34e8-41e9-9bd9-d39a4524de3b} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 132: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46640) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (66, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:29.932011 [ 47091 ] {359b3c98-34e8-41e9-9bd9-d39a4524de3b} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 132: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:31.067062 [ 47091 ] {5f4534a9-2ef2-4de7-b208-f66ad8e8c406} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 68, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46674) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (68, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:31.070833 [ 47091 ] {5f4534a9-2ef2-4de7-b208-f66ad8e8c406} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 68, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:31.256624 [ 47541 ] {39ff3ce3-d3fd-43b3-a750-346f4c8bdce3} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 67, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46698) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (67, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:31.259508 [ 47541 ] {39ff3ce3-d3fd-43b3-a750-346f4c8bdce3} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 67, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:32.381902 [ 47541 ] {be9252ce-8205-4bc1-89e4-613e491c6f13} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 69, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46748) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (69, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:32.386437 [ 47541 ] {be9252ce-8205-4bc1-89e4-613e491c6f13} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 69, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:32.603751 [ 47541 ] {81678d52-ed1e-44ed-8cd2-53106695e4a5} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 68, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46754) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (68, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:32.607218 [ 47541 ] {81678d52-ed1e-44ed-8cd2-53106695e4a5} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 68, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:33.752022 [ 47539 ] {aa8dbc5a-b6ae-44b9-908e-847d13fec85d} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 70: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46816) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (70, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:33.754791 [ 47539 ] {aa8dbc5a-b6ae-44b9-908e-847d13fec85d} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 70: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:39.705330 [ 47750 ] {ac0fe548-2fe7-437f-85d3-4e5b97a0ed60} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 146: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43834) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (73, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:39.707930 [ 47750 ] {ac0fe548-2fe7-437f-85d3-4e5b97a0ed60} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 146: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:41.154543 [ 47539 ] {fe818bc2-1f15-4144-9cb6-a7e839e69e6d} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -148: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43886) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-74, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:41.157457 [ 47539 ] {fe818bc2-1f15-4144-9cb6-a7e839e69e6d} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -148: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:42.529934 [ 47539 ] {419bac8c-e85b-4295-a1ae-9925307ae285} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 150: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43950) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (75, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:42.532747 [ 47539 ] {419bac8c-e85b-4295-a1ae-9925307ae285} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 150: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:46.870394 [ 47540 ] {f4afc2ed-7578-41d5-82e2-72a778226dd7} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 156: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37682) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (78, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:46.873511 [ 47540 ] {f4afc2ed-7578-41d5-82e2-72a778226dd7} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 156: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:58.694103 [ 47091 ] {04180d36-6ab8-45f1-8f9e-09fe4654ab04} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -87: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55308) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-87, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:58.696954 [ 47091 ] {04180d36-6ab8-45f1-8f9e-09fe4654ab04} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -87: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:59.925077 [ 47539 ] {e703b95d-cc1f-44cd-a3fa-d2bf8c27350e} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 87, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55380) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (87, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:19:59.928728 [ 47539 ] {e703b95d-cc1f-44cd-a3fa-d2bf8c27350e} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 87, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:00.123060 [ 47539 ] {d586f9dc-a0c1-4a73-9977-0bea3e679b7f} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 88, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55390) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (88, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:00.128964 [ 47539 ] {d586f9dc-a0c1-4a73-9977-0bea3e679b7f} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 88, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:01.477979 [ 47539 ] {00d57463-79ed-4f67-af87-e3167e7f741f} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 89: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55452) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (89, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:01.480753 [ 47539 ] {00d57463-79ed-4f67-af87-e3167e7f741f} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 89: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:02.904699 [ 47539 ] {e690d70a-f774-4123-930b-eb9b25f5b621} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -89, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55528) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-89, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:02.907348 [ 47539 ] {e690d70a-f774-4123-930b-eb9b25f5b621} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -89, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:04.262912 [ 47419 ] {5cb3576d-74ca-4d27-97dd-418c26667df1} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 90, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55570) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (90, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:04.265615 [ 47419 ] {5cb3576d-74ca-4d27-97dd-418c26667df1} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 90, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:04.333355 [ 47419 ] {4d927c5e-3c01-40c8-8630-4b1f55809c5b} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 91, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55586) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (91, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:04.337413 [ 47419 ] {4d927c5e-3c01-40c8-8630-4b1f55809c5b} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 91, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:05.663579 [ 47750 ] {36133430-283c-446b-9f01-339ca0cc87aa} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 92: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42536) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (92, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:05.666189 [ 47750 ] {36133430-283c-446b-9f01-339ca0cc87aa} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 92: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:07.095541 [ 47091 ] {301a4da3-62e7-4729-b801-49c460fbba89} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -93: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42576) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-93, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:07.098146 [ 47091 ] {301a4da3-62e7-4729-b801-49c460fbba89} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -93: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:08.571638 [ 47750 ] {d84711ea-31d1-4597-882e-e594e24ebb88} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -94, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42652) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-94, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:08.574571 [ 47750 ] {d84711ea-31d1-4597-882e-e594e24ebb88} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -94, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:11.510652 [ 47540 ] {b1eee957-a382-46ff-a737-115903cd0c98} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 190: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42772) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (95, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:11.513591 [ 47540 ] {b1eee957-a382-46ff-a737-115903cd0c98} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 190: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:13.005908 [ 47540 ] {f3a4bc7b-b7b3-4a8f-8686-0de45c1ba05a} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -97: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42844) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-97, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:13.008797 [ 47540 ] {f3a4bc7b-b7b3-4a8f-8686-0de45c1ba05a} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -97: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:14.322607 [ 47750 ] {cfdd5f71-7123-4bc1-978d-8b4dcae06bbd} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 194: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42904) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (97, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:14.325388 [ 47750 ] {cfdd5f71-7123-4bc1-978d-8b4dcae06bbd} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 194: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:14.467599 [ 47540 ] {2dac89a7-f472-418d-9fa0-0c5b45340d8c} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -98, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42920) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-98, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:14.470296 [ 47540 ] {2dac89a7-f472-418d-9fa0-0c5b45340d8c} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -98, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:15.639391 [ 47539 ] {4a88f026-e390-4cc9-84a5-d2e8c1bfa0d2} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 196: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50958) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (98, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:15.642207 [ 47539 ] {4a88f026-e390-4cc9-84a5-d2e8c1bfa0d2} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 196: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:16.978758 [ 47750 ] {02caac3a-cd41-4d4f-bc1e-1f62393ebbe8} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 99, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50976) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (99, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:16.982021 [ 47750 ] {02caac3a-cd41-4d4f-bc1e-1f62393ebbe8} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 99, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:17.221485 [ 47539 ] {62a155ae-53ca-4d94-9c25-44a12e9ac015} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 100, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50996) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (100, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:17.225180 [ 47539 ] {62a155ae-53ca-4d94-9c25-44a12e9ac015} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.src (6fbeda82-ce8c-4574-8507-167552f7bd8b) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 100, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:18.322701 [ 47750 ] {c8c473d1-d576-4c60-b9a9-f86779e14587} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 200: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51022) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (100, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:18.326835 [ 47750 ] {c8c473d1-d576-4c60-b9a9-f86779e14587} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_dtgf050y.dst (38a278f5-c30c-4114-92b2-5435cb10fdbe) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 200: while pushing to view test_dtgf050y.mv (1f041186-f7f0-4ef2-b90c-597b93d6b1a0). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2cc391da in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2cc38e25 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:33.963084 [ 47750 ] {7a99ea9c-5a54-4e84-b94e-021538d9ff82} executeQuery: Code: 81. DB::Exception: Database test_01155_ordinary doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57798) (comment: 01155_rename_move_materialized_view.sql) (in query: SELECT materialize(2), substr(_table, 1, 10), s FROM merge('test_01155_atomic', '') ORDER BY _table, s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:347: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7cbda in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMaterializedView.cpp:393: DB::StorageMaterializedView::getTargetTable() const @ 0x2b95d609 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMaterializedView.cpp:404: DB::StorageMaterializedView::getVirtuals() const @ 0x2b960264 in /usr/bin/clickhouse 10. /build/src/Storages/StorageSnapshot.cpp:22: DB::StorageSnapshot::init() @ 0x2bbaf867 in /usr/bin/clickhouse 11. /build/src/Storages/StorageSnapshot.h:36: DB::StorageSnapshot::StorageSnapshot(DB::IStorage const&, std::shared_ptr const&) @ 0x28cecc1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageSnapshot* std::construct_at[abi:v15000] const&, DB::StorageSnapshot*>(DB::StorageSnapshot*, DB::IStorage const&, std::shared_ptr const&) @ 0x28cecb6a in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::StorageSnapshot*, DB::IStorage const&, std::shared_ptr const&) @ 0x28cec929 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, DB::IStorage const&, std::shared_ptr const&) @ 0x28cec62f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::IStorage const&, std::shared_ptr const&, void>(std::allocator const&, DB::IStorage const&, std::shared_ptr const&) @ 0x28cec4a2 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(DB::IStorage const&, std::shared_ptr const&) @ 0x28cec42e in /usr/bin/clickhouse 17. /build/src/Storages/IStorage.h:640: DB::IStorage::getStorageSnapshot(std::shared_ptr const&, std::shared_ptr) const @ 0x28ceb5a5 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:288: DB::StorageMerge::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b984d5b in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b44d in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 22:20:33.964704 [ 47750 ] {7a99ea9c-5a54-4e84-b94e-021538d9ff82} TCPHandler: Code: 81. DB::Exception: Database test_01155_ordinary doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:347: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7cbda in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMaterializedView.cpp:393: DB::StorageMaterializedView::getTargetTable() const @ 0x2b95d609 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMaterializedView.cpp:404: DB::StorageMaterializedView::getVirtuals() const @ 0x2b960264 in /usr/bin/clickhouse 10. /build/src/Storages/StorageSnapshot.cpp:22: DB::StorageSnapshot::init() @ 0x2bbaf867 in /usr/bin/clickhouse 11. /build/src/Storages/StorageSnapshot.h:36: DB::StorageSnapshot::StorageSnapshot(DB::IStorage const&, std::shared_ptr const&) @ 0x28cecc1a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageSnapshot* std::construct_at[abi:v15000] const&, DB::StorageSnapshot*>(DB::StorageSnapshot*, DB::IStorage const&, std::shared_ptr const&) @ 0x28cecb6a in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::StorageSnapshot*, DB::IStorage const&, std::shared_ptr const&) @ 0x28cec929 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, DB::IStorage const&, std::shared_ptr const&) @ 0x28cec62f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::IStorage const&, std::shared_ptr const&, void>(std::allocator const&, DB::IStorage const&, std::shared_ptr const&) @ 0x28cec4a2 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(DB::IStorage const&, std::shared_ptr const&) @ 0x28cec42e in /usr/bin/clickhouse 17. /build/src/Storages/IStorage.h:640: DB::IStorage::getStorageSnapshot(std::shared_ptr const&, std::shared_ptr) const @ 0x28ceb5a5 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:288: DB::StorageMerge::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b984d5b in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b44d in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 22:20:34.105058 [ 47750 ] {d5e844b4-d75d-44e0-a8e9-4e9148ae1100} executeQuery: Code: 36. DB::Exception: Dictionary (`test_01155_ordinary.dict`) not found: While processing dictGet('test_01155_ordinary.dict', 'x', 'after moving tables'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57798) (comment: 01155_rename_move_materialized_view.sql) (in query: SELECT dictGet('test_01155_ordinary.dict', 'x', 'after moving tables');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a5a9db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a5aa240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a139a58 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a132a6a in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 22:20:34.106355 [ 47750 ] {d5e844b4-d75d-44e0-a8e9-4e9148ae1100} TCPHandler: Code: 36. DB::Exception: Dictionary (`test_01155_ordinary.dict`) not found: While processing dictGet('test_01155_ordinary.dict', 'x', 'after moving tables'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a5a9db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a5aa240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a139a58 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a132a6a in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 22:20:44.747273 [ 50281 ] {a9abdeee-f19b-4757-9391-cbba3677f422} executeQuery: Code: 233. DB::Exception: Unexpected part name: for format version: 1. (BAD_DATA_PART_NAME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40684) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_8 DROP PART ''), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity&>::type>, String const&, StrongTypedef&) @ 0x2c2fc4cc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreePartInfo.cpp:23: DB::MergeTreePartInfo::fromPartName(String const&, StrongTypedef) @ 0x2c2f9ba7 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4611: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x2c10153d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:155: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bb97 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:44.748919 [ 50281 ] {a9abdeee-f19b-4757-9391-cbba3677f422} TCPHandler: Code: 233. DB::Exception: Unexpected part name: for format version: 1. (BAD_DATA_PART_NAME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity&>::type>, String const&, StrongTypedef&) @ 0x2c2fc4cc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreePartInfo.cpp:23: DB::MergeTreePartInfo::fromPartName(String const&, StrongTypedef) @ 0x2c2f9ba7 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4611: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x2c10153d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:155: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bb97 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:50.751549 [ 50284 ] {d7def996-fded-40dd-b2fe-61d8cc24d5e3} executeQuery: Code: 48. DB::Exception: Table test_6md1jt87.src_9 (88806fe5-01e7-437b-97c5-5509c4e0ba3d) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35528) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_9 MOVE PARTITION 3 TO TABLE dst_5), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:50.753201 [ 50284 ] {d7def996-fded-40dd-b2fe-61d8cc24d5e3} TCPHandler: Code: 48. DB::Exception: Table test_6md1jt87.src_9 (88806fe5-01e7-437b-97c5-5509c4e0ba3d) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:51.154028 [ 50286 ] {1670492f-2545-49cf-8523-335d287de309} executeQuery: Code: 232. DB::Exception: No part 3_3_3_0 in committed state. (NO_SUCH_DATA_PART) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35554) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_9 DROP PART '3_3_3_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c101c35 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103a30 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:51.155588 [ 50286 ] {1670492f-2545-49cf-8523-335d287de309} TCPHandler: Code: 232. DB::Exception: No part 3_3_3_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c101c35 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103a30 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:55.886965 [ 864 ] {} test_6md1jt87.dst_0 (5b6ad0aa-e36e-45f1-a27d-85c73761982f): Do not enqueue part 9_0_8_1 for check because it's covered by drop range 9_0_8_999999999_999999999 and going to be removed 2024.03.27 22:20:55.896956 [ 876 ] {} test_6md1jt87.dst_5 (ebb8d82e-fa5d-4805-b264-2dfaa754c7bf): Do not enqueue part 9_0_8_1 for check because it's covered by drop range 9_0_8_999999999_999999999 and going to be removed 2024.03.27 22:20:55.905063 [ 867 ] {} test_6md1jt87.dst_7 (f9187686-3f32-4bf7-915d-ce458321591e): Do not enqueue part 9_0_8_1 for check because it's covered by drop range 9_0_8_999999999_999999999 and going to be removed 2024.03.27 22:20:55.948054 [ 871 ] {} test_6md1jt87.dst_1 (0456289b-b778-4b35-aeda-2b3e3b3fd8c7): Do not enqueue part 9_0_8_1 for check because it's covered by drop range 9_0_8_999999999_999999999 and going to be removed 2024.03.27 22:20:56.003905 [ 865 ] {} test_6md1jt87.dst_2 (833f2a62-0def-4e9d-a446-b8e57f00c61b): Do not enqueue part 9_0_8_1 for check because it's covered by drop range 9_0_8_999999999_999999999 and going to be removed 2024.03.27 22:20:56.031435 [ 869 ] {} test_6md1jt87.dst_6 (39f8a947-6c5d-4d1a-b815-11834d18b6b1): Do not enqueue part 9_0_8_1 for check because it's covered by drop range 9_0_8_999999999_999999999 and going to be removed 2024.03.27 22:20:56.093452 [ 878 ] {} test_6md1jt87.dst_9 (ea979382-09e2-4620-aa11-85064a781cbf): Do not enqueue part 9_0_8_1 for check because it's covered by drop range 9_0_8_999999999_999999999 and going to be removed 2024.03.27 22:20:56.149408 [ 872 ] {} test_6md1jt87.dst_14 (cba2e98b-7e4c-4a6f-af87-ef8872417872): Do not enqueue part 9_0_8_1 for check because it's covered by drop range 9_0_8_999999999_999999999 and going to be removed 2024.03.27 22:20:56.187315 [ 876 ] {} test_6md1jt87.dst_12 (1b3dfe40-c850-4b73-ae3e-a60f63c8e4b6): Do not enqueue part 9_0_8_1 for check because it's covered by drop range 9_0_8_999999999_999999999 and going to be removed 2024.03.27 22:20:56.187396 [ 873 ] {} test_6md1jt87.dst_3 (85046111-8617-4dec-a7a7-fa0fbed9ed1f): Do not enqueue part 9_0_8_1 for check because it's covered by drop range 9_0_8_999999999_999999999 and going to be removed 2024.03.27 22:20:56.698011 [ 50285 ] {a333dd05-dd1f-4b32-8653-7c43a4cff114} executeQuery: Code: 48. DB::Exception: Table test_6md1jt87.src_9 (88806fe5-01e7-437b-97c5-5509c4e0ba3d) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59950) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_9 MOVE PARTITION 0 TO TABLE dst_4), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:56.700454 [ 50285 ] {a333dd05-dd1f-4b32-8653-7c43a4cff114} TCPHandler: Code: 48. DB::Exception: Table test_6md1jt87.src_9 (88806fe5-01e7-437b-97c5-5509c4e0ba3d) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:57.084316 [ 50285 ] {8594cc8e-01d1-4df7-a44a-1060b5bf2e8b} executeQuery: Code: 232. DB::Exception: No part 0_4_4_0 in committed state. (NO_SUCH_DATA_PART) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59966) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_6 DROP PART '0_4_4_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c101c35 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103a30 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:57.085749 [ 50285 ] {8594cc8e-01d1-4df7-a44a-1060b5bf2e8b} TCPHandler: Code: 232. DB::Exception: No part 0_4_4_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c101c35 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103a30 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:58.965957 [ 50287 ] {915a3f2a-a884-47ef-84ee-c0bab92ede30} executeQuery: Code: 48. DB::Exception: Table test_6md1jt87.src_6 (6c901b45-04ce-45f6-938d-c74bb476b5de) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60036) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_6 MOVE PARTITION 0 TO TABLE dst_10), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:20:58.967508 [ 50287 ] {915a3f2a-a884-47ef-84ee-c0bab92ede30} TCPHandler: Code: 48. DB::Exception: Table test_6md1jt87.src_6 (6c901b45-04ce-45f6-938d-c74bb476b5de) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:00.502714 [ 50287 ] {675ea984-0a5b-4bd0-b446-bfce8efa7fca} executeQuery: Code: 48. DB::Exception: Table test_6md1jt87.src_12 (c1129db4-949b-4492-b080-7a9f192d5a53) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60110) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_12 MOVE PARTITION 0 TO TABLE dst_14), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:00.504224 [ 50287 ] {675ea984-0a5b-4bd0-b446-bfce8efa7fca} TCPHandler: Code: 48. DB::Exception: Table test_6md1jt87.src_12 (c1129db4-949b-4492-b080-7a9f192d5a53) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:06.542247 [ 50288 ] {77301b8c-1a29-4d62-842b-1fb8f84323fb} executeQuery: Code: 384. DB::Exception: Part 7_4_4_0 has already been assigned a merge into 7_4_9_1. (PART_IS_TEMPORARILY_LOCKED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47258) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_8 DROP PART '7_4_4_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:7674: DB::StorageReplicatedMergeTree::dropPartImpl(std::shared_ptr&, String, DB::ReplicatedMergeTreeLogEntry&, bool, bool) @ 0x2ba3e30c in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5469: DB::StorageReplicatedMergeTree::dropPart(String const&, bool, std::shared_ptr) @ 0x2ba4025b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4808: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103a84 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:06.543891 [ 50288 ] {77301b8c-1a29-4d62-842b-1fb8f84323fb} TCPHandler: Code: 384. DB::Exception: Part 7_4_4_0 has already been assigned a merge into 7_4_9_1. (PART_IS_TEMPORARILY_LOCKED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:7674: DB::StorageReplicatedMergeTree::dropPartImpl(std::shared_ptr&, String, DB::ReplicatedMergeTreeLogEntry&, bool, bool) @ 0x2ba3e30c in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5469: DB::StorageReplicatedMergeTree::dropPart(String const&, bool, std::shared_ptr) @ 0x2ba4025b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4808: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103a84 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:09.413814 [ 50288 ] {c101dc5a-d1b9-4194-b109-abc8c6b4c700} executeQuery: Code: 232. DB::Exception: No part 0_9_9_0 in committed state. (NO_SUCH_DATA_PART) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47358) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_7 DROP PART '0_9_9_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c101c35 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103a30 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:09.415317 [ 50288 ] {c101dc5a-d1b9-4194-b109-abc8c6b4c700} TCPHandler: Code: 232. DB::Exception: No part 0_9_9_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c101c35 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103a30 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:09.832485 [ 47540 ] {eb3bcc36-b0e1-4a69-9402-0efdae68b6aa} executeQuery: Code: 48. DB::Exception: Table test_6md1jt87.src_6 (6c901b45-04ce-45f6-938d-c74bb476b5de) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47406) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_6 MOVE PARTITION 0 TO TABLE dst_0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:09.834482 [ 47540 ] {eb3bcc36-b0e1-4a69-9402-0efdae68b6aa} TCPHandler: Code: 48. DB::Exception: Table test_6md1jt87.src_6 (6c901b45-04ce-45f6-938d-c74bb476b5de) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:12.553799 [ 50292 ] {5a2c49d7-245e-43cf-8080-ad4c2d8e5ef6} executeQuery: Code: 232. DB::Exception: No part 1_14_14_0 in committed state. (NO_SUCH_DATA_PART) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47486) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_15 DROP PART '1_14_14_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c101c35 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103a30 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:12.555679 [ 50292 ] {5a2c49d7-245e-43cf-8080-ad4c2d8e5ef6} TCPHandler: Code: 232. DB::Exception: No part 1_14_14_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c101c35 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103a30 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:17.918076 [ 50283 ] {a687cb1d-2981-4608-a960-6d3b6f70c6ec} executeQuery: Code: 48. DB::Exception: Table test_6md1jt87.src_9 (88806fe5-01e7-437b-97c5-5509c4e0ba3d) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:32896) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_9 MOVE PARTITION 2 TO TABLE dst_10), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:17.919673 [ 50283 ] {a687cb1d-2981-4608-a960-6d3b6f70c6ec} TCPHandler: Code: 48. DB::Exception: Table test_6md1jt87.src_9 (88806fe5-01e7-437b-97c5-5509c4e0ba3d) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:22.107537 [ 50288 ] {83340d14-f13a-429e-b538-b243c6c75b97} executeQuery: Code: 232. DB::Exception: No part 9_14_14_0 in committed state. (NO_SUCH_DATA_PART) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33060) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_11 DROP PART '9_14_14_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c101c35 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103a30 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:22.110036 [ 50288 ] {83340d14-f13a-429e-b538-b243c6c75b97} TCPHandler: Code: 232. DB::Exception: No part 9_14_14_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c101c35 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103a30 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:22.364952 [ 50288 ] {7bd715d0-8257-4c1b-9d1d-af6aeaaa93de} executeQuery: Code: 48. DB::Exception: Table test_6md1jt87.src_6 (6c901b45-04ce-45f6-938d-c74bb476b5de) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33072) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_6 MOVE PARTITION 1 TO TABLE dst_13), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:22.366591 [ 50288 ] {7bd715d0-8257-4c1b-9d1d-af6aeaaa93de} TCPHandler: Code: 48. DB::Exception: Table test_6md1jt87.src_6 (6c901b45-04ce-45f6-938d-c74bb476b5de) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:23.896714 [ 50283 ] {07fe402a-121d-4fd6-8e94-a18443e02c2b} executeQuery: Code: 48. DB::Exception: Table test_6md1jt87.src_12 (c1129db4-949b-4492-b080-7a9f192d5a53) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33146) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_12 MOVE PARTITION 3 TO TABLE dst_11), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:23.898192 [ 50283 ] {07fe402a-121d-4fd6-8e94-a18443e02c2b} TCPHandler: Code: 48. DB::Exception: Table test_6md1jt87.src_12 (c1129db4-949b-4492-b080-7a9f192d5a53) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:27.040313 [ 869 ] {} test_6md1jt87.src_7 (ff1a5763-eaab-4269-b5ac-c321d3bfbcc3): Do not enqueue part 3_5_15_2 for check because it's covered by drop range 3_0_16_999999999_999999999 and going to be removed 2024.03.27 22:21:27.042447 [ 879 ] {} test_6md1jt87.src_4 (beb58bd4-8bbd-4170-a089-1c80b1dd5e41): Do not enqueue part 3_5_15_2 for check because it's covered by drop range 3_0_16_999999999_999999999 and going to be removed 2024.03.27 22:21:30.811206 [ 50292 ] {64e93f02-b8f0-4db9-ace4-05debf7c2fc6} executeQuery: Code: 48. DB::Exception: Table test_6md1jt87.src_12 (c1129db4-949b-4492-b080-7a9f192d5a53) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34406) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_12 MOVE PARTITION 8 TO TABLE dst_8), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:30.812768 [ 50292 ] {64e93f02-b8f0-4db9-ace4-05debf7c2fc6} TCPHandler: Code: 48. DB::Exception: Table test_6md1jt87.src_12 (c1129db4-949b-4492-b080-7a9f192d5a53) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:30.841754 [ 879 ] {} test_6md1jt87.src_10 (4f7e7d2f-ec30-49da-b271-e1ee588c8dc5): Do not enqueue part 4_19_24_1 for check because it's covered by drop range 4_0_26_999999999_999999999 and going to be removed 2024.03.27 22:21:31.605909 [ 50291 ] {20e36edf-3549-4bbc-b5d5-526e4c991650} executeQuery: Code: 232. DB::Exception: No part 3_23_23_0 in committed state. (NO_SUCH_DATA_PART) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34408) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_15 DROP PART '3_23_23_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c101c35 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103a30 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:31.607443 [ 50291 ] {20e36edf-3549-4bbc-b5d5-526e4c991650} TCPHandler: Code: 232. DB::Exception: No part 3_23_23_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c101c35 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c103a30 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:32.349918 [ 50291 ] {2587af47-2e56-41ec-922e-f1a84eec6e3f} executeQuery: Code: 48. DB::Exception: Table test_6md1jt87.src_12 (c1129db4-949b-4492-b080-7a9f192d5a53) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34440) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_12 MOVE PARTITION 6 TO TABLE dst_13), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:32.351445 [ 50291 ] {2587af47-2e56-41ec-922e-f1a84eec6e3f} TCPHandler: Code: 48. DB::Exception: Table test_6md1jt87.src_12 (c1129db4-949b-4492-b080-7a9f192d5a53) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:34.301072 [ 50291 ] {9899fb8c-dda2-4def-8fa7-6814ffb18ae7} executeQuery: Code: 48. DB::Exception: Table test_6md1jt87.src_9 (88806fe5-01e7-437b-97c5-5509c4e0ba3d) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34532) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_9 MOVE PARTITION 7 TO TABLE dst_15), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:34.302589 [ 50291 ] {9899fb8c-dda2-4def-8fa7-6814ffb18ae7} TCPHandler: Code: 48. DB::Exception: Table test_6md1jt87.src_9 (88806fe5-01e7-437b-97c5-5509c4e0ba3d) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:38.098303 [ 47750 ] {a9696480-e799-4e52-81de-2c4ea8e60948} executeQuery: Code: 48. DB::Exception: Table test_6md1jt87.src_0 (906db417-8616-401e-aabd-4410decffc45) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46672) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_0 MOVE PARTITION 2 TO TABLE dst_2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:38.100472 [ 47750 ] {a9696480-e799-4e52-81de-2c4ea8e60948} TCPHandler: Code: 48. DB::Exception: Table test_6md1jt87.src_0 (906db417-8616-401e-aabd-4410decffc45) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:39.649843 [ 47419 ] {9795ad96-73e8-417a-a770-c47b468289f2} executeQuery: Code: 48. DB::Exception: Table test_6md1jt87.src_3 (123ed9eb-19a6-4250-a351-69b05e0f1ac2) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46700) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_3 MOVE PARTITION 1 TO TABLE dst_11), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:39.651380 [ 47419 ] {9795ad96-73e8-417a-a770-c47b468289f2} TCPHandler: Code: 48. DB::Exception: Table test_6md1jt87.src_3 (123ed9eb-19a6-4250-a351-69b05e0f1ac2) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c588365 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c104195 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:42.185387 [ 47419 ] {01b72630-00b8-4510-a4cc-0982566df62b} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:46770). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46770) (comment: 01154_move_partition_long.sh) (in query: INSERT INTO dst_4 SELECT * FROM generateRandom('p UInt64, k UInt64, v UInt64') LIMIT 22), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ab9b948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ab9b1c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x19725e37 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1066: DB::TCPHandler::sendProfileEvents() @ 0x2c7b6219 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1076: DB::TCPHandler::sendSelectProfileEvents() @ 0x2c7b2674 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:482: DB::TCPHandler::runImpl() @ 0x2c7a9742 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:42.186715 [ 47419 ] {01b72630-00b8-4510-a4cc-0982566df62b} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:46770). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ab9b948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ab9b1c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x19725e37 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1991: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x2c7bb8d5 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2068: DB::TCPHandler::sendLogs() @ 0x2c7b287f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:598: DB::TCPHandler::runImpl() @ 0x2c7aab48 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:21:42.187303 [ 47419 ] {01b72630-00b8-4510-a4cc-0982566df62b} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:46770). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ab9b948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ab9b1c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x19725e37 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1066: DB::TCPHandler::sendProfileEvents() @ 0x2c7b6219 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1076: DB::TCPHandler::sendSelectProfileEvents() @ 0x2c7b2674 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:482: DB::TCPHandler::runImpl() @ 0x2c7a9742 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:21:42.187850 [ 47419 ] {01b72630-00b8-4510-a4cc-0982566df62b} TCPHandler: Client has gone away. 2024.03.27 22:22:49.333836 [ 47419 ] {3588bdeb-bff3-401d-a01e-bab6f2131374} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE mv; to attach existing table or CREATE TABLE mv ; to create new table or ATTACH TABLE mv FROM '/path/to/data/'
; to create new table and attach data. 2024.03.27 22:22:49.550497 [ 47419 ] {546dbb86-9f07-476d-ae21-050cfdb115dd} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE mv; to attach existing table or CREATE TABLE mv
; to create new table or ATTACH TABLE mv FROM '/path/to/data/'
; to create new table and attach data. 2024.03.27 22:22:49.751823 [ 47419 ] {e4d748ce-1682-4d4d-9154-c16ca0dfd49c} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE mv; to attach existing table or CREATE TABLE mv
; to create new table or ATTACH TABLE mv FROM '/path/to/data/'
; to create new table and attach data. 2024.03.27 22:22:49.753994 [ 47419 ] {e4d748ce-1682-4d4d-9154-c16ca0dfd49c} executeQuery: Code: 36. DB::Exception: Materialized view test_9ecaan8k.mv cannot point to itself. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36514) (comment: 01153_attach_mv_uuid.sql) (in query: ATTACH MATERIALIZED VIEW mv UUID '3bd68e3c-2693-4352-ad66-a66eba9e345e' TO INNER UUID '3bd68e3c-2693-4352-ad66-a66eba9e345e' (n Int32, n2 Int64) ENGINE = MergeTree PARTITION BY n % 10 ORDER BY n AS SELECT n, n * n AS n2 FROM src;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMaterializedView.cpp:97: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x2b95c6ff in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b96235a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9620cd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b961d99 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b961bee in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b961b54 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMaterializedView.cpp:469: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b960e2d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b960dbd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b960d5d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2b960d1d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2b960ce5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 22:22:49.755358 [ 47419 ] {e4d748ce-1682-4d4d-9154-c16ca0dfd49c} TCPHandler: Code: 36. DB::Exception: Materialized view test_9ecaan8k.mv cannot point to itself. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMaterializedView.cpp:97: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x2b95c6ff in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b96235a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9620cd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b961d99 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b961bee in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b961b54 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMaterializedView.cpp:469: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b960e2d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b960dbd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b960d5d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2b960d1d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2b960ce5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 2024.03.27 22:22:51.319825 [ 47419 ] {cb37ecb1-65a7-436d-ba52-43adf108b2bc} executeQuery: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36516) (comment: 01148_zookeeper_path_macros_unfolding.sql) (in query: CREATE TABLE rmt (n UInt64, s String) ENGINE = ReplicatedMergeTree('{default_path_test}{uuid}', '{default_name_test}') ORDER BY n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x196bd97e in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x22168804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c567116 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:396: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5635c6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:22:51.321165 [ 47419 ] {cb37ecb1-65a7-436d-ba52-43adf108b2bc} TCPHandler: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x196bd97e in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x22168804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c567116 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:396: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5635c6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:22:51.542701 [ 47419 ] {b3c02db7-bf1c-4b17-a23d-d0f022744698} executeQuery: Code: 48. DB::Exception: Cannot rename Replicated table, because zookeeper_path contains implicit 'database' or 'table' macro. We cannot rename path in ZooKeeper, so path may become inconsistent with table name. If you really want to rename table, you should edit metadata file first and restart server or reattach the table. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36516) (comment: 01148_zookeeper_path_macros_unfolding.sql) (in query: RENAME TABLE rmt TO rmt2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [301]) @ 0x2baa363e in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:5596: DB::StorageReplicatedMergeTree::checkTableCanBeRenamed(DB::StorageID const&) const @ 0x2ba42782 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseAtomic.cpp:249: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x29b47bce in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:139: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x2ad7d7ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterRenameQuery.cpp:75: DB::InterpreterRenameQuery::execute() @ 0x2ad7c279 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:22:51.543728 [ 47419 ] {b3c02db7-bf1c-4b17-a23d-d0f022744698} TCPHandler: Code: 48. DB::Exception: Cannot rename Replicated table, because zookeeper_path contains implicit 'database' or 'table' macro. We cannot rename path in ZooKeeper, so path may become inconsistent with table name. If you really want to rename table, you should edit metadata file first and restart server or reattach the table. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [301]) @ 0x2baa363e in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:5596: DB::StorageReplicatedMergeTree::checkTableCanBeRenamed(DB::StorageID const&) const @ 0x2ba42782 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseAtomic.cpp:249: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x29b47bce in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:139: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x2ad7d7ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterRenameQuery.cpp:75: DB::InterpreterRenameQuery::execute() @ 0x2ad7c279 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:22:51.939772 [ 47419 ] {1ca564b6-d5b6-4235-af25-30ae71aab6fe} executeQuery: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36516) (comment: 01148_zookeeper_path_macros_unfolding.sql) (in query: CREATE TABLE test_01148_atomic.rmt3 AS test_01148_atomic.rmt2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x196bd97e in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x22168804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c567116 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:396: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5635c6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:22:51.942595 [ 47419 ] {1ca564b6-d5b6-4235-af25-30ae71aab6fe} TCPHandler: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x196bd97e in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x22168804 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c567116 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:396: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5635c6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28f72f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28f72efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28f72ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b8e939e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b8e7c7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b8e6386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4df9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 28. ? @ 0x7f2098f50609 in ? 29. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:22:52.415120 [ 47419 ] {5aaed4aa-170e-4101-b606-7fd9c9cae924} executeQuery: Code: 48. DB::Exception: Cannot move Replicated table to Ordinary database, because zookeeper_path contains implicit 'uuid' macro. If you really want to rename table, you should edit metadata file first and restart server or reattach the table. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36516) (comment: 01148_zookeeper_path_macros_unfolding.sql) (in query: RENAME TABLE test_01148_atomic.rmt3 to test_01148_ordinary.rmt3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [220]) @ 0x2baa371e in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:5605: DB::StorageReplicatedMergeTree::checkTableCanBeRenamed(DB::StorageID const&) const @ 0x2ba428e5 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5613: DB::StorageReplicatedMergeTree::rename(String const&, DB::StorageID const&) @ 0x2ba429ba in /usr/bin/clickhouse 8. /build/src/Databases/DatabaseOnDisk.cpp:427: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x29b38bd7 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseAtomic.cpp:167: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x29b47634 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterRenameQuery.cpp:139: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x2ad7d7ac in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterRenameQuery.cpp:75: DB::InterpreterRenameQuery::execute() @ 0x2ad7c279 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:22:52.416164 [ 47419 ] {5aaed4aa-170e-4101-b606-7fd9c9cae924} TCPHandler: Code: 48. DB::Exception: Cannot move Replicated table to Ordinary database, because zookeeper_path contains implicit 'uuid' macro. If you really want to rename table, you should edit metadata file first and restart server or reattach the table. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [220]) @ 0x2baa371e in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:5605: DB::StorageReplicatedMergeTree::checkTableCanBeRenamed(DB::StorageID const&) const @ 0x2ba428e5 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5613: DB::StorageReplicatedMergeTree::rename(String const&, DB::StorageID const&) @ 0x2ba429ba in /usr/bin/clickhouse 8. /build/src/Databases/DatabaseOnDisk.cpp:427: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x29b38bd7 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseAtomic.cpp:167: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x29b47634 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterRenameQuery.cpp:139: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x2ad7d7ac in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterRenameQuery.cpp:75: DB::InterpreterRenameQuery::execute() @ 0x2ad7c279 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 21. ? @ 0x7f2098f50609 in ? 22. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:22:52.802635 [ 47419 ] {1baae3ac-3ffc-4bed-921e-a93011cbff1a} DatabaseReplicated (imdb_01148): It's not recommended to explicitly specify zookeeper_path and replica_name in ReplicatedMergeTree arguments 2024.03.27 22:22:57.475453 [ 2751 ] {13c545d5-6ffa-468c-97f2-6c261411d82e} executeQuery: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:54170) (in query: SELECT COUNT() FROM _temporary_and_external_tables.`_tmp_e89766cb-1e03-4299-b36e-11b9976fb602`), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:327: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7c8fa in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:22:57.476600 [ 2751 ] {13c545d5-6ffa-468c-97f2-6c261411d82e} DynamicQueryHandler: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:327: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7c8fa in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:22:57.501335 [ 2751 ] {7760ac0b-aabd-4fd3-80ee-f7aebfb1b8c3} executeQuery: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:54184) (in query: SELECT COUNT() FROM _temporary_and_external_tables.`_tmp_e89766cb-1e03-4299-b36e-11b9976fb602`), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:327: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7c8fa in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:22:57.502179 [ 2751 ] {7760ac0b-aabd-4fd3-80ee-f7aebfb1b8c3} DynamicQueryHandler: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x19767bf3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:327: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7c8fa in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:23:52.975270 [ 51280 ] {93baadd2-7573-4b14-b281-cbdb938df5eb} executeQuery: Code: 60. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_2 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43276) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_2 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:23:52.975748 [ 50280 ] {2ebc63c6-535a-4950-ba80-5537ed347d2a} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01079_parallel_alter_detach_table_zookeeper_test_iwdwtii5/concurrent_alter_detach/replicas/2. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43256) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_2 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x2c54ae6a in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:53: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x2c52f95b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:676: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c52f306 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c51f7fa in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c52d3b8 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 2024.03.27 22:23:52.977252 [ 51280 ] {93baadd2-7573-4b14-b281-cbdb938df5eb} TCPHandler: Code: 60. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_2 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:23:52.978283 [ 50282 ] {d8b13b90-ec09-4bea-957c-ff9e0a33e247} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01079_parallel_alter_detach_table_zookeeper_test_iwdwtii5/concurrent_alter_detach/replicas/2. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43228) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_2 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x2c54ae6a in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:53: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x2c52f95b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:676: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c52f306 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c51f7fa in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c52d3b8 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 2024.03.27 22:23:52.979167 [ 50288 ] {d4c20410-ed54-4e9f-9e07-2f21bf1d59a1} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01079_parallel_alter_detach_table_zookeeper_test_iwdwtii5/concurrent_alter_detach/replicas/2. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43212) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_2 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x2c54ae6a in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:53: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x2c52f95b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:676: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c52f306 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c51f7fa in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c52d3b8 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 2024.03.27 22:23:52.979653 [ 50280 ] {2ebc63c6-535a-4950-ba80-5537ed347d2a} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01079_parallel_alter_detach_table_zookeeper_test_iwdwtii5/concurrent_alter_detach/replicas/2. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x2c54ae6a in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:53: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x2c52f95b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:676: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c52f306 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c51f7fa in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c52d3b8 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 2024.03.27 22:23:52.986030 [ 50282 ] {d8b13b90-ec09-4bea-957c-ff9e0a33e247} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01079_parallel_alter_detach_table_zookeeper_test_iwdwtii5/concurrent_alter_detach/replicas/2. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x2c54ae6a in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:53: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x2c52f95b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:676: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c52f306 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c51f7fa in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c52d3b8 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 2024.03.27 22:23:52.986602 [ 50288 ] {d4c20410-ed54-4e9f-9e07-2f21bf1d59a1} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01079_parallel_alter_detach_table_zookeeper_test_iwdwtii5/concurrent_alter_detach/replicas/2. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x2c54ae6a in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:53: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x2c52f95b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:676: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c52f306 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c51f7fa in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c52d3b8 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2cdb6962 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cc5e31c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cc5e2b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e295 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e25d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cc5d6b1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c86033e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b3a70 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 2024.03.27 22:23:54.303160 [ 50288 ] {6e3c92a1-b6d1-47f0-9147-cc9208602260} executeQuery: Code: 60. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_2 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43286) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_2 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:23:54.305151 [ 50288 ] {6e3c92a1-b6d1-47f0-9147-cc9208602260} TCPHandler: Code: 60. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_2 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:23:54.412421 [ 50288 ] {c1810801-2e30-4f67-a1df-623a5efb8789} executeQuery: Code: 60. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_2 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43288) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_2 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:23:54.414310 [ 50288 ] {c1810801-2e30-4f67-a1df-623a5efb8789} TCPHandler: Code: 60. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_2 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:23:54.423378 [ 50282 ] {d020097a-e312-45fc-ad44-9c0649efa86d} executeQuery: Code: 60. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_2 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43292) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_2 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:23:54.425350 [ 50282 ] {d020097a-e312-45fc-ad44-9c0649efa86d} TCPHandler: Code: 60. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_2 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:23:59.575731 [ 50282 ] {f1d3adaa-ef88-4409-8f77-118366eede17} executeQuery: Code: 60. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_3 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55574) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_3 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:23:59.577288 [ 50282 ] {f1d3adaa-ef88-4409-8f77-118366eede17} TCPHandler: Code: 60. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_3 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:23:59.893745 [ 47539 ] {0fb47942-ea72-41c0-ba8e-8d79206c498e} executeQuery: Code: 60. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_3 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55594) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_3 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:23:59.896129 [ 47539 ] {0fb47942-ea72-41c0-ba8e-8d79206c498e} TCPHandler: Code: 60. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_3 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:24:02.869455 [ 47539 ] {7f302434-8bae-4420-af07-c3f91b39cbb9} executeQuery: Code: 60. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_3 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55704) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_3 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:24:02.872907 [ 47539 ] {7f302434-8bae-4420-af07-c3f91b39cbb9} TCPHandler: Code: 60. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_3 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:24:05.573005 [ 50282 ] {e25d068e-9b9d-40e3-b521-25b1ff3210ac} executeQuery: Code: 60. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_2 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43096) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_2 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:24:05.574898 [ 50282 ] {e25d068e-9b9d-40e3-b521-25b1ff3210ac} TCPHandler: Code: 60. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_2 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:24:05.866056 [ 47539 ] {008363c8-5f26-40d0-a831-97086e2227e5} executeQuery: Code: 60. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_2 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43130) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_2 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:24:05.868408 [ 47539 ] {008363c8-5f26-40d0-a831-97086e2227e5} TCPHandler: Code: 60. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_2 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2ad64c92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2ad66746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:24:06.549777 [ 50280 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:43142). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ab9546c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ab94828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197399fc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: void DB::readVarUIntImpl(unsigned long&, DB::ReadBuffer&) @ 0x221e47af in /usr/bin/clickhouse 9. /build/src/IO/VarInt.h:149: DB::readVarUInt(unsigned long&, DB::ReadBuffer&) @ 0x221e450c in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:139: DB::readStringBinary(String&, DB::ReadBuffer&, unsigned long) @ 0x22200209 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:1294: DB::TCPHandler::receiveAddendum() @ 0x2c7b1554 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:189: DB::TCPHandler::runImpl() @ 0x2c7a697d in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:24:08.864483 [ 50280 ] {b59edc0f-ad1f-456b-908d-9d35a1cf58d1} executeQuery: Code: 57. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_1 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43158) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: ATTACH TABLE concurrent_alter_detach_1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x26892748 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1347: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4cd50 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:24:08.866370 [ 50280 ] {b59edc0f-ad1f-456b-908d-9d35a1cf58d1} TCPHandler: Code: 57. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x26892748 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1347: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4cd50 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:24:10.169409 [ 47539 ] {7bbd4031-1b58-45f0-8ba6-9f682eb49628} executeQuery: Code: 57. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_2 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43166) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: ATTACH TABLE concurrent_alter_detach_2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x26892748 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1347: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4cd50 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:24:10.176467 [ 47539 ] {7bbd4031-1b58-45f0-8ba6-9f682eb49628} TCPHandler: Code: 57. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x26892748 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1347: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4cd50 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:24:11.485542 [ 47539 ] {6fd20d58-7b5d-48e5-b1c6-725901980559} executeQuery: Code: 57. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_3 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43182) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: ATTACH TABLE concurrent_alter_detach_3), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x26892748 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1347: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4cd50 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:24:11.487605 [ 47539 ] {6fd20d58-7b5d-48e5-b1c6-725901980559} TCPHandler: Code: 57. DB::Exception: Table test_iwdwtii5.concurrent_alter_detach_3 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x26892748 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1347: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2ab4cd50 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab4a02e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:24:48.322159 [ 49711 ] {} ExternalDictionaries: Could not update cache dictionary 'dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729)', next update is scheduled at 2024-03-27 22:24:54: Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UUID. Got: UInt64. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x2b335aac in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:502: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b329b6a in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3260bd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:110: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x2a07e0cc in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:150: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2a07cde0 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:349: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a072387 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:458: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0718a4 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionAnalyzer.cpp:539: DB::SelectQueryExpressionAnalyzer::makeSetsForIndex(std::shared_ptr const&) @ 0x2a035d9c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:895: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b393 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:174: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x260ff591 in /usr/bin/clickhouse 25. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:127: DB::ClickHouseDictionarySource::loadIds(std::vector> const&) @ 0x260ff8d0 in /usr/bin/clickhouse 26. /build/src/Dictionaries/CacheDictionary.cpp:582: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x2687d0a1 in /usr/bin/clickhouse 27. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x2688ca9d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688ca56 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688c9fd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2688c9bd in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x2688c965 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:24:48.324411 [ 49951 ] {} ExternalDictionaries: Could not update cache dictionary 'dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729)', next update is scheduled at 2024-03-27 22:24:55: Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UUID. Got: UInt64. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x2b335aac in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:502: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b329b6a in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3260bd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:110: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x2a07e0cc in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:150: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2a07cde0 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:349: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a072387 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:458: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0718a4 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionAnalyzer.cpp:539: DB::SelectQueryExpressionAnalyzer::makeSetsForIndex(std::shared_ptr const&) @ 0x2a035d9c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:895: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b393 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:174: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x260ff591 in /usr/bin/clickhouse 25. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:127: DB::ClickHouseDictionarySource::loadIds(std::vector> const&) @ 0x260ff8d0 in /usr/bin/clickhouse 26. /build/src/Dictionaries/CacheDictionary.cpp:582: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x2687d0a1 in /usr/bin/clickhouse 27. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x2688ca9d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688ca56 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688c9fd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2688c9bd in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x2688c965 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:24:48.441260 [ 47539 ] {514362b0-c36a-4f74-9baf-c84e61bb8ee4} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729)': Code: 510. DB::Exception: Update failed for dictionary dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729) : Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UUID. Got: UInt64. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x2b335aac in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:502: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b329b6a in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3260bd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:110: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x2a07e0cc in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:150: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2a07cde0 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:349: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a072387 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:458: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0718a4 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionAnalyzer.cpp:539: DB::SelectQueryExpressionAnalyzer::makeSetsForIndex(std::shared_ptr const&) @ 0x2a035d9c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:895: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b393 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:174: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x260ff591 in /usr/bin/clickhouse 25. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:127: DB::ClickHouseDictionarySource::loadIds(std::vector> const&) @ 0x260ff8d0 in /usr/bin/clickhouse 26. /build/src/Dictionaries/CacheDictionary.cpp:582: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x2687d0a1 in /usr/bin/clickhouse 27. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x2688ca9d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688ca56 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688c9fd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2688c9bd in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x2688c965 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.3.19.34.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50264) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26892b3d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x26879610 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x26878b6c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a134604 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1321ba in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a14e98b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 22:24:48.441502 [ 50280 ] {0030107e-2327-4341-aa3c-7ff342b76d03} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729)': Code: 510. DB::Exception: Update failed for dictionary dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729) : Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UUID. Got: UInt64. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x2b335aac in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:502: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b329b6a in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3260bd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:110: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x2a07e0cc in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:150: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2a07cde0 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:349: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a072387 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:458: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0718a4 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionAnalyzer.cpp:539: DB::SelectQueryExpressionAnalyzer::makeSetsForIndex(std::shared_ptr const&) @ 0x2a035d9c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:895: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b393 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:174: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x260ff591 in /usr/bin/clickhouse 25. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:127: DB::ClickHouseDictionarySource::loadIds(std::vector> const&) @ 0x260ff8d0 in /usr/bin/clickhouse 26. /build/src/Dictionaries/CacheDictionary.cpp:582: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x2687d0a1 in /usr/bin/clickhouse 27. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x2688ca9d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688ca56 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688c9fd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2688c9bd in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x2688c965 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.3.19.34.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50274) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26892b3d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x26879610 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x26878b6c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a134604 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1321ba in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a14e98b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 22:24:48.445194 [ 47539 ] {514362b0-c36a-4f74-9baf-c84e61bb8ee4} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729)': Code: 510. DB::Exception: Update failed for dictionary dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729) : Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UUID. Got: UInt64. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x2b335aac in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:502: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b329b6a in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3260bd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:110: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x2a07e0cc in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:150: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2a07cde0 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:349: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a072387 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:458: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0718a4 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionAnalyzer.cpp:539: DB::SelectQueryExpressionAnalyzer::makeSetsForIndex(std::shared_ptr const&) @ 0x2a035d9c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:895: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b393 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:174: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x260ff591 in /usr/bin/clickhouse 25. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:127: DB::ClickHouseDictionarySource::loadIds(std::vector> const&) @ 0x260ff8d0 in /usr/bin/clickhouse 26. /build/src/Dictionaries/CacheDictionary.cpp:582: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x2687d0a1 in /usr/bin/clickhouse 27. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x2688ca9d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688ca56 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688c9fd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2688c9bd in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x2688c965 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.3.19.34.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26892b3d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x26879610 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x26878b6c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a134604 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1321ba in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a14e98b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 22:24:48.445443 [ 50280 ] {0030107e-2327-4341-aa3c-7ff342b76d03} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729)': Code: 510. DB::Exception: Update failed for dictionary dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729) : Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UUID. Got: UInt64. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x2b335aac in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:502: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b329b6a in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3260bd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:110: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x2a07e0cc in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:150: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2a07cde0 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:349: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a072387 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:458: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0718a4 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionAnalyzer.cpp:539: DB::SelectQueryExpressionAnalyzer::makeSetsForIndex(std::shared_ptr const&) @ 0x2a035d9c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:895: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b393 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 24. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:174: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x260ff591 in /usr/bin/clickhouse 25. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:127: DB::ClickHouseDictionarySource::loadIds(std::vector> const&) @ 0x260ff8d0 in /usr/bin/clickhouse 26. /build/src/Dictionaries/CacheDictionary.cpp:582: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x2687d0a1 in /usr/bin/clickhouse 27. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x2688ca9d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688ca56 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688c9fd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2688c9bd in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x2688c965 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.3.19.34.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26892b3d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x26879610 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x26878b6c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a134604 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1321ba in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a14e98b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 22:24:49.849694 [ 50280 ] {a4223f02-e0d5-4adc-998f-386adace8d67} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729) now, because nearest update is scheduled at 2024-03-27 22:24:55. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:687: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x2687f3e7 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x2688ca9d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688ca56 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688c9fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2688c9bd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x2688c965 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x26899e9e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x26892f41 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x26892d40 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x26896ad8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x26896ab5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x26896a95 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x26896a75 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x26896a3d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50284) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26892b3d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x26879610 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x26878b6c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a134604 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1321ba in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a14e98b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 22:24:49.850018 [ 51276 ] {0e2d9020-4015-4b29-ae3b-50ce65698581} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729) now, because nearest update is scheduled at 2024-03-27 22:24:55. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:687: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x2687f3e7 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x2688ca9d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688ca56 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688c9fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2688c9bd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x2688c965 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x26899e9e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x26892f41 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x26892d40 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x26896ad8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x26896ab5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x26896a95 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x26896a75 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x26896a3d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50288) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26892b3d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x26879610 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x26878b6c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a134604 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1321ba in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a14e98b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 22:24:49.852618 [ 50280 ] {a4223f02-e0d5-4adc-998f-386adace8d67} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729) now, because nearest update is scheduled at 2024-03-27 22:24:55. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:687: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x2687f3e7 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x2688ca9d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688ca56 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688c9fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2688c9bd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x2688c965 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x26899e9e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x26892f41 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x26892d40 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x26896ad8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x26896ab5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x26896a95 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x26896a75 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x26896a3d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26892b3d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x26879610 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x26878b6c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a134604 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1321ba in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a14e98b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 22:24:49.853113 [ 51276 ] {0e2d9020-4015-4b29-ae3b-50ce65698581} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729) now, because nearest update is scheduled at 2024-03-27 22:24:55. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:687: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x2687f3e7 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x2688ca9d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688ca56 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688c9fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2688c9bd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x2688c965 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x26899e9e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x26892f41 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x26892d40 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x26896ad8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x26896ab5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x26896a95 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x26896a75 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x26896a3d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26892b3d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x26879610 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x26878b6c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a134604 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1321ba in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a14e98b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 22:24:51.138455 [ 50280 ] {6341fc8d-44fb-46fe-8d70-ffa0432a3f90} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729) now, because nearest update is scheduled at 2024-03-27 22:24:55. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:687: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x2687f3e7 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x2688ca9d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688ca56 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688c9fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2688c9bd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x2688c965 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x26899e9e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x26892f41 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x26892d40 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x26896ad8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x26896ab5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x26896a95 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x26896a75 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x26896a3d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50298) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26892b3d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x26879610 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x26878b6c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a134604 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1321ba in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a14e98b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 22:24:51.142365 [ 50280 ] {6341fc8d-44fb-46fe-8d70-ffa0432a3f90} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729) now, because nearest update is scheduled at 2024-03-27 22:24:55. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:687: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x2687f3e7 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x2688ca9d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688ca56 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688c9fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2688c9bd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x2688c965 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x26899e9e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x26892f41 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x26892d40 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x26896ad8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x26896ab5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x26896a95 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x26896a75 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x26896a3d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26892b3d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x26879610 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x26878b6c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a134604 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1321ba in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a14e98b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 22:24:51.159255 [ 50280 ] {c0cdd2bc-2891-44a7-89de-47dcd5defe9d} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729) now, because nearest update is scheduled at 2024-03-27 22:24:55. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:687: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x2687f3e7 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x2688ca9d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688ca56 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688c9fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2688c9bd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x2688c965 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x26899e9e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x26892f41 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x26892d40 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x26896ad8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x26896ab5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x26896a95 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x26896a75 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x26896a3d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50310) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26892b3d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x26879610 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x26878b6c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a134604 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1321ba in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a14e98b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 22:24:51.163224 [ 50280 ] {c0cdd2bc-2891-44a7-89de-47dcd5defe9d} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (2e7c92b5-0ea7-42d1-97e4-438802ccf729) now, because nearest update is scheduled at 2024-03-27 22:24:55. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:687: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x2687f3e7 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x2688ca9d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688ca56 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2688c9fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2688c9bd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x2688c965 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x26899e9e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x26892f41 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x26892d40 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x26896ad8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x26896ab5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x26896a95 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x26896a75 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x26896a3d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x222b0509 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x222ba3a4 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x222ba375 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x222ba359 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x222ba2bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x222ba1c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x222ba135 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x222ba115 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x222ba0f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x222ba0c0 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26892b3d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x26879610 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x26878b6c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a134604 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1321ba in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a14e98b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 2024.03.27 22:24:59.063623 [ 50280 ] {c8595128-97fd-4c9f-b3f8-885cdcce159a} executeQuery: Code: 36. DB::Exception: ALTER ADD INDEX is not supported for tables with the old syntax. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:45826) (comment: 01071_prohibition_secondary_index_with_old_format_merge_tree.sql) (in query: ALTER TABLE old_syntax_01071_test ADD INDEX id_minmax id TYPE minmax GRANULARITY 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [64]) @ 0x1a04a1de in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3032: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e6c66 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:24:59.064601 [ 50280 ] {c8595128-97fd-4c9f-b3f8-885cdcce159a} TCPHandler: Code: 36. DB::Exception: ALTER ADD INDEX is not supported for tables with the old syntax. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [64]) @ 0x1a04a1de in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3032: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e6c66 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:25:11.550837 [ 50280 ] {8b64d35d-fe66-48da-b18d-2da7c53dc1b7} executeQuery: Code: 60. DB::Exception: Table memory_01069.mt doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58110) (comment: 01069_database_memory.sql) (in query: SELECT * FROM memory_01069.mt ORDER BY n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:25:11.552073 [ 50280 ] {8b64d35d-fe66-48da-b18d-2da7c53dc1b7} TCPHandler: Code: 60. DB::Exception: Table memory_01069.mt doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:25:11.661688 [ 50280 ] {7cc99851-7e45-4cbe-97c3-8499e2180f04} executeQuery: Code: 60. DB::Exception: There is no metadata of table mt in database memory_01069. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58110) (comment: 01069_database_memory.sql) (in query: SHOW CREATE TABLE memory_01069.mt;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x19f15f2c in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseMemory.cpp:121: DB::DatabaseMemory::getCreateTableQueryImpl(String const&, std::shared_ptr, bool) const @ 0x29b2af7c in /usr/bin/clickhouse 7. /build/src/Databases/IDatabase.h:271: DB::IDatabase::getCreateTableQuery(String const&, std::shared_ptr) const @ 0x293fa9d7 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterShowCreateQuery.cpp:60: DB::InterpreterShowCreateQuery::executeImpl() @ 0x2ae82cb6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterShowCreateQuery.cpp:28: DB::InterpreterShowCreateQuery::execute() @ 0x2ae827ab in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:25:11.662693 [ 50280 ] {7cc99851-7e45-4cbe-97c3-8499e2180f04} TCPHandler: Code: 60. DB::Exception: There is no metadata of table mt in database memory_01069. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x19f15f2c in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseMemory.cpp:121: DB::DatabaseMemory::getCreateTableQueryImpl(String const&, std::shared_ptr, bool) const @ 0x29b2af7c in /usr/bin/clickhouse 7. /build/src/Databases/IDatabase.h:271: DB::IDatabase::getCreateTableQuery(String const&, std::shared_ptr) const @ 0x293fa9d7 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterShowCreateQuery.cpp:60: DB::InterpreterShowCreateQuery::executeImpl() @ 0x2ae82cb6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterShowCreateQuery.cpp:28: DB::InterpreterShowCreateQuery::execute() @ 0x2ae827ab in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:25:26.361428 [ 50280 ] {2bfd5500-d7ba-4a44-8285-b9feb4d1ce10} test_53m1cqfq.mt_compact (841e195c-232b-43e6-a583-d0d2a420b612): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 10485760, min_rows_for_compact_part = 0, min_bytes_for_compact_part = 0. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part', 'min_bytes_for_wide_part', 'min_rows_for_compact_part' and 'min_bytes_for_compact_part' will be ignored. 2024.03.27 22:25:26.458099 [ 50280 ] {6966815b-5f5c-4e52-8c6e-cde795d61c6d} executeQuery: Code: 48. DB::Exception: Can't change settings. Reason: Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 1000, min_bytes_for_wide_part = 10485760, min_rows_for_compact_part = 0, min_bytes_for_compact_part = 0. Parts with non-adaptive granularity can be stored only in Wide (default) format. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47058) (comment: 01055_compact_parts_1.sql) (in query: alter table mt_compact modify setting min_rows_for_wide_part = 1000;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3195: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e8a48 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:25:26.459058 [ 50280 ] {6966815b-5f5c-4e52-8c6e-cde795d61c6d} TCPHandler: Code: 48. DB::Exception: Can't change settings. Reason: Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 1000, min_bytes_for_wide_part = 10485760, min_rows_for_compact_part = 0, min_bytes_for_compact_part = 0. Parts with non-adaptive granularity can be stored only in Wide (default) format. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3195: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e8a48 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:25:26.521862 [ 50280 ] {3a945b8f-aa07-42c1-874f-650905505c8e} executeQuery: Code: 36. DB::Exception: Cannot replace partition '1' because part '1_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47058) (comment: 01055_compact_parts_1.sql) (in query: alter table mt_compact attach partition 1 from mt_compact_2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x2229414c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1854: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c587443 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4881: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c1047fa in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:25:26.522633 [ 50280 ] {3a945b8f-aa07-42c1-874f-650905505c8e} TCPHandler: Code: 36. DB::Exception: Cannot replace partition '1' because part '1_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x2229414c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1854: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c587443 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4881: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c1047fa in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bc30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:25:26.566940 [ 50280 ] {068ce306-d4e0-4808-bbd5-d07d2a78571b} test_53m1cqfq.mt_compact (8fcf18e5-50d6-45d5-9ddc-6bd622da6dee): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 1000, min_bytes_for_wide_part = 10485760, min_rows_for_compact_part = 0, min_bytes_for_compact_part = 0. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part', 'min_bytes_for_wide_part', 'min_rows_for_compact_part' and 'min_bytes_for_compact_part' will be ignored. 2024.03.27 22:25:33.413954 [ 50280 ] {d1f946cf-a6ff-4c61-bfbf-4c6c6ed70e61} executeQuery: Code: 36. DB::Exception: Dictionary (`database_for_dict.dict1`) not found: While processing dictGetUInt8('database_for_dict.dict1', 'second_column', toUInt64(11)). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47094) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetUInt8('database_for_dict.dict1', 'second_column', toUInt64(11));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a5a9db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a5aa240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a139a58 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a132a6a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a143fe8 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 22:25:33.415091 [ 50280 ] {d1f946cf-a6ff-4c61-bfbf-4c6c6ed70e61} TCPHandler: Code: 36. DB::Exception: Dictionary (`database_for_dict.dict1`) not found: While processing dictGetUInt8('database_for_dict.dict1', 'second_column', toUInt64(11)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a5a9db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a5aa240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a139a58 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a132a6a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a143fe8 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 22:25:33.481957 [ 50280 ] {6ed5d33e-f883-45c2-9a1b-5616a9bff265} executeQuery: Code: 36. DB::Exception: Dictionary (`database_for_dict.dict1`) not found: While processing dictGetUInt8('database_for_dict.dict1', 'second_column', toUInt64(11)). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47094) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetUInt8('database_for_dict.dict1', 'second_column', toUInt64(11));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a5a9db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a5aa240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a139a58 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a132a6a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a143fe8 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 22:25:33.483102 [ 50280 ] {6ed5d33e-f883-45c2-9a1b-5616a9bff265} TCPHandler: Code: 36. DB::Exception: Dictionary (`database_for_dict.dict1`) not found: While processing dictGetUInt8('database_for_dict.dict1', 'second_column', toUInt64(11)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a5a9db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a5aa240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a139a58 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a132a6a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a143fe8 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 22:25:33.713667 [ 50280 ] {59271b7e-b14f-4b86-b649-3a092194c813} executeQuery: Code: 36. DB::Exception: Dictionary (`database_for_dict.dict1`) not found: While processing dictGetUInt8('database_for_dict.dict1', 'second_column', (toUInt64(11), '121')). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47094) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetUInt8('database_for_dict.dict1', 'second_column', tuple(toUInt64(11), '121'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a5a9db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a5aa240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a139a58 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a132a6a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a143fe8 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 22:25:33.714994 [ 50280 ] {59271b7e-b14f-4b86-b649-3a092194c813} TCPHandler: Code: 36. DB::Exception: Dictionary (`database_for_dict.dict1`) not found: While processing dictGetUInt8('database_for_dict.dict1', 'second_column', (toUInt64(11), '121')). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a5a9db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a5aa240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a139a58 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a132a6a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a143fe8 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 22:25:34.168952 [ 50280 ] {66c63ea6-214d-48ea-84e3-782d339a05af} executeQuery: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found: While processing dictGetString(default.dict3, 'some_column', toUInt64(12)). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47094) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetString(default.dict3, 'some_column', toUInt64(12));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a5a9db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a5aa240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a139a58 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a132a6a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1558a8 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 22:25:34.170119 [ 50280 ] {66c63ea6-214d-48ea-84e3-782d339a05af} TCPHandler: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found: While processing dictGetString(default.dict3, 'some_column', toUInt64(12)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a5a9db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a5aa240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a139a58 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a132a6a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1558a8 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909d7a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909db03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29d36eb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36a33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 2024.03.27 22:25:34.204016 [ 50280 ] {3d8e3710-70db-4b3e-9948-2108dd850c8f} executeQuery: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found: While processing dictGet(default.dict3, 'some_column', toUInt64(12)). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47094) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGet(default.dict3, 'some_column', toUInt64(12));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a5a9db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a5aa240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a139a58 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a132a6a in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 22:25:34.205049 [ 50280 ] {3d8e3710-70db-4b3e-9948-2108dd850c8f} TCPHandler: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found: While processing dictGet(default.dict3, 'some_column', toUInt64(12)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a5a9db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a5aa240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a139a58 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a132a6a in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0799f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a074219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0400d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a044a8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ad9b58e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ad949a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8ff1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 2024.03.27 22:25:34.365235 [ 49971 ] {512776ad-e816-457e-ac59-a6998564eeef} ExternalDictionariesLoader: Could not update external dictionary '4208842c-619d-4ad2-bd53-5b79c560ec92', leaving the previous version: Code: 60. DB::Exception: Table database_for_dict.table_for_dict doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:174: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x260ff591 in /usr/bin/clickhouse 19. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:116: DB::ClickHouseDictionarySource::loadAll() @ 0x260ff46a in /usr/bin/clickhouse 20. /build/src/Dictionaries/HashedDictionary.cpp:904: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x26296b88 in /usr/bin/clickhouse 21. /build/src/Dictionaries/HashedDictionary.cpp:206: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x262966c6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if>::__unique_single std::make_unique[abi:v15000], DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::HashedDictionaryConfiguration&) @ 0x267b2e46 in /usr/bin/clickhouse 23. /build/src/Dictionaries/HashedDictionary.cpp:1198: DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x262952d0 in /usr/bin/clickhouse 24. /build/src/Dictionaries/HashedDictionary.cpp:1223: auto DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x26294112 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x2629403b in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x26293f56 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x26293ed6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x26293e62 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x290cee22 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x290cc1bb in /usr/bin/clickhouse 31. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x290cb788 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:25:34.369123 [ 1665 ] {512776ad-e816-457e-ac59-a6998564eeef} ExternalDictionariesLoader: Could not update external dictionary '65fb3f65-1c81-4062-abba-647dabd3586b', leaving the previous version, next update is scheduled at 2024-03-27 22:25:40: Code: 60. DB::Exception: Table database_for_dict.table_for_dict doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:174: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x260ff591 in /usr/bin/clickhouse 19. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:116: DB::ClickHouseDictionarySource::loadAll() @ 0x260ff46a in /usr/bin/clickhouse 20. /build/src/Dictionaries/HashedDictionary.cpp:904: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x26296b88 in /usr/bin/clickhouse 21. /build/src/Dictionaries/HashedDictionary.cpp:206: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x262966c6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if>::__unique_single std::make_unique[abi:v15000], DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::HashedDictionaryConfiguration&) @ 0x267b2e46 in /usr/bin/clickhouse 23. /build/src/Dictionaries/HashedDictionary.cpp:1198: DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x262952d0 in /usr/bin/clickhouse 24. /build/src/Dictionaries/HashedDictionary.cpp:1223: auto DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x26294112 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x2629403b in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x26293f56 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x26293ed6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x26293e62 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x290cee22 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x290cc1bb in /usr/bin/clickhouse 31. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x290cb788 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:25:34.371660 [ 50280 ] {512776ad-e816-457e-ac59-a6998564eeef} ExternalDictionariesLoader: Code: 60. DB::Exception: Table database_for_dict.table_for_dict doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:174: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x260ff591 in /usr/bin/clickhouse 19. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:116: DB::ClickHouseDictionarySource::loadAll() @ 0x260ff46a in /usr/bin/clickhouse 20. /build/src/Dictionaries/HashedDictionary.cpp:904: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x26296b88 in /usr/bin/clickhouse 21. /build/src/Dictionaries/HashedDictionary.cpp:206: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x262966c6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if>::__unique_single std::make_unique[abi:v15000], DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::HashedDictionaryConfiguration&) @ 0x267b2e46 in /usr/bin/clickhouse 23. /build/src/Dictionaries/HashedDictionary.cpp:1198: DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x262952d0 in /usr/bin/clickhouse 24. /build/src/Dictionaries/HashedDictionary.cpp:1223: auto DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x26294112 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x2629403b in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x26293f56 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x26293ed6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x26293e62 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x290cee22 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x290cc1bb in /usr/bin/clickhouse 31. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x290cb788 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:25:34.455051 [ 50280 ] {512776ad-e816-457e-ac59-a6998564eeef} executeQuery: Code: 60. DB::Exception: Code: 60. DB::Exception: Table database_for_dict.table_for_dict doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47094) (comment: 01018_ddl_dictionaries_select.sql) (in query: SYSTEM RELOAD DICTIONARIES;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:136: void DB::(anonymous namespace)::executeCommandsAndThrowIfError(DB::InterpreterSystemQuery::execute()::$_0&&, DB::InterpreterSystemQuery::execute()::$_1&&) @ 0x2ae8d5ad in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:411: DB::InterpreterSystemQuery::execute() @ 0x2ae8b3e9 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:25:34.455942 [ 50280 ] {512776ad-e816-457e-ac59-a6998564eeef} TCPHandler: Code: 60. DB::Exception: Code: 60. DB::Exception: Table database_for_dict.table_for_dict doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x196bbcea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x196bbc95 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:136: void DB::(anonymous namespace)::executeCommandsAndThrowIfError(DB::InterpreterSystemQuery::execute()::$_0&&, DB::InterpreterSystemQuery::execute()::$_1&&) @ 0x2ae8d5ad in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:411: DB::InterpreterSystemQuery::execute() @ 0x2ae8b3e9 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:26:14.629140 [ 50280 ] {c15d51ce-ad5a-40ce-8ae0-d77d4b4d04ca} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1c4fcf8000, frame address: 0x7f1c500f7e40, stack size: 4194752, maximum stack size: 8388608: while getting table iterator of Merge table. Maybe caused by two Merge tables that will endlessly try to read each other's data. (TOO_DEEP_RECURSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51572) (comment: 00985_merge_stack_overflow.sql) (in query: SELECT * FROM merge1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x221ce264 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x221ce01c in /usr/bin/clickhouse 7. /build/src/Storages/StorageMerge.cpp:892: DB::StorageMerge::getDatabaseIterators(std::shared_ptr) const @ 0x2b984fbc in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:137: std::shared_ptr DB::StorageMerge::getFirstTable(DB::StorageMerge::getVirtuals() const::$_14&&) const @ 0x2b98d0ca in /usr/bin/clickhouse 9. /build/src/Storages/StorageMerge.cpp:1096: DB::StorageMerge::getVirtuals() const @ 0x2b98ccc8 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 11. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 13. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 15. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 16. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 17. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 19. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 20. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 21. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 22. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 23. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 24. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 25. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 26. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 27. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 28. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 29. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 30. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 31. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 2024.03.27 22:26:14.630235 [ 50280 ] {c15d51ce-ad5a-40ce-8ae0-d77d4b4d04ca} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1c4fcf8000, frame address: 0x7f1c500f7e40, stack size: 4194752, maximum stack size: 8388608: while getting table iterator of Merge table. Maybe caused by two Merge tables that will endlessly try to read each other's data. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x221ce264 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x221ce01c in /usr/bin/clickhouse 7. /build/src/Storages/StorageMerge.cpp:892: DB::StorageMerge::getDatabaseIterators(std::shared_ptr) const @ 0x2b984fbc in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:137: std::shared_ptr DB::StorageMerge::getFirstTable(DB::StorageMerge::getVirtuals() const::$_14&&) const @ 0x2b98d0ca in /usr/bin/clickhouse 9. /build/src/Storages/StorageMerge.cpp:1096: DB::StorageMerge::getVirtuals() const @ 0x2b98ccc8 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 11. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 13. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 15. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 16. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 17. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 19. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 20. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 21. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 22. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 23. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 24. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 25. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 26. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 27. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 28. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 29. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 30. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 31. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 2024.03.27 22:26:15.037314 [ 50280 ] {b3b3fb49-bc37-4726-9996-46e25d775859} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1c4fcf8000, frame address: 0x7f1c500f7e40, stack size: 4194752, maximum stack size: 8388608: while getting table iterator of Merge table. Maybe caused by two Merge tables that will endlessly try to read each other's data. (TOO_DEEP_RECURSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51572) (comment: 00985_merge_stack_overflow.sql) (in query: SELECT * FROM merge2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x221ce264 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x221ce01c in /usr/bin/clickhouse 7. /build/src/Storages/StorageMerge.cpp:892: DB::StorageMerge::getDatabaseIterators(std::shared_ptr) const @ 0x2b984fbc in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:137: std::shared_ptr DB::StorageMerge::getFirstTable(DB::StorageMerge::getVirtuals() const::$_14&&) const @ 0x2b98d0ca in /usr/bin/clickhouse 9. /build/src/Storages/StorageMerge.cpp:1096: DB::StorageMerge::getVirtuals() const @ 0x2b98ccc8 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 11. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 13. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 15. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 16. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 17. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 19. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 20. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 21. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 22. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 23. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 24. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 25. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 26. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 27. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 28. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 29. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 30. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 31. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 2024.03.27 22:26:15.038412 [ 50280 ] {b3b3fb49-bc37-4726-9996-46e25d775859} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f1c4fcf8000, frame address: 0x7f1c500f7e40, stack size: 4194752, maximum stack size: 8388608: while getting table iterator of Merge table. Maybe caused by two Merge tables that will endlessly try to read each other's data. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x221ce264 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x221ce01c in /usr/bin/clickhouse 7. /build/src/Storages/StorageMerge.cpp:892: DB::StorageMerge::getDatabaseIterators(std::shared_ptr) const @ 0x2b984fbc in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:137: std::shared_ptr DB::StorageMerge::getFirstTable(DB::StorageMerge::getVirtuals() const::$_14&&) const @ 0x2b98d0ca in /usr/bin/clickhouse 9. /build/src/Storages/StorageMerge.cpp:1096: DB::StorageMerge::getVirtuals() const @ 0x2b98ccc8 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 11. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 13. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 15. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 16. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 17. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 19. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 20. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 21. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 22. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 23. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 24. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 25. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 26. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 27. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 28. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 29. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 30. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 31. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2b98cd32 in /usr/bin/clickhouse 2024.03.27 22:26:16.243618 [ 50280 ] {a6dd5fa0-433b-4df9-92bd-94afc1987e03} executeQuery: Code: 36. DB::Exception: Cannot alter settings, because table engine doesn't support settings changes. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48176) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE log_for_alter MODIFY SETTING aaa=123;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [77]) @ 0x1a1169fe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1225: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b809eea in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:26:16.244714 [ 50280 ] {a6dd5fa0-433b-4df9-92bd-94afc1987e03} TCPHandler: Code: 36. DB::Exception: Cannot alter settings, because table engine doesn't support settings changes. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [77]) @ 0x1a1169fe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1225: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b809eea in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:26:16.363782 [ 50280 ] {fc0da1d9-f031-4d53-902e-bf49b64ac2ca} executeQuery: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48176) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_alter MODIFY SETTING index_granularity=555;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3186: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e87fd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:26:16.364826 [ 50280 ] {fc0da1d9-f031-4d53-902e-bf49b64ac2ca} TCPHandler: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3186: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e87fd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:26:16.566730 [ 50280 ] {a1db1b58-0b5b-4077-940d-b5a4122346d6} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 171.00 B) in table 'test_wq1m13jd.table_for_alter (00ae4c30-3cf3-439e-8efc-f9c5f20a804b)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48176) (comment: 00980_merge_alter_settings.sql) (in query: INSERT INTO table_for_alter VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x2c1472c8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4246: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x2c0fc7ef in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x2c5ae3e7 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x2cc5e0d9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cc5e0b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cc5e095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e075 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e03d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work() @ 0x2cc5d575 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x2c860076 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:770: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b37ea in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 22:26:16.568162 [ 50280 ] {a1db1b58-0b5b-4077-940d-b5a4122346d6} TCPHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 171.00 B) in table 'test_wq1m13jd.table_for_alter (00ae4c30-3cf3-439e-8efc-f9c5f20a804b)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x2c1472c8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4246: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x2c0fc7ef in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x2c5ae3e7 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x2cc5e0d9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cc5e0b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cc5e095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e075 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e03d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work() @ 0x2cc5d575 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x2c860076 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:770: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b37ea in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 22:26:16.610008 [ 50280 ] {ec9d547e-f307-437c-ac4c-1cf5d47b06f2} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 171.00 B) in table 'test_wq1m13jd.table_for_alter (00ae4c30-3cf3-439e-8efc-f9c5f20a804b)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48176) (comment: 00980_merge_alter_settings.sql) (in query: INSERT INTO table_for_alter VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x2c1472c8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4246: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x2c0fc7ef in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x2c5ae3e7 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x2cc5e0d9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cc5e0b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cc5e095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e075 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e03d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work() @ 0x2cc5d575 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x2c860076 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:770: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b37ea in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 22:26:16.611262 [ 50280 ] {ec9d547e-f307-437c-ac4c-1cf5d47b06f2} TCPHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 171.00 B) in table 'test_wq1m13jd.table_for_alter (00ae4c30-3cf3-439e-8efc-f9c5f20a804b)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x2c1472c8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4246: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x2c0fc7ef in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x2c5ae3e7 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x2cc5e0d9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cc5e0b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cc5e095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e075 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e03d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work() @ 0x2cc5d575 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x2c860076 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:770: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b37ea in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 22:26:16.725576 [ 50280 ] {3a51ec34-641e-4bd1-8f89-492a1d35133c} executeQuery: Code: 115. DB::Exception: Unknown setting xxx_yyy. (UNKNOWN_SETTING) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48176) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_alter MODIFY SETTING xxx_yyy=124;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Core/BaseSettings.cpp:44: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x294f47c7 in /usr/bin/clickhouse 7. ? @ 0x29307fb3 in /usr/bin/clickhouse 8. /build/src/Access/SettingsConstraints.cpp:198: bool DB::getNewValueToCheck(DB::MergeTreeSettings const&, DB::SettingChange&, DB::Field&, bool) @ 0x2930744b in /usr/bin/clickhouse 9. /build/src/Access/SettingsConstraints.cpp:256: DB::SettingsConstraints::checkImpl(DB::MergeTreeSettings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x29305374 in /usr/bin/clickhouse 10. /build/src/Access/SettingsConstraints.cpp:169: DB::SettingsConstraints::check(DB::MergeTreeSettings const&, DB::SettingChange const&) const @ 0x29305307 in /usr/bin/clickhouse 11. /build/src/Access/SettingsConstraints.cpp:173: DB::SettingsConstraints::check(DB::MergeTreeSettings const&, DB::SettingsChanges const&) const @ 0x29305516 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1594: DB::Context::checkMergeTreeSettingsConstraints(DB::MergeTreeSettings const&, DB::SettingsChanges const&) const @ 0x29e7827e in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeData.cpp:3174: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e85c4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:26:16.726564 [ 50280 ] {3a51ec34-641e-4bd1-8f89-492a1d35133c} TCPHandler: Code: 115. DB::Exception: Unknown setting xxx_yyy. (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Core/BaseSettings.cpp:44: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x294f47c7 in /usr/bin/clickhouse 7. ? @ 0x29307fb3 in /usr/bin/clickhouse 8. /build/src/Access/SettingsConstraints.cpp:198: bool DB::getNewValueToCheck(DB::MergeTreeSettings const&, DB::SettingChange&, DB::Field&, bool) @ 0x2930744b in /usr/bin/clickhouse 9. /build/src/Access/SettingsConstraints.cpp:256: DB::SettingsConstraints::checkImpl(DB::MergeTreeSettings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x29305374 in /usr/bin/clickhouse 10. /build/src/Access/SettingsConstraints.cpp:169: DB::SettingsConstraints::check(DB::MergeTreeSettings const&, DB::SettingChange const&) const @ 0x29305307 in /usr/bin/clickhouse 11. /build/src/Access/SettingsConstraints.cpp:173: DB::SettingsConstraints::check(DB::MergeTreeSettings const&, DB::SettingsChanges const&) const @ 0x29305516 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1594: DB::Context::checkMergeTreeSettingsConstraints(DB::MergeTreeSettings const&, DB::SettingsChanges const&) const @ 0x29e7827e in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeData.cpp:3174: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e85c4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 25. ? @ 0x7f2098f50609 in ? 26. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:26:16.896651 [ 50280 ] {3d4cd1dc-ca6c-4645-b215-01b58235183b} executeQuery: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48176) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_reset_setting MODIFY SETTING index_granularity=555;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3186: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e87fd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:26:16.897453 [ 50280 ] {3d4cd1dc-ca6c-4645-b215-01b58235183b} TCPHandler: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3186: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e87fd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:26:16.977970 [ 50280 ] {3b7fe57d-d231-4bef-b798-139dde232074} executeQuery: Code: 252. DB::Exception: Too many parts (2 with average size of 171.00 B) in table 'test_wq1m13jd.table_for_reset_setting (ac6d169b-63fa-4fb7-a44e-a5fb14f9f27e)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48176) (comment: 00980_merge_alter_settings.sql) (in query: INSERT INTO table_for_reset_setting VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x2c1472c8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4246: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x2c0fc7ef in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x2c5ae3e7 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x2cc5e0d9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cc5e0b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cc5e095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e075 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e03d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work() @ 0x2cc5d575 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x2c860076 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:770: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b37ea in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 22:26:16.979147 [ 50280 ] {3b7fe57d-d231-4bef-b798-139dde232074} TCPHandler: Code: 252. DB::Exception: Too many parts (2 with average size of 171.00 B) in table 'test_wq1m13jd.table_for_reset_setting (ac6d169b-63fa-4fb7-a44e-a5fb14f9f27e)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x2c1472c8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4246: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x2c0fc7ef in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x2c5ae3e7 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x2cc5e0d9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cc5e0b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cc5e095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e075 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e03d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work() @ 0x2cc5d575 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x2c860076 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:770: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b37ea in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 22:26:17.182232 [ 50280 ] {a5cc1735-7059-4558-acdf-a2fb3cf4d709} executeQuery: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48176) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_reset_setting RESET SETTING index_granularity;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3210: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e8e5d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:26:17.183392 [ 50280 ] {a5cc1735-7059-4558-acdf-a2fb3cf4d709} TCPHandler: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a5cb5ec in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3210: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e8e5d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:26:17.269033 [ 50280 ] {29fb8857-d7bd-4df2-b9a6-ec62bd4af6ca} executeQuery: Code: 36. DB::Exception: Cannot reset setting 'unknown_setting' because it doesn't exist for MergeTree engines family. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48176) (comment: 00980_merge_alter_settings.sql) (in query: -- don't execute alter with incorrect setting ALTER TABLE table_for_reset_setting RESET SETTING merge_with_ttl_timeout, unknown_setting;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3100: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e777c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:26:17.269987 [ 50280 ] {29fb8857-d7bd-4df2-b9a6-ec62bd4af6ca} TCPHandler: Code: 36. DB::Exception: Cannot reset setting 'unknown_setting' because it doesn't exist for MergeTree engines family. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3100: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e777c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:26:29.074870 [ 50280 ] {f2fea02a-c965-4ea5-a40e-d5a73151fcf5} executeQuery: Code: 182. DB::Exception: Storage SystemNumbers (table system.numbers (a50c504e-d473-479b-b9f2-8279b1603aaa)) does not support PREWHERE. (ILLEGAL_PREWHERE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49084) (comment: 00973_live_view_select_prewhere.sql) (in query: CREATE LIVE VIEW lv2 AS SELECT sum(number) AS sum_number FROM system.numbers PREWHERE number > 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Planner/CollectTableExpressionData.cpp:138: DB::(anonymous namespace)::CollectPrewhereTableExpressionVisitor::visitImpl(std::shared_ptr const&) @ 0x2ae3f0d5 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:60: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ae3dbb6 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2ae3e91f in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ae3dbd3 in /usr/bin/clickhouse 10. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2ae3e91f in /usr/bin/clickhouse 11. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ae3dbd3 in /usr/bin/clickhouse 12. /build/src/Planner/CollectTableExpressionData.cpp:234: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x2ae3d44d in /usr/bin/clickhouse 13. /build/src/Planner/Planner.cpp:1131: DB::Planner::buildPlanForQueryNode() @ 0x2ae26598 in /usr/bin/clickhouse 14. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2ae25108 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:212: DB::InterpreterSelectQueryAnalyzer::getSampleBlock() @ 0x2ae22dec in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:196: DB::InterpreterSelectQueryAnalyzer::getSampleBlock(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae22d5d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:739: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab429e6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:26:29.076138 [ 50280 ] {f2fea02a-c965-4ea5-a40e-d5a73151fcf5} TCPHandler: Code: 182. DB::Exception: Storage SystemNumbers (table system.numbers (a50c504e-d473-479b-b9f2-8279b1603aaa)) does not support PREWHERE. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Planner/CollectTableExpressionData.cpp:138: DB::(anonymous namespace)::CollectPrewhereTableExpressionVisitor::visitImpl(std::shared_ptr const&) @ 0x2ae3f0d5 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:60: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ae3dbb6 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2ae3e91f in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ae3dbd3 in /usr/bin/clickhouse 10. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2ae3e91f in /usr/bin/clickhouse 11. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ae3dbd3 in /usr/bin/clickhouse 12. /build/src/Planner/CollectTableExpressionData.cpp:234: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x2ae3d44d in /usr/bin/clickhouse 13. /build/src/Planner/Planner.cpp:1131: DB::Planner::buildPlanForQueryNode() @ 0x2ae26598 in /usr/bin/clickhouse 14. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2ae25108 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:212: DB::InterpreterSelectQueryAnalyzer::getSampleBlock() @ 0x2ae22dec in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:196: DB::InterpreterSelectQueryAnalyzer::getSampleBlock(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2ae22d5d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:739: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab429e6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:26:29.274103 [ 50280 ] {da5f28d4-6cf5-44c1-992e-4e3ae59c530b} executeQuery: Code: 182. DB::Exception: Storage LiveView (table test_5648tgg7.lv (8eea703f-7b80-4609-8cbf-a2679a1aeda2)) does not support PREWHERE. (ILLEGAL_PREWHERE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49084) (comment: 00973_live_view_select_prewhere.sql) (in query: SELECT *, _version FROM lv PREWHERE sum_a > 5;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Planner/CollectTableExpressionData.cpp:138: DB::(anonymous namespace)::CollectPrewhereTableExpressionVisitor::visitImpl(std::shared_ptr const&) @ 0x2ae3f0d5 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:60: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ae3dbb6 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2ae3e91f in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ae3dbd3 in /usr/bin/clickhouse 10. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2ae3e91f in /usr/bin/clickhouse 11. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ae3dbd3 in /usr/bin/clickhouse 12. /build/src/Planner/CollectTableExpressionData.cpp:234: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x2ae3d44d in /usr/bin/clickhouse 13. /build/src/Planner/Planner.cpp:1131: DB::Planner::buildPlanForQueryNode() @ 0x2ae26598 in /usr/bin/clickhouse 14. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2ae25108 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2ae2315f in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2ae22f3b in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:26:29.275339 [ 50280 ] {da5f28d4-6cf5-44c1-992e-4e3ae59c530b} TCPHandler: Code: 182. DB::Exception: Storage LiveView (table test_5648tgg7.lv (8eea703f-7b80-4609-8cbf-a2679a1aeda2)) does not support PREWHERE. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Planner/CollectTableExpressionData.cpp:138: DB::(anonymous namespace)::CollectPrewhereTableExpressionVisitor::visitImpl(std::shared_ptr const&) @ 0x2ae3f0d5 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:60: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ae3dbb6 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2ae3e91f in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ae3dbd3 in /usr/bin/clickhouse 10. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2ae3e91f in /usr/bin/clickhouse 11. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ae3dbd3 in /usr/bin/clickhouse 12. /build/src/Planner/CollectTableExpressionData.cpp:234: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x2ae3d44d in /usr/bin/clickhouse 13. /build/src/Planner/Planner.cpp:1131: DB::Planner::buildPlanForQueryNode() @ 0x2ae26598 in /usr/bin/clickhouse 14. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2ae25108 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2ae2315f in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2ae22f3b in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:26:29.364167 [ 50280 ] {47665e64-07c1-4511-890d-c46fb9555426} executeQuery: Code: 182. DB::Exception: Storage LiveView (table test_5648tgg7.lv (8eea703f-7b80-4609-8cbf-a2679a1aeda2)) does not support PREWHERE. (ILLEGAL_PREWHERE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49084) (comment: 00973_live_view_select_prewhere.sql) (in query: SELECT *, _version FROM lv PREWHERE sum_a > 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Planner/CollectTableExpressionData.cpp:138: DB::(anonymous namespace)::CollectPrewhereTableExpressionVisitor::visitImpl(std::shared_ptr const&) @ 0x2ae3f0d5 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:60: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ae3dbb6 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2ae3e91f in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ae3dbd3 in /usr/bin/clickhouse 10. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2ae3e91f in /usr/bin/clickhouse 11. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ae3dbd3 in /usr/bin/clickhouse 12. /build/src/Planner/CollectTableExpressionData.cpp:234: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x2ae3d44d in /usr/bin/clickhouse 13. /build/src/Planner/Planner.cpp:1131: DB::Planner::buildPlanForQueryNode() @ 0x2ae26598 in /usr/bin/clickhouse 14. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2ae25108 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2ae2315f in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2ae22f3b in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:26:29.365132 [ 50280 ] {47665e64-07c1-4511-890d-c46fb9555426} TCPHandler: Code: 182. DB::Exception: Storage LiveView (table test_5648tgg7.lv (8eea703f-7b80-4609-8cbf-a2679a1aeda2)) does not support PREWHERE. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Planner/CollectTableExpressionData.cpp:138: DB::(anonymous namespace)::CollectPrewhereTableExpressionVisitor::visitImpl(std::shared_ptr const&) @ 0x2ae3f0d5 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:60: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ae3dbb6 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2ae3e91f in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ae3dbd3 in /usr/bin/clickhouse 10. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2ae3e91f in /usr/bin/clickhouse 11. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ae3dbd3 in /usr/bin/clickhouse 12. /build/src/Planner/CollectTableExpressionData.cpp:234: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x2ae3d44d in /usr/bin/clickhouse 13. /build/src/Planner/Planner.cpp:1131: DB::Planner::buildPlanForQueryNode() @ 0x2ae26598 in /usr/bin/clickhouse 14. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2ae25108 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2ae2315f in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2ae22f3b in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:27:16.834982 [ 18229 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x31ded3c7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x31df1507 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x31c0bee7 in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:991: Poco::Net::SocketImpl::error(int, String const&) @ 0x31c1b84b in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:910: Poco::Net::SocketImpl::error() @ 0x31c1a1e9 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::peerAddress() @ 0x31c1e0de in /usr/bin/clickhouse 9. /build/base/poco/Net/include/Poco/Net/Socket.h:596: Poco::Net::Socket::peerAddress() const @ 0x2226b4c8 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPServerSession.cpp:60: Poco::Net::HTTPServerSession::clientAddress() @ 0x31bfa830 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerRequest.cpp:34: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x2c7cae51 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:33: DB::HTTPServerConnection::run() @ 0x2c7c9ea6 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:27:20.436531 [ 50280 ] {5d6e6f37-b68c-441d-9cf7-d214e6cc968a} executeQuery: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has Int32. (BAD_TTL_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55300) (comment: 00933_alter_ttl.sql) (in query: alter table ttl modify ttl a;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/TTLDescription.cpp:77: DB::(anonymous namespace)::checkTTLExpression(std::shared_ptr const&, String const&) @ 0x2bbe9076 in /usr/bin/clickhouse 7. /build/src/Storages/TTLDescription.cpp:292: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x2bbe8c5c in /usr/bin/clickhouse 8. /build/src/Storages/TTLDescription.cpp:341: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x2bbe954c in /usr/bin/clickhouse 9. /build/src/Storages/AlterCommands.cpp:612: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b803d58 in /usr/bin/clickhouse 10. /build/src/Storages/AlterCommands.cpp:928: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b806405 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e55ac in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:27:20.437559 [ 50280 ] {5d6e6f37-b68c-441d-9cf7-d214e6cc968a} TCPHandler: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has Int32. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/TTLDescription.cpp:77: DB::(anonymous namespace)::checkTTLExpression(std::shared_ptr const&, String const&) @ 0x2bbe9076 in /usr/bin/clickhouse 7. /build/src/Storages/TTLDescription.cpp:292: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x2bbe8c5c in /usr/bin/clickhouse 8. /build/src/Storages/TTLDescription.cpp:341: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x2bbe954c in /usr/bin/clickhouse 9. /build/src/Storages/AlterCommands.cpp:612: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b803d58 in /usr/bin/clickhouse 10. /build/src/Storages/AlterCommands.cpp:928: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b806405 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e55ac in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:27:20.614852 [ 50280 ] {a4cc65aa-af40-43a7-89e4-ea75d58bd868} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function toDayOfMonth. Should be Date, Date32, DateTime or DateTime64: While processing toDayOfMonth(d). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55300) (comment: 00933_alter_ttl.sql) (in query: alter table ttl modify column d Int ttl d + interval 1 day;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x20e7a811 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:59: DB::FunctionDateOrDateTimeToSomething, DB::ToDayOfMonthImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x20e7905f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a041ed8 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a042243 in /usr/bin/clickhouse 24. /build/src/Storages/KeyDescription.cpp:142: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x2b869a05 in /usr/bin/clickhouse 25. /build/src/Storages/KeyDescription.cpp:75: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x2b869546 in /usr/bin/clickhouse 26. /build/src/Storages/AlterCommands.cpp:944: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b80662f in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e55ac in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 22:27:20.615998 [ 50280 ] {a4cc65aa-af40-43a7-89e4-ea75d58bd868} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function toDayOfMonth. Should be Date, Date32, DateTime or DateTime64: While processing toDayOfMonth(d). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x196bb90c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x20e7a811 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:59: DB::FunctionDateOrDateTimeToSomething, DB::ToDayOfMonthImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x20e7905f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x196b5890 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x290a06c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x290a0108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x290a0721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29d36966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a073cd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a07fcfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0791ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0741ad in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a069f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a06a0e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a069e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0492c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0360de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a041ed8 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a042243 in /usr/bin/clickhouse 24. /build/src/Storages/KeyDescription.cpp:142: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x2b869a05 in /usr/bin/clickhouse 25. /build/src/Storages/KeyDescription.cpp:75: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x2b869546 in /usr/bin/clickhouse 26. /build/src/Storages/AlterCommands.cpp:944: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b80662f in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e55ac in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 2024.03.27 22:27:20.704881 [ 50280 ] {0adb0d6a-25b9-4dc3-be52-39bffef4ad38} executeQuery: Code: 524. DB::Exception: ALTER of key column d is forbidden. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55300) (comment: 00933_alter_ttl.sql) (in query: alter table ttl modify column d DateTime ttl d + interval 1 day;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3110: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e7943 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:27:20.705887 [ 50280 ] {0adb0d6a-25b9-4dc3-be52-39bffef4ad38} TCPHandler: Code: 524. DB::Exception: ALTER of key column d is forbidden. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3110: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c0e7943 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2c06a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 18. ? @ 0x7f2098f50609 in ? 19. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:27:22.294755 [ 50280 ] {8b2c6ef7-5c1c-4bc4-8dc7-1af2297a1223} executeQuery: Code: 432. DB::Exception: Unknown codec family: adssadads. (UNKNOWN_CODEC) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55316) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE bad_codec(id UInt64 CODEC(adssadads)) ENGINE = MergeTree() order by tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf17 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab4134d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:27:22.295905 [ 50280 ] {8b2c6ef7-5c1c-4bc4-8dc7-1af2297a1223} TCPHandler: Code: 432. DB::Exception: Unknown codec family: adssadads. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf17 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab4134d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:27:22.402824 [ 50280 ] {7c91b8da-d13f-495a-b90b-9854f26076df} executeQuery: Code: 431. DB::Exception: ZSTD codec must have 1 or 2 parameters, given 4. (ILLEGAL_SYNTAX_FOR_CODEC_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55316) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE too_many_params(id UInt64 CODEC(ZSTD(2,3,4,5))) ENGINE = MergeTree() order by tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1bf9de33 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecZSTD.cpp:118: DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&) const @ 0x2987c633 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x2987c51d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x2987c4dd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2987c49d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x2987c465 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x298775de in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x2987759d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x2986df05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x2986dec8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x2986de85 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x2986de45 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x2986ddf0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298738e9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x2986f665 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf70 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab4134d in /usr/bin/clickhouse 2024.03.27 22:27:22.404373 [ 50280 ] {7c91b8da-d13f-495a-b90b-9854f26076df} TCPHandler: Code: 431. DB::Exception: ZSTD codec must have 1 or 2 parameters, given 4. (ILLEGAL_SYNTAX_FOR_CODEC_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1bf9de33 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecZSTD.cpp:118: DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&) const @ 0x2987c633 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x2987c51d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x2987c4dd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2987c49d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x2987c465 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x298775de in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x2987759d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x2986df05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x2986dec8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x2986de85 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x2986de45 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x2986ddf0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298738e9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x2986f665 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf70 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab4134d in /usr/bin/clickhouse 2024.03.27 22:27:22.551017 [ 50280 ] {63306e42-c75c-429b-ae1f-d90d7509c173} executeQuery: Code: 378. DB::Exception: Compression codec LZ4 cannot have arguments. (DATA_TYPE_CANNOT_HAVE_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55316) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE params_when_no_params(id UInt64 CODEC(LZ4(1))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:160: DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_1::operator()(std::shared_ptr const&) const @ 0x2986e508 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function ()>)::$_1&>()(std::declval const&>())) std::__invoke[abi:v15000], std::function ()>)::$_1&, std::shared_ptr const&>(DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_1&, std::shared_ptr const&) @ 0x2986e45d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function ()>)::$_1&, std::shared_ptr const&>(DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_1&, std::shared_ptr const&) @ 0x2986e41d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function ()>)::$_1, std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2986e3dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl, std::function ()>)::$_1, std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x2986e3a8 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x298775de in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x2987759d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x2986df05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x2986dec8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x2986de85 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x2986de45 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x2986ddf0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298738e9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x2986f665 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf70 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab4134d in /usr/bin/clickhouse 2024.03.27 22:27:22.552701 [ 50280 ] {63306e42-c75c-429b-ae1f-d90d7509c173} TCPHandler: Code: 378. DB::Exception: Compression codec LZ4 cannot have arguments. (DATA_TYPE_CANNOT_HAVE_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:160: DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_1::operator()(std::shared_ptr const&) const @ 0x2986e508 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function ()>)::$_1&>()(std::declval const&>())) std::__invoke[abi:v15000], std::function ()>)::$_1&, std::shared_ptr const&>(DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_1&, std::shared_ptr const&) @ 0x2986e45d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function ()>)::$_1&, std::shared_ptr const&>(DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_1&, std::shared_ptr const&) @ 0x2986e41d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function ()>)::$_1, std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2986e3dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl, std::function ()>)::$_1, std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x2986e3a8 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x298775de in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x2987759d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x2986df05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x2986dec8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x2986de85 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x2986de45 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x2986ddf0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298738e9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x2986f665 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf70 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab4134d in /usr/bin/clickhouse 2024.03.27 22:27:22.561849 [ 50280 ] {34610b9f-79ef-4703-bac0-0bd7aa5a5ad7} executeQuery: Code: 432. DB::Exception: Unknown codec family: MULTIPLE. (UNKNOWN_CODEC) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55316) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE codec_multiple_direct_specification_1(id UInt64 CODEC(MULTIPLE(LZ4, ZSTD))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf17 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab4134d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:27:22.562895 [ 50280 ] {34610b9f-79ef-4703-bac0-0bd7aa5a5ad7} TCPHandler: Code: 432. DB::Exception: Unknown codec family: MULTIPLE. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf17 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab4134d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:27:22.570921 [ 50280 ] {d4143975-7cd4-43e5-a18a-9522bc3c8b5b} executeQuery: Code: 432. DB::Exception: Unknown codec family: multiple. (UNKNOWN_CODEC) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55316) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE codec_multiple_direct_specification_2(id UInt64 CODEC(multiple(LZ4, ZSTD))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf17 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab4134d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:27:22.572026 [ 50280 ] {d4143975-7cd4-43e5-a18a-9522bc3c8b5b} TCPHandler: Code: 432. DB::Exception: Unknown codec family: multiple. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf17 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab4134d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 30. ? @ 0x7f2098f50609 in ? 31. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:27:22.695144 [ 50280 ] {c1d55c28-cc6e-4b43-8ec5-3b702eaffe10} executeQuery: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 3. (ILLEGAL_CODEC_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55316) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE delta_bad_params1(id UInt64 CODEC(Delta(3))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a52fed3 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:211: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298821b5 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29881e68 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29881e25 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x29881de5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x29881d8d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298738e9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x2986f665 in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf70 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 21. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab4134d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 22:27:22.696620 [ 50280 ] {c1d55c28-cc6e-4b43-8ec5-3b702eaffe10} TCPHandler: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 3. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a52fed3 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:211: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298821b5 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29881e68 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29881e25 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x29881de5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x29881d8d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298738e9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x2986f665 in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf70 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 21. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab4134d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 22:27:22.704862 [ 50280 ] {0c967147-977c-47d6-9b15-15b5c24b5161} executeQuery: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 16. (ILLEGAL_CODEC_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55316) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE delta_bad_params2(id UInt64 CODEC(Delta(16))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a52fed3 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:211: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298821b5 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29881e68 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29881e25 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x29881de5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x29881d8d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298738e9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x2986f665 in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf70 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 21. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab4134d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 22:27:22.706174 [ 50280 ] {0c967147-977c-47d6-9b15-15b5c24b5161} TCPHandler: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 16. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a52fed3 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:211: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298821b5 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29881e68 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29881e25 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x29881de5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x29881d8d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298738e9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x2986f665 in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf70 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 21. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab4134d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 2024.03.27 22:27:23.359131 [ 50280 ] {fc9be8bc-e0ee-40d8-9fec-7cb01034f7b9} executeQuery: Code: 36. DB::Exception: Codec Delta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type FixedString(12). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55316) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE compression_codec_multiple_more_types ( id Decimal128(13) CODEC(ZSTD, LZ4, ZSTD, ZSTD, Delta(2), Delta(4), Delta(1), LZ4HC), data FixedString(12) CODEC(ZSTD, ZSTD, Delta, Delta, Delta, NONE, NONE, NONE, LZ4HC), ddd Nested (age UInt8, Name String) CODEC(LZ4, LZ4HC, NONE, NONE, NONE, ZSTD, Delta(8)) ) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:185: DB::(anonymous namespace)::getDeltaBytesSize(DB::IDataType const*) @ 0x29882489 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionCodecDelta.cpp:216: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x29882239 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29881e68 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29881e25 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x29881de5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x29881d8d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298738e9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x2986f665 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf70 in /usr/bin/clickhouse 15. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 23. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 24. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab4134d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 22:27:23.360774 [ 50280 ] {fc9be8bc-e0ee-40d8-9fec-7cb01034f7b9} TCPHandler: Code: 36. DB::Exception: Codec Delta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type FixedString(12). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:185: DB::(anonymous namespace)::getDeltaBytesSize(DB::IDataType const*) @ 0x29882489 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionCodecDelta.cpp:216: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x29882239 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29881e68 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29881e25 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x29881de5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x29881d8d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298738e9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x2986f665 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf70 in /usr/bin/clickhouse 15. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 23. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 24. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2ab4134d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2ab41b48 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2ab48ee4 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2ab50896 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 2024.03.27 22:27:26.396145 [ 50280 ] {e0aea4a9-e969-46c9-9938-50089748d983} executeQuery: Code: 432. DB::Exception: Unknown codec family: gbdgkjsdh. (UNKNOWN_CODEC) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38174) (comment: 00804_test_alter_compression_codecs.sql) (in query: ALTER TABLE alter_bad_codec ADD COLUMN alter_column DateTime DEFAULT '2019-01-01 00:00:00' CODEC(gbdgkjsdh);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf17 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 17. /build/src/Storages/AlterCommands.cpp:1083: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807c65 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:27:26.397349 [ 50280 ] {e0aea4a9-e969-46c9-9938-50089748d983} TCPHandler: Code: 432. DB::Exception: Unknown codec family: gbdgkjsdh. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19df1613 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf17 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 17. /build/src/Storages/AlterCommands.cpp:1083: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807c65 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2bfd3 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 29. ? @ 0x7f2098f50609 in ? 30. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:27:26.510986 [ 50280 ] {90c5537e-3a7c-45f9-826e-e829ddff5408} executeQuery: Code: 433. DB::Exception: ZSTD codec can't have level more than 22, given 100. (ILLEGAL_CODEC_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38174) (comment: 00804_test_alter_compression_codecs.sql) (in query: ALTER TABLE alter_bad_codec ADD COLUMN alter_column DateTime DEFAULT '2019-01-01 00:00:00' CODEC(ZSTD(100));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&&, int&) @ 0x2987e1ec in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecZSTD.cpp:129: DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&) const @ 0x2987c866 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x2987c51d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x2987c4dd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2987c49d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x2987c465 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x298775de in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x2987759d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x2986df05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x2986dec8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x2986de85 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x2986de45 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x2986ddf0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298738e9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x2986f665 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf70 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 31. /build/src/Storages/AlterCommands.cpp:1083: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807c65 in /usr/bin/clickhouse 2024.03.27 22:27:26.512506 [ 50280 ] {90c5537e-3a7c-45f9-826e-e829ddff5408} TCPHandler: Code: 433. DB::Exception: ZSTD codec can't have level more than 22, given 100. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&&, int&) @ 0x2987e1ec in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecZSTD.cpp:129: DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&) const @ 0x2987c866 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x2987c51d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x2987c4dd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2987c49d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x2987c465 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x298775de in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x2987759d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x2986df05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x2986dec8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x2986de85 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x2986de45 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x2986ddf0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298738e9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x2986f665 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x2986cf70 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2abed7fa in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed71d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2abed6dd in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2abed69d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2abed668 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29a996fe in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29a97add in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29a95556 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29a956dc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2abec25e in /usr/bin/clickhouse 31. /build/src/Storages/AlterCommands.cpp:1083: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b807c65 in /usr/bin/clickhouse 2024.03.27 22:27:58.653839 [ 51276 ] {14950d67-a73a-4a77-90b8-7dc2a866e907} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:27:58.778255 [ 51276 ] {a58f5b35-e954-4cc7-b648-727872e67562} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:27:58.935777 [ 51276 ] {1302eeca-32c1-4d2d-a79e-6766d7eeb113} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:27:59.081553 [ 51276 ] {7ec5c7dc-7850-44d7-84ba-100cceba01a8} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:27:59.188130 [ 51276 ] {acf5f899-1b04-4c22-a4b3-e6d76e49f665} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:27:59.281993 [ 51276 ] {3a62e558-911d-4a59-8c4c-de31b62384e9} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:27:59.410549 [ 51276 ] {04dab9d8-43b6-4281-a865-3769476195df} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:27:59.559957 [ 51276 ] {c95029bb-fe96-4afc-b244-595fef6f9346} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:27:59.636360 [ 51276 ] {fe248192-c82e-4c31-8b7c-11451aad0836} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:27:59.781980 [ 51276 ] {69f23d79-c8f1-4df2-9386-f6089e82bf71} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:27:59.934148 [ 51276 ] {8c98fd3a-cb72-44d9-88de-3839af293987} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:00.063516 [ 51276 ] {eff4e103-9a20-4912-b54a-bdd894dd96a3} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:00.312219 [ 51276 ] {0cde73ff-6c3d-4d65-9ee2-6c1655c3fc18} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:00.460172 [ 51276 ] {a8625f7c-cb05-48b4-88d6-4cb5723875f4} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:00.557199 [ 51276 ] {bd89dc65-1397-42bb-a18a-0d3270ef8b77} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:00.659489 [ 51276 ] {b05aa36c-d3b2-450b-8b03-a3bb09817822} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:00.787088 [ 51276 ] {2d280b3b-da8a-4eff-82d4-c942f2ec2f22} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:00.892303 [ 51276 ] {ae97ab77-6ed6-4965-8877-43077ce09e30} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:01.106906 [ 51276 ] {c712ef3a-2269-4929-95c6-0807d928fe6d} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:01.258093 [ 51276 ] {e11f210b-26d3-439a-a470-6e00aabf0e66} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:01.350362 [ 51276 ] {5b463395-0118-4141-9383-4fab1d245842} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:01.458752 [ 51276 ] {111a130e-1717-46a4-bff0-87dc414a2f2f} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:01.567589 [ 51276 ] {01cf220f-fa14-482b-899e-3abd2e5da7f8} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:01.662478 [ 51276 ] {43a283d5-f2d5-4786-a89f-e55354e897f8} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:01.755809 [ 51276 ] {b08cd8ff-11e8-4fc9-9477-a9206be51fce} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:01.795892 [ 51276 ] {e589f184-5b7c-4e96-b558-31b3d727c9d3} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:01.880079 [ 51276 ] {9d390dac-b6b7-4e77-b33d-39210c4ec76a} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:01.930735 [ 51276 ] {2560d9e0-4729-4d1f-a124-c257d0df0a2c} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:02.018423 [ 51276 ] {12a6a425-7aa3-4097-83c9-c4303e14e446} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:02.112373 [ 51276 ] {b6da2d5f-22c2-46dd-8f79-c0ecd6c4d2fb} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:02.229690 [ 51276 ] {b021f75d-e9d4-4fa8-8a73-1baa98a5d2cb} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:02.392600 [ 51276 ] {cb397637-d09c-4d80-a5e6-192d6b7c7062} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:02.513751 [ 51276 ] {ff47731b-7c4b-414d-99a2-da269dbbbd46} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:02.628759 [ 51276 ] {83ddaa11-2d91-44a9-9f45-d6ce8eea74ac} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:02.739101 [ 51276 ] {6a7a131b-8973-4dc9-9f08-06f406c3b463} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:02.840652 [ 51276 ] {1fd13f02-cbf1-4eab-8a2c-6799f199ae90} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:02.892195 [ 51276 ] {bebe060b-3855-492c-83da-f2348a34f544} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:02.986310 [ 51276 ] {196b20a2-6310-45b0-babd-c519339abb23} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:03.114439 [ 51276 ] {c313c0fb-55d3-4245-a5b5-441ae6aa3a63} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:03.214510 [ 51276 ] {cc39ad87-e873-44ce-8f59-2ec23c4c4dc1} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:03.412777 [ 51276 ] {0e13aabf-1cb4-44f9-a9a6-a65d2343b999} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:03.463172 [ 51276 ] {53cf2e50-b234-41f7-8748-fe78670c4998} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:03.565524 [ 51276 ] {58777c5f-a2e3-4f97-8197-ca0b19eda58f} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:03.687654 [ 51276 ] {76c19b6a-aef4-4c2d-b952-049635b9a596} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:03.874858 [ 51276 ] {f1ba4090-d1a8-458f-812d-a736d8b27ecf} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:04.005499 [ 51276 ] {9e50cff0-ded6-41f0-a695-6fa4a8a22155} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:04.100509 [ 51276 ] {0b56a812-3d36-4a9b-a9d1-23aa520bcacc} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:04.228307 [ 51276 ] {95128c6b-7054-49c0-bf00-6a067a118d0d} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:04.357152 [ 51276 ] {ec5309f0-5b1e-42fd-a8d8-084d7db61d4e} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:04.396818 [ 51276 ] {2bb6faac-36c7-4675-a3e9-65ef30e30985} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:04.528097 [ 51276 ] {16f4d828-6cdd-4907-909d-863731f9db9e} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:04.651283 [ 51276 ] {db380f58-9f54-4d11-a948-bf96f589674f} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:04.739274 [ 51276 ] {0f0e0e32-76d9-4054-8229-59d584691cd6} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:04.818135 [ 51276 ] {8342b7b5-ffae-470a-ae0c-ef1ee2151292} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:04.939575 [ 51276 ] {e55a648c-0c6b-475e-84a7-f6d5178e0939} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:05.020808 [ 51276 ] {b2dee031-26b0-403f-bae1-6c1a1df5f75e} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:05.134214 [ 51276 ] {a99de4f6-0d83-44e8-8658-7a73408e4c50} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:05.209469 [ 51276 ] {2bda5e32-3ff0-4ede-881e-374930f522bf} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:05.309741 [ 51276 ] {ac72b20b-c0c7-43d2-9fde-108456479232} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:05.360586 [ 51276 ] {198d2f50-6cfe-4736-9131-a279670b3b6c} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:05.456885 [ 51276 ] {9ef3980c-ac35-4f74-8f9e-301ed4a35ce1} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:05.546002 [ 51276 ] {f30264bb-ba75-44b1-ad09-481feffc7aa2} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:05.692644 [ 51276 ] {a0d0a594-f464-4a58-ac26-5853c3d18dbd} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:05.793045 [ 51276 ] {09e7a5c4-93f0-4307-8c2e-cc14ad5ede8b} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:05.892344 [ 51276 ] {72a7d495-f092-40de-821d-067ff76a9abd} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:05.976497 [ 51276 ] {804cc0a1-97ad-453b-9ce7-d69b0db73a47} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:06.053579 [ 51276 ] {990f0fb9-e216-4bbb-9081-9b60ed47ca3b} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:06.093114 [ 51276 ] {a728574d-a854-48eb-977c-cfcfbbca7803} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:06.176944 [ 51276 ] {84c187de-0e29-4e92-bf25-14b0f6e19e0f} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:06.257427 [ 51276 ] {8f534ebd-f9c3-43ea-a34c-b12180d6c8d0} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:06.310713 [ 51276 ] {2095297d-1722-4aaa-bf99-64055d5dcc9f} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:06.413976 [ 51276 ] {881ab461-b616-40a2-a1bb-b7c39a933b1c} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:06.530351 [ 51276 ] {1d1a1354-701b-40c1-8913-2304aa50ccd9} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:06.683623 [ 51276 ] {5b4f1f7b-b9d0-4412-92e6-80d47c7f8d7f} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:06.877495 [ 51276 ] {6779e8dc-54f5-4307-a7a3-f358cad41bf8} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:06.996958 [ 51276 ] {71ab9cdb-37ea-4a29-8e9c-cd4dc01bb64e} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:07.059421 [ 51276 ] {b50a21a5-1232-4482-9451-c5bfd4e25fa5} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:07.172474 [ 51276 ] {2dcacb35-2ac3-4b58-9a58-6e9bc9d3c561} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:07.290512 [ 51276 ] {3ac82150-fa4a-4efd-8186-e8436b198751} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:07.410068 [ 51276 ] {c5f3637f-e55f-4bf3-9880-0f0652f68d68} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:07.508548 [ 51276 ] {f5da983e-a547-45a9-aed9-7823765b9be0} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:07.602245 [ 51276 ] {77103e26-9d69-4560-82b1-fa415a8e85c2} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:07.644111 [ 51276 ] {4793ddd8-b898-4edb-b822-0980748fdb0e} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:07.723091 [ 51276 ] {805be74b-78df-4ee1-85a5-462d7e4e2be4} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:07.848310 [ 51276 ] {f48ffdbb-0b28-4b54-ab0c-d6e39e210df4} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:07.968279 [ 51276 ] {de5c58c3-4204-4229-8fd5-63a2624bd5d4} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:08.159788 [ 51276 ] {19e693f4-349b-4e47-b954-55854a0e737f} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:08.255025 [ 51276 ] {a3612092-98b2-4357-b853-b5e2c73994ad} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:08.346617 [ 51276 ] {0acb5dce-4af2-4cf4-a4d2-c55baf4f6eaa} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:08.406618 [ 51276 ] {f08349c3-a7f9-4906-9365-b085a38a4baa} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:08.497840 [ 51276 ] {44b17b93-a1a1-45fc-ae5c-ca2d2e6eb026} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:08.564854 [ 51276 ] {d41b9bbb-90ed-47f2-8320-90be0d9312f0} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:08.671638 [ 51276 ] {6d74836d-ae8d-43c4-9a70-f14020428e01} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:08.787288 [ 51276 ] {48c248b4-a823-46c0-8b45-e9207ec7cd40} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:08.891699 [ 51276 ] {256c108f-bb26-40e5-b71a-1dce737d12bd} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:08.993013 [ 51276 ] {ad10d68f-f6a8-405d-9ea6-24aeebedb711} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:09.088385 [ 51276 ] {d81fdd09-7f04-4f5b-93ff-96f1be815591} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:09.235787 [ 51276 ] {01dc24f7-765f-4bae-879e-813d95713e21} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:09.322737 [ 51276 ] {ec5fba5a-a2cd-41f9-b1a8-e28479f65ed0} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:09.441074 [ 51276 ] {b42710a4-1533-41f7-97b9-402c893f5a7e} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:09.588265 [ 51276 ] {7d3e6745-0c28-4a99-ab60-1338ff549d0f} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:09.672370 [ 51276 ] {b1569045-7b99-4f40-bdbb-cca373341467} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:09.808713 [ 51276 ] {ee21b055-c838-45be-b787-b56df8742782} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:09.869515 [ 51276 ] {21835338-a009-4430-bfbc-d352cb8d9dfe} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:10.006502 [ 51276 ] {170b3d1e-f5e4-45a6-84a7-9eec39a645b3} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:10.076900 [ 51276 ] {8258252c-4eb7-42b6-b511-c27c814c2a9a} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:10.242397 [ 51276 ] {12bcff8c-1567-4cb6-8918-9fb7210339f9} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:10.375478 [ 51276 ] {7d6b9c2d-0509-472c-aa5a-12c82ecfbea3} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:10.470392 [ 51276 ] {10cf78b0-a425-4214-b0fb-4261aba03cb5} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:10.564021 [ 51276 ] {53b2d3f8-d75e-441e-8595-956cc77a19f0} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:10.645390 [ 51276 ] {94330c11-dc58-4cab-8564-bdea62f379a1} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:10.730184 [ 51276 ] {1883369b-d38b-42b0-85f0-390c54648482} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:10.851936 [ 51276 ] {8c408b13-a4b1-4c6f-bf44-b27512d63912} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:10.979840 [ 51276 ] {8a22d271-12c3-4a69-8bea-3821ca5ed400} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:11.100549 [ 51276 ] {0b1dc535-4f0d-440b-a613-f70e5c173120} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:11.199710 [ 51276 ] {c6594049-cbf6-476f-a169-2323c0db1b60} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:11.303493 [ 51276 ] {fb77bcdb-424b-42d7-9bea-e8315f3d889e} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:11.413242 [ 51276 ] {25eb3f37-8b95-4b6c-9323-4e9979f113ae} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:11.458614 [ 51276 ] {732e10ff-97a6-485f-a112-eb74fada824d} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:11.544588 [ 51276 ] {fd2fec17-5092-4f74-a9dc-d96d57d94392} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:11.716925 [ 51276 ] {280677ba-17e9-427f-9c4d-d2f6bc61cd0f} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:11.862373 [ 51276 ] {1f94120a-7b1d-48bd-94b1-0d20d144263e} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:12.013618 [ 51276 ] {c3dfa60e-1bfd-41ae-ae58-06148159ceec} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:12.138582 [ 51276 ] {8a554793-9f59-44fe-abac-db69ea7398a6} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:12.245758 [ 51276 ] {da451823-55d9-4d08-83fc-67dd4ccb1c06} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:12.366617 [ 51276 ] {33094131-316e-4c83-aa85-9bab6178f2b4} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:12.463105 [ 51276 ] {28ef42f4-3ce7-46db-9e14-2a75e52508b5} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:12.505700 [ 51276 ] {41cd2f63-c182-4429-b70b-fbe6a4c6613e} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:12.595429 [ 51276 ] {bede7815-81c1-44ae-9118-d6f0d33fb5dd} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:12.680904 [ 51276 ] {645b75c4-b971-4b0f-be7a-1751b23bfe04} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:12.789476 [ 51276 ] {4cb5d188-597b-4759-a198-dc3d81f84b42} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:12.890103 [ 51276 ] {deb5cb0e-8688-436c-872e-093f863f2848} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:12.992312 [ 51276 ] {04bbc729-17f1-4c4b-a0f0-46234cf92100} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:13.097104 [ 51276 ] {3193a732-f52a-417b-b507-24fb80795b86} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:13.197570 [ 51276 ] {77a45f77-d308-4eaf-875b-f1bd9d313ee0} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:13.338466 [ 51276 ] {ce9ec2db-9a1c-4b60-98ad-64f49497a085} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:13.421910 [ 51276 ] {58555eec-3596-4986-aec6-72e015a34172} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:13.499605 [ 51276 ] {d5ba4080-63bd-4dbc-9564-5626cb828f72} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:13.539001 [ 51276 ] {8fe15af0-2ef7-4997-b61b-c72a803a8f3b} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:13.669807 [ 51276 ] {8da04df5-3f4a-4533-8c1d-734264495899} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:13.732115 [ 51276 ] {9a3c5acc-c633-4012-b9d7-22f6ca402959} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:13.837467 [ 51276 ] {79feefcd-e45a-427e-a4a7-4fdc6a78a88f} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:13.920614 [ 51276 ] {764eb8eb-267c-4843-9108-55f0e430f9dd} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:14.047720 [ 51276 ] {670cf7f6-13ab-41f0-b0d5-536f682c2a43} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:14.137650 [ 51276 ] {64eb2aca-4ded-4aff-8181-12111a6236e0} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:14.237785 [ 51276 ] {aca83a2f-3882-44e8-a018-cbbea1152348} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:14.376447 [ 51276 ] {67f75d90-5580-4d0c-b567-dee84433a842} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:14.514120 [ 51276 ] {4eee3fea-8319-4114-a17f-d0b9ea2722cc} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:14.622189 [ 51276 ] {4a009d14-10d1-4faf-ba88-a7e18031aa2d} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:14.747173 [ 51276 ] {5314859f-c768-44d2-9bd5-a082cebed22d} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:14.856950 [ 51276 ] {b535909e-9790-46fe-8d68-002308fb6e45} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:14.954095 [ 51276 ] {fad2bae6-197e-4786-afa3-70bc66e5da33} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:15.064667 [ 51276 ] {4fd52f2f-cccd-4272-b92f-7943aeb7380e} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:15.169081 [ 51276 ] {a707d1f3-9011-4f36-91d1-d3597895b914} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:15.277502 [ 51276 ] {70d60f3b-693a-47d7-9cf1-193a39c9fe88} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:15.385290 [ 51276 ] {e6706767-0a9e-4ccd-8390-2a014697d03c} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:15.483642 [ 51276 ] {53b96bf7-d8b7-46a7-9e5f-693024b35ac8} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:15.599920 [ 51276 ] {7ee0a8a2-ef7f-4786-b26d-6563bbd27aec} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:15.718069 [ 51276 ] {a1aab8d8-268d-4202-8dd2-115bad498c97} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:15.794250 [ 51276 ] {7b26ab58-b55d-4dc2-aa27-45d8430f84f2} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:15.832733 [ 51276 ] {20559cbe-ed94-4a69-9da3-258ff0176941} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:15.912297 [ 51276 ] {18e86dd1-ef1a-4654-a9ce-ba772b1016f8} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:15.952320 [ 51276 ] {39b76e8c-3ac9-4297-a86e-c3c5e0be3964} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:16.036853 [ 51276 ] {269aa7e0-ee31-480e-869e-ac07f28cb8c1} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:16.241942 [ 51276 ] {b8f4ba6d-dde5-420a-b3ff-cebc8f2952d8} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:16.337254 [ 51276 ] {28228e92-b525-4547-907a-84eadd5fde03} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:16.419835 [ 51276 ] {2d7b4b02-fdd9-45f2-b97a-356401c2dfa1} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:16.458343 [ 51276 ] {fe50ad7f-bfb9-43b4-9dcd-79c4798222f8} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:16.530961 [ 51276 ] {70436806-fbb3-4520-9a14-92036bf5f994} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:16.575021 [ 51276 ] {51fe1ef9-d6ed-4135-a3d7-5d668abf4bf7} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:16.655454 [ 51276 ] {4694f8ac-ac7a-4732-b53b-8ecc5aeed9b4} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:16.750505 [ 51276 ] {eabcb845-def7-4fdd-a188-2eddf036cdd7} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:16.854764 [ 51276 ] {8c5f2472-44e3-4c02-adba-0067a2dae059} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:16.991147 [ 51276 ] {6a3bf7cf-0994-4116-bdd7-6b15e73a1bf3} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:17.078371 [ 51276 ] {e93edfb6-3974-4f19-a960-ca1b9b3d1df9} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:17.180311 [ 51276 ] {f53c2e56-6321-424f-b0c7-4896d0cb884c} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:17.301913 [ 51276 ] {5a7bb3cc-efd7-4cff-9ef2-a43f121aef5b} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:17.489102 [ 51276 ] {ea0dd596-d960-4561-a618-93aa0c5d425e} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:17.621597 [ 51276 ] {d2490a92-e61d-40f6-8bda-90994968281a} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:17.712910 [ 51276 ] {dae0064b-641a-488c-b46a-8ff27e619434} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:17.841029 [ 51276 ] {4c2df575-72cd-46ee-b00d-2c1d88727445} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:17.972948 [ 51276 ] {3c1a7fbd-6a64-4bcf-8c1f-32284a457453} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:18.027972 [ 51276 ] {ff9cedca-ad62-482f-9c5a-ddfe6c90fdba} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:18.187833 [ 51276 ] {59877bac-fcf2-498e-b9ac-839831d530a5} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:18.292402 [ 51276 ] {33cd7a28-9c67-4f0b-8b74-af3c3c639966} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:18.336718 [ 51276 ] {67eaa0d9-e369-42ac-b73d-cf201da659d8} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:18.426738 [ 51276 ] {16b4600d-a06d-4bb2-bbd3-0533fa609c03} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:18.510060 [ 51276 ] {d678d44e-f5e6-4ec3-ab61-58bfb117c4aa} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:18.594192 [ 51276 ] {71b0dc50-326c-48db-8c54-ef29cfa47957} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:18.693839 [ 51276 ] {aa56b126-a26b-44db-94d0-5a7086d11652} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:18.829755 [ 51276 ] {08f77882-6c64-49a4-87d2-b2547f63c930} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:18.921795 [ 51276 ] {2acc47f6-b877-410b-8378-62d42a04289c} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:19.008532 [ 51276 ] {bbd22aef-2c95-403f-83d9-970e05b0c6b0} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:19.056719 [ 51276 ] {1262cc64-7ece-4707-acb3-7d591a6062f9} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:19.151020 [ 51276 ] {048aa216-ac73-4a5c-bbdf-273ea44a6b5d} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:19.259037 [ 51276 ] {fb45979c-2318-4e8a-824f-44ac44e59272} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:19.384519 [ 51276 ] {10e16d9c-5109-4b7a-8789-9bed7e097f2a} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:19.510224 [ 51276 ] {4fa4c43c-a50b-433b-a9f8-b365770952c5} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:19.623778 [ 51276 ] {64d512f6-adf8-40d4-b938-68525d8c1def} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:19.684908 [ 51276 ] {eee9b842-0210-4c92-bdf9-0ab29c3d73c9} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:19.814074 [ 51276 ] {cf751854-3a7a-4ed1-8644-944fe827f7a4} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:19.945998 [ 51276 ] {166f6d06-e476-4e15-91f7-c3a991447f7d} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:20.039752 [ 51276 ] {7e56a925-da48-4e2e-9f24-3a136ed95fd9} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:20.137521 [ 51276 ] {08118e23-32d2-4abb-934b-26c65e46b3dd} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:20.261457 [ 51276 ] {ed64675b-987c-4e8a-8a69-7cc4847e5202} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:20.302104 [ 51276 ] {434a3aa9-ee53-4f44-b98f-73a926a971eb} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:20.393405 [ 51276 ] {a52a3c48-fbdd-4df4-9d41-a54c2cc8c3ee} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:20.508216 [ 51276 ] {ed8d01fd-32ae-472e-8d50-1c06c453f339} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:20.600781 [ 51276 ] {ed67508b-b776-48c6-af20-d4c192baeec9} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:20.716772 [ 51276 ] {9d9179f6-de7b-4274-8121-13f659a8c3a0} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:20.836664 [ 51276 ] {b7a6ed7c-e89a-4058-8ef3-bc0026ca30ce} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:20.908811 [ 51276 ] {eff24c95-83b8-4653-bc53-238f5a779726} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:20.945095 [ 51276 ] {efc547b1-437a-4619-a187-60dc71ddbb2b} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:21.018806 [ 51276 ] {94a51bda-83f5-4cdf-abfa-3b4ab6ad26c4} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:21.105645 [ 51276 ] {d08d067f-9cd5-4942-ab0e-c92a694d087e} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:21.189570 [ 51276 ] {dcd2c8d8-7f76-42a2-b76d-22878408b7fa} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:21.245625 [ 51276 ] {bed8fb7e-64f4-4d12-a45f-6890e5e667d5} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:21.342161 [ 51276 ] {af4eac2a-916f-4cf9-a685-92496fd919b0} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:21.469016 [ 51276 ] {6e99fc7c-85c9-4cc1-80ca-afbb9cea433d} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:21.594353 [ 51276 ] {8cac3c93-f9d4-44aa-9020-c842abed4583} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:21.639409 [ 51276 ] {42f3865d-541f-4cce-90b5-4cf3b261385d} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:21.718578 [ 51276 ] {ebb7a1ac-a3f5-4ff2-b2af-e160325f25a2} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:21.758423 [ 51276 ] {3bcac114-35f8-4bec-9a10-91af28d3fc85} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:21.882415 [ 51276 ] {cacc0fe0-b69b-4831-9438-41e96f4bdb19} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:21.966082 [ 51276 ] {71d51dc0-b151-4c6c-a7cf-11755c98f7d4} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:22.092061 [ 51276 ] {a237167e-c3c0-4c3a-990b-0dea8d646f54} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:22.186453 [ 51276 ] {ed228e48-dc68-47d5-8cba-acf8ec731201} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:22.310625 [ 51276 ] {4d04f9ef-ea65-436a-8ab2-f7907c970c93} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:22.446671 [ 51276 ] {cb6cc4f0-8cfd-4a6b-bb62-5e6d5d0a01c0} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:22.613005 [ 51276 ] {796b17f4-ced3-4c3f-99fa-1138809f9766} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:22.743727 [ 51276 ] {14e5320d-cbed-498d-bf20-a4137a613591} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:22.809330 [ 51276 ] {80274db4-1a2a-4d30-b8a6-654d5791f5b5} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:22.937544 [ 51276 ] {caed9c43-cb1f-4296-8631-37c9d87ddafa} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:23.055887 [ 51276 ] {62aeac1f-5761-4232-be4d-51e4cf168c5e} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:23.115762 [ 51276 ] {564bd6f3-dbcb-4c2a-b34b-82bd015e44c2} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:23.250346 [ 51276 ] {cdda6971-958c-47a1-a5c5-21394a182479} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:23.359533 [ 51276 ] {1ee2d1b1-cd60-4017-85d0-41fc83c5cc7e} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:23.486033 [ 51276 ] {3471b54e-4b97-40fc-919b-ee45c34f62bd} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:23.616692 [ 51276 ] {651328a5-ce8f-4aae-88eb-01dfa2af7bcd} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:23.751548 [ 51276 ] {5bf97083-03d3-4e40-b6f5-6222d4ea83d7} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:23.840362 [ 51276 ] {d5df777e-c463-4b9a-8cf8-039f7b23bf16} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:23.881353 [ 51276 ] {3b1e53df-26c3-4ee0-8cbd-84a0c322536b} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:23.986091 [ 51276 ] {7ec8f072-9979-415d-83ff-7d25369a5199} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:24.035776 [ 51276 ] {d45914bc-f7db-4d5e-b308-6e89ecbb406d} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:24.122599 [ 51276 ] {b47932ff-ab7f-4945-89e9-d69973ac1039} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:24.233857 [ 51276 ] {060f8b03-a14c-49f2-8d13-ae59f583599f} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:24.303482 [ 51276 ] {81c3b22d-cadc-4fc6-bb94-91c120e2a246} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:24.344232 [ 51276 ] {641ffafe-891c-4569-aa68-c60084bded84} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:24.468461 [ 51276 ] {1d8d45ef-537c-4ae0-a5b6-08f56a026fb5} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:24.564048 [ 51276 ] {e651ba34-da5b-48b3-a1a4-a725f66b2b63} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:24.707175 [ 51276 ] {ffb4a3ef-3a43-456f-98ef-d6519bd9f8e7} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:24.792048 [ 51276 ] {77f1e466-a57d-4a85-9dc9-4897e86c9f62} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:24.887150 [ 51276 ] {47bbcd1e-639a-4fc8-b54d-0c7b8ed661de} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:24.971475 [ 51276 ] {8430a447-0ff6-4813-9ae3-6a0921810e0a} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:25.054893 [ 51276 ] {d6b3922a-1f2b-447d-beaf-ba5b31ef681c} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:25.092490 [ 51276 ] {da9d4eed-99ab-4a7f-8f97-08f3b12dbb0e} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:25.160512 [ 51276 ] {e77a398b-90da-4cfa-8adc-662988fe2bc5} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:25.252637 [ 51276 ] {55bf6a04-f46c-450b-a3e8-d3aa8e729b12} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:25.297302 [ 51276 ] {67633779-e4c4-411b-a048-7412085eb3fe} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:25.403607 [ 51276 ] {45b564c2-5c2c-48c2-af9f-ba127b9e64da} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:25.554730 [ 51276 ] {a51310fa-5384-4b90-b42f-75bf3f64904a} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:25.692007 [ 51276 ] {d0386514-202e-4d02-a027-8664848a074f} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:25.785314 [ 51276 ] {dd9f9025-9083-48d0-bbfb-db1fd12cafb6} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:25.875847 [ 51276 ] {8b11829f-8fa3-4443-9696-e36a33666ffe} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:26.039085 [ 51276 ] {64b5f6f9-0e4a-4f55-8364-522f51a68dbc} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:26.143122 [ 51276 ] {0320ea34-92cc-43e7-a868-b41422f0a637} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:26.290691 [ 51276 ] {9da62745-d8ed-45df-afe6-ba82d404b2f2} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:26.387713 [ 51276 ] {56751f31-8599-44d4-9c8e-6de99d9314ea} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:26.544370 [ 51276 ] {67a03430-b6c0-4d34-a4e1-58fd6d8d24e1} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:26.636567 [ 51276 ] {bfa9494c-95bc-45fd-9bb3-2329aa574294} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:26.746543 [ 51276 ] {b0ddbef8-9008-4a6b-8926-74e7e22b1d9a} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:26.839085 [ 51276 ] {75b7c8a6-8d8f-44e2-9a98-8b64781cdd4b} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:26.924066 [ 51276 ] {7ce5bc57-0fe1-4ef7-8d6c-1d05729ae2a1} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:27.010886 [ 51276 ] {0ba16cff-2263-49f5-b5c2-f33923370a89} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:27.098452 [ 51276 ] {4c8f52a2-5d61-4903-8542-a623c3d40b2e} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:27.306817 [ 51276 ] {724a1f2e-591c-41ec-b52d-9eaa7b352a1c} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:27.401328 [ 51276 ] {97439588-f5ab-4a23-b6cf-be43ac55b9bb} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:27.507117 [ 51276 ] {312f4f29-c07f-4d40-9fb0-2cdf014ccc48} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:27.560591 [ 51276 ] {63805e13-3ec6-4e3a-88b7-bc5f95c37123} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:27.662829 [ 51276 ] {708a2225-0c12-4a20-bb80-5ba9d4e777f6} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:27.788328 [ 51276 ] {f4ad6fc3-e559-4ea1-a008-7671c6ed1d00} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:27.882293 [ 51276 ] {daab6f0d-1f96-4d83-95b4-f67e9934d42e} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:27.968267 [ 51276 ] {18bdf50d-350c-4849-b669-6974558d4d01} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:28.068440 [ 51276 ] {93f08e4f-5db8-49bc-bcb2-e5d616fac854} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:28.160672 [ 51276 ] {405c9844-a933-41a3-b330-13a51e109e9a} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:28.268426 [ 51276 ] {f32beaa0-08d6-4c00-8996-b90253e28289} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:28.376488 [ 51276 ] {c3829ff1-90cc-4bfc-a340-56b5dbbef272} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:28.480103 [ 51276 ] {20c41c4d-c353-40b1-999f-490b418ed659} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:28.572383 [ 51276 ] {03821e1b-f193-4a50-a45d-d2d428c85357} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:28.623826 [ 51276 ] {bee67b1a-ff33-49f0-a11a-93f27e867d0a} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:28.678268 [ 51276 ] {d6c67140-f835-448e-88c8-7707c9c71ad9} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:28.806004 [ 51276 ] {726344fe-3612-4068-82de-4db4ce7f16da} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:28.924604 [ 51276 ] {827eadd6-9c1f-4d53-b956-22481b28b906} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:29.062005 [ 51276 ] {8e91b3c2-6e46-4f17-9a26-700da2b005cc} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:29.129332 [ 51276 ] {02a74e65-f600-46f5-9162-2ebff0521e49} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:29.332305 [ 51276 ] {c3ff3c3f-f7fe-461b-b2be-d84623b34ea3} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:29.462531 [ 51276 ] {bbe68a22-d0cc-4a57-87dc-690cc4e23106} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:29.553100 [ 51276 ] {90998b8e-d131-4c7c-8040-a4744ce45c16} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:29.680642 [ 51276 ] {79977d05-e45c-4637-b19a-d3014e3cf99f} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:29.751780 [ 51276 ] {849cb295-5817-4d5f-a095-9f07b2576a6c} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:29.877459 [ 51276 ] {0e00841e-1562-4b6b-9feb-df548cc4ee8b} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:29.976954 [ 51276 ] {2df42660-0d38-49f6-a884-74b7b942007e} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:30.057574 [ 51276 ] {1bade1f0-aec1-4646-8454-ccd4a1b53235} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:30.135824 [ 51276 ] {9388fd69-f172-438d-bf5a-3a1cd7d8cc66} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:30.206223 [ 51276 ] {1d36a60f-76b0-4a6e-86ad-15f39099c3da} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:30.246909 [ 51276 ] {5059687e-dcc2-45d9-b729-1281c74883e7} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:30.302484 [ 51276 ] {7e2f12ef-cbb9-40dd-a64b-677eb68fb7e2} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:30.414334 [ 51276 ] {d723ee45-4477-4020-b6a8-9ad5a5a2f20b} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:30.485712 [ 51276 ] {47de86e6-bcf3-41f8-a6c4-4587270fa476} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:30.530525 [ 51276 ] {3e33e785-1434-42fc-9557-5feef09ec953} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:30.600048 [ 51276 ] {620c3610-e77e-472b-ab21-66e6e3a490d2} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:30.706276 [ 51276 ] {746d0f19-3270-4d27-a029-d9021af2ed69} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:30.785005 [ 51276 ] {a467bdc5-34a5-428c-b47f-5dbadb3c5175} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:30.870430 [ 51276 ] {894b0220-7565-4324-9e6d-85759513dd2c} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:30.951074 [ 51276 ] {213f616e-a02a-46ce-b1cc-c43226827143} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:31.072409 [ 51276 ] {88df8932-16cc-44ee-b70f-d58b20b06786} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:31.170685 [ 51276 ] {a1e5111e-7f8b-4e54-9de1-32bcdaa74c66} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:31.228414 [ 51276 ] {f45299e1-20b0-4588-b1f9-926e675aec37} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:31.368967 [ 51276 ] {18783fe1-036a-4489-9ad3-b6dbeb0ae4c4} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:31.408919 [ 51276 ] {6aa4df55-7b1f-4a81-8016-a5487892e802} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:31.499247 [ 51276 ] {dcf4c301-7032-4d19-89c6-e929726802a2} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:31.580355 [ 51276 ] {ef6dc9ad-bf15-4a9a-99f1-bf6cb9e4a201} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:31.661191 [ 51276 ] {63c7fb23-1ce3-432e-a435-ca2847328982} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:31.775700 [ 51276 ] {3213ed05-40ac-4d03-b6d4-3d3ff175b105} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:31.851468 [ 51276 ] {83fee1e9-8640-4de0-a604-d11d4ab200b5} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:31.894400 [ 51276 ] {4155e49c-d334-4f11-848f-e0647ba643af} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:31.980466 [ 51276 ] {a478e1d2-dfbf-4409-b405-f3abe4e507fe} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:32.021786 [ 51276 ] {b4a5056f-d3ff-4a07-9ec1-1da0a1fa9fe3} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:32.091508 [ 51276 ] {f684bec8-fc1e-4524-b809-5685b49362a3} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:32.194754 [ 51276 ] {fd664748-9b78-44bf-b313-1593d4e44531} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:32.274499 [ 51276 ] {a26dc605-ad9f-4b99-8024-233a80aa651d} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:28:32.403396 [ 51276 ] {98ca5fcc-605f-4eb9-aac4-c3796444b9a8} StorageBuffer (test_c8dsmd79.buffer_00763_1): Destination table test_c8dsmd79.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.27 22:34:54.407546 [ 51280 ] {dcf6f4dc-5723-4252-aed2-3d1c917b8d24} executeQuery: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'isZeroOrNull(nonexistent = 0), s, m, x, d', required columns: 'nonexistent' 's' 'm' 'x' 'd', maybe you meant: 's', 'm', 'x' or 'd'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58704) (comment: 00652_replicated_mutations_zookeeper.sh) (in query: ALTER TABLE mutations_r1 DELETE WHERE nonexistent = 0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1364: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2351b1 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:962: DB::MutationsInterpreter::prepareMutationStages(std::vector>&, bool) @ 0x2af1d011 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:908: DB::MutationsInterpreter::prepare(bool) @ 0x2af1b50c in /usr/bin/clickhouse 10. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af17100 in /usr/bin/clickhouse 11. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af16b49 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b995 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:34:54.409566 [ 51280 ] {dcf6f4dc-5723-4252-aed2-3d1c917b8d24} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'isZeroOrNull(nonexistent = 0), s, m, x, d', required columns: 'nonexistent' 's' 'm' 'x' 'd', maybe you meant: 's', 'm', 'x' or 'd'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b22f119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1364: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2351b1 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:962: DB::MutationsInterpreter::prepareMutationStages(std::vector>&, bool) @ 0x2af1d011 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:908: DB::MutationsInterpreter::prepare(bool) @ 0x2af1b50c in /usr/bin/clickhouse 10. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af17100 in /usr/bin/clickhouse 11. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af16b49 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b995 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 23. ? @ 0x7f2098f50609 in ? 24. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:34:55.850636 [ 51280 ] {2425af3b-b4d9-43dc-a28d-4c0439a79c30} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: while converting '11' to Date. (CANNOT_PARSE_DATE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49072) (comment: 00652_replicated_mutations_zookeeper.sh) (in query: ALTER TABLE mutations_r1 DELETE WHERE d = '11'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1df7397e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x221f92d5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x221f8f51 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19a61b77 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19a61866 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19a6181d in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationDate.cpp:30: DB::SerializationDate::deserializeTextEscaped(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29aac30e in /usr/bin/clickhouse 12. /build/src/DataTypes/Serializations/SerializationDate.cpp:22: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29aac1f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/convertFieldToType.cpp:487: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b32949f in /usr/bin/clickhouse 14. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3260bd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsComparison.h:923: DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x1c4959ee in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsComparison.h:1320: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c47e1a4 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 24. /build/src/Processors/Transforms/FilterTransform.cpp:44: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x2cc60c02 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x2ced2c25 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, String const&, bool>(DB::DataStream const&, std::shared_ptr&, String const&, bool&&) @ 0x2af25ead in /usr/bin/clickhouse 27. /build/src/Interpreters/MutationsInterpreter.cpp:1215: DB::MutationsInterpreter::addStreamsForLaterStages(std::vector> const&, DB::QueryPlan&) const @ 0x2af1df3c in /usr/bin/clickhouse 28. /build/src/Interpreters/MutationsInterpreter.cpp:1266: DB::MutationsInterpreter::validate() @ 0x2af1fa1a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 22:34:55.852558 [ 51280 ] {2425af3b-b4d9-43dc-a28d-4c0439a79c30} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: while converting '11' to Date. (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1df7397e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x221f92d5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x221f8f51 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19a61b77 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19a61866 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19a6181d in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationDate.cpp:30: DB::SerializationDate::deserializeTextEscaped(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29aac30e in /usr/bin/clickhouse 12. /build/src/DataTypes/Serializations/SerializationDate.cpp:22: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29aac1f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/convertFieldToType.cpp:487: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b32949f in /usr/bin/clickhouse 14. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3260bd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsComparison.h:923: DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x1c4959ee in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsComparison.h:1320: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c47e1a4 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196ba919 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x196b8a0d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909dc26 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909ed1e in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x2909fc15 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29d3b168 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29d3ab68 in /usr/bin/clickhouse 24. /build/src/Processors/Transforms/FilterTransform.cpp:44: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x2cc60c02 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x2ced2c25 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, String const&, bool>(DB::DataStream const&, std::shared_ptr&, String const&, bool&&) @ 0x2af25ead in /usr/bin/clickhouse 27. /build/src/Interpreters/MutationsInterpreter.cpp:1215: DB::MutationsInterpreter::addStreamsForLaterStages(std::vector> const&, DB::QueryPlan&) const @ 0x2af1df3c in /usr/bin/clickhouse 28. /build/src/Interpreters/MutationsInterpreter.cpp:1266: DB::MutationsInterpreter::validate() @ 0x2af1fa1a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2ab2b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2ab29d48 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 2024.03.27 22:35:46.542346 [ 51276 ] {ef84de52-6667-4575-bc9b-9af5c68a947a} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 217.00 B) in table 'test_lc8u5f9c.`.inner_id.44b5b842-e8da-48bd-a2c8-b7bece88ab67` (45c38a3e-1b51-4f67-9abf-c4be427deb9b)'. Merges are processing significantly slower than inserts: while pushing to view test_lc8u5f9c.b (44b5b842-e8da-48bd-a2c8-b7bece88ab67). (TOO_MANY_PARTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35472) (comment: 00633_materialized_view_and_too_many_parts_zookeeper.sh) (in query: INSERT INTO root VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x2c1472c8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4246: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x2c0fc7ef in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1154: DB::ReplicatedMergeTreeSinkImpl::onStart() @ 0x2c52b551 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x2cc5e0d9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cc5e0b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cc5e095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e075 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e03d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work() @ 0x2cc5d575 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x2c860076 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:770: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b37ea in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 22:35:46.545753 [ 51276 ] {ef84de52-6667-4575-bc9b-9af5c68a947a} TCPHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 217.00 B) in table 'test_lc8u5f9c.`.inner_id.44b5b842-e8da-48bd-a2c8-b7bece88ab67` (45c38a3e-1b51-4f67-9abf-c4be427deb9b)'. Merges are processing significantly slower than inserts: while pushing to view test_lc8u5f9c.b (44b5b842-e8da-48bd-a2c8-b7bece88ab67). (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x2c1472c8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4246: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x2c0fc7ef in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1154: DB::ReplicatedMergeTreeSinkImpl::onStart() @ 0x2c52b551 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x2cc5e0d9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cc5e0b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cc5e095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cc5e075 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cc5e03d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x221b75f6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x221b6a35 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cc5db89 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work() @ 0x2cc5d575 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8514c3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c851200 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c830ec1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c830a2e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x2c860076 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:770: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c7b37ea in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c7b1cfe in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c7a9460 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 31. ? @ 0x7f2098f50609 in ? 2024.03.27 22:38:38.885570 [ 51276 ] {7768fe55-3b90-4fa4-9ec9-7c71445f378d} executeQuery: Code: 48. DB::Exception: Truncate is not supported by storage View. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55190) (comment: 00623_truncate_table_throw_exception.sh) (in query: TRUNCATE TABLE test_truncate.test_view;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.h:430: DB::IStorage::truncate(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, DB::TableExclusiveLockHolder&) @ 0x28d2b70c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropQuery.cpp:221: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2abf0ad7 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2abeef14 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2abee78e in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:38:38.887232 [ 51276 ] {7768fe55-3b90-4fa4-9ec9-7c71445f378d} TCPHandler: Code: 48. DB::Exception: Truncate is not supported by storage View. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.h:430: DB::IStorage::truncate(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, DB::TableExclusiveLockHolder&) @ 0x28d2b70c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropQuery.cpp:221: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2abf0ad7 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2abeef14 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2abee78e in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b351757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b34d424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c7a93ad in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c7bba05 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 19. ? @ 0x7f2098f50609 in ? 20. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:39:20.242090 [ 18229 ] {} DynamicQueryHandler: Code: 372. DB::Exception: Session not found. (SESSION_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [19]) @ 0x1973e73e in /usr/bin/clickhouse 6. /build/src/Interpreters/Session.cpp:110: DB::NamedSessionsStorage::acquireSession(std::shared_ptr const&, StrongTypedef, DB::UUIDTag> const&, String const&, std::chrono::duration>, bool) @ 0x2b096ab2 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:431: DB::Session::makeSessionContext(String const&, std::chrono::duration>, bool) @ 0x2b093ef5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:559: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7256db in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 16. ? @ 0x7f2098f50609 in ? 17. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:39:20.363420 [ 18229 ] {} DynamicQueryHandler: Code: 374. DB::Exception: Invalid session timeout: 'string'. (INVALID_SESSION_TIMEOUT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Server/HTTPHandler.cpp:267: DB::parseSessionTimeout(Poco::Util::AbstractConfiguration const&, DB::HTMLForm const&) @ 0x2c7285e1 in /usr/bin/clickhouse 7. /build/src/Server/HTTPHandler.cpp:557: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7255ca in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 15. ? @ 0x7f2098f50609 in ? 16. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:39:20.449924 [ 18229 ] {} DynamicQueryHandler: Code: 374. DB::Exception: Session timeout '3601' is larger than max_session_timeout: 3600. Maximum session timeout could be modified in configuration file. (INVALID_SESSION_TIMEOUT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, unsigned int&) @ 0x2c7368ec in /usr/bin/clickhouse 6. /build/src/Server/HTTPHandler.cpp:270: DB::parseSessionTimeout(Poco::Util::AbstractConfiguration const&, DB::HTMLForm const&) @ 0x2c728724 in /usr/bin/clickhouse 7. /build/src/Server/HTTPHandler.cpp:557: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7255ca in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 15. ? @ 0x7f2098f50609 in ? 16. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:39:20.465085 [ 18229 ] {} DynamicQueryHandler: Code: 374. DB::Exception: Invalid session timeout: '-1'. (INVALID_SESSION_TIMEOUT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19df1193 in /usr/bin/clickhouse 6. /build/src/Server/HTTPHandler.cpp:267: DB::parseSessionTimeout(Poco::Util::AbstractConfiguration const&, DB::HTMLForm const&) @ 0x2c7285e1 in /usr/bin/clickhouse 7. /build/src/Server/HTTPHandler.cpp:557: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7255ca in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 15. ? @ 0x7f2098f50609 in ? 16. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:39:21.966778 [ 18229 ] {} DynamicQueryHandler: Code: 372. DB::Exception: Session not found. (SESSION_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [19]) @ 0x1973e73e in /usr/bin/clickhouse 6. /build/src/Interpreters/Session.cpp:110: DB::NamedSessionsStorage::acquireSession(std::shared_ptr const&, StrongTypedef, DB::UUIDTag> const&, String const&, std::chrono::duration>, bool) @ 0x2b096ab2 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:431: DB::Session::makeSessionContext(String const&, std::chrono::duration>, bool) @ 0x2b093ef5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:559: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7256db in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 16. ? @ 0x7f2098f50609 in ? 17. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:39:23.401157 [ 18229 ] {} Access(user directories): from: ::1, user: test_00463: Authentication failed: Code: 192. DB::Exception: There is no user `test_00463` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a569b2c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x2921f479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2922209d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x29221e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292873a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x29221d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ec78c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 22. ? @ 0x7f2098f50609 in ? 23. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:39:23.403547 [ 18229 ] {} DynamicQueryHandler: Code: 516. DB::Exception: test_00463: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x19739fe9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x290ecbd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b0912e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c724707 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c72548b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 17. ? @ 0x7f2098f50609 in ? 18. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:39:23.429387 [ 18229 ] {d33871b8-89c3-43b8-adb0-c583676d7889} executeQuery: Code: 60. DB::Exception: Table test_k8g1jv1s.t doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58496) (comment: 00463_long_sessions_in_http_interface.sh) (in query: SELECT * FROM t), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:39:23.432102 [ 18229 ] {d33871b8-89c3-43b8-adb0-c583676d7889} DynamicQueryHandler: Code: 60. DB::Exception: Table test_k8g1jv1s.t doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x196b80b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x29f7ce56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x29f80f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2aecc896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ad8d796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ad8cd26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2ae805a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2ae7dde9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae7d265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2ad3ed74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2ad3ca08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b350e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 26. ? @ 0x7f2098f50609 in ? 27. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:39:26.528273 [ 18229 ] {} DynamicQueryHandler: Code: 372. DB::Exception: Session not found. (SESSION_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [19]) @ 0x1973e73e in /usr/bin/clickhouse 6. /build/src/Interpreters/Session.cpp:110: DB::NamedSessionsStorage::acquireSession(std::shared_ptr const&, StrongTypedef, DB::UUIDTag> const&, String const&, std::chrono::duration>, bool) @ 0x2b096ab2 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:431: DB::Session::makeSessionContext(String const&, std::chrono::duration>, bool) @ 0x2b093ef5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:559: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7256db in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 16. ? @ 0x7f2098f50609 in ? 17. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:39:33.749556 [ 51276 ] {} DynamicQueryHandler: Code: 373. DB::Exception: Session is locked by a concurrent client. (SESSION_IS_LOCKED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19ee1dfe in /usr/bin/clickhouse 6. /build/src/Interpreters/Session.cpp:132: DB::NamedSessionsStorage::acquireSession(std::shared_ptr const&, StrongTypedef, DB::UUIDTag> const&, String const&, std::chrono::duration>, bool) @ 0x2b097874 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:431: DB::Session::makeSessionContext(String const&, std::chrono::duration>, bool) @ 0x2b093ef5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:559: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7256db in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 16. ? @ 0x7f2098f50609 in ? 17. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.27 22:39:35.111219 [ 18229 ] {test_k8g1jv1s_9} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41824) (comment: 00463_long_sessions_in_http_interface.sh) (in query: SELECT count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2af4357b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? 2024.03.27 22:39:35.115110 [ 18229 ] {test_k8g1jv1s_9} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x196c4ec2 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x196c4e8d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31de9f60 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x2215df4e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x196b818a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19de3f5e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2af4357b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8300c0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c83079c in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c830038 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c82d7e2 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b356eb1 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c728036 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c72ab77 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c7ca4fc in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31c260d9 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31c2691c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31e79074 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31e75e1a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31e74b1e in /usr/bin/clickhouse 20. ? @ 0x7f2098f50609 in ? 21. __clone @ 0x7f2098e75353 in ? (version 23.3.19.34.altinitystable (altinity build))